# How wsrep\_notify\_cmd works ?

**URL:** <https://forums.percona.com/t/how-wsrep-notify-cmd-works/2439>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [June 12, 2012, 8:18am UTC](https://forums.percona.com/t/how-wsrep-notify-cmd-works/2439 "2012-06-12T08:18:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![djill](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/djill/32/868_2.png) [@djill](https://forums.percona.com/u/djill)\
**Post date:** [June 12, 2012, 8:18am UTC](https://forums.percona.com/t/how-wsrep-notify-cmd-works/2439/1 "2012-06-12T08:18:00Z")

</div>

Hi !

I’m trying to define the wsrep\_notify\_cmd parameter in my.cnf for being notified on XtraDB Cluster nodes events, but I don’t understand how to configure this.  
I’ve read the article on the Galera wiki and check the example script, nothing of that explain how to define it clearly into the my.cnf config file.

I assume that if I can see this warning:

[Note] WSREP: wsrep\_notify\_cmd is not defined, skipping notification.

Is that we can define a parameter in the my.cnf. Anyway, someone uses it ? How to configure that ?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ayurchen](https://avatars.discourse-cdn.com/v4/letter/a/35a633/32.png) [@ayurchen](https://forums.percona.com/u/ayurchen)\
**Post date:** [June 13, 2012, 11:08am UTC](https://forums.percona.com/t/how-wsrep-notify-cmd-works/2439/2 "2012-06-13T11:08:36Z")

</div>

wsrep\_notify\_cmd=

it is either a full path to script or the script should be placed together with the other mysql scripts.
