[ClusterLabs] Antw: Struggling to get "crm_mon -E ... " to do anything

Riley riley at on.net.nz
Mon May 11 06:05:01 EDT 2015

           well I guess 'man crm_mon' does not tell you very much, but
the ClusterMon resource uses crm_mon, and chapter 7 of the Pacemaker
documents the CRM_notify_* environment variables.

(No arguments/parameters are passed to the program that is called via
it's command line, everything is through the environment variables)
> ...
>> I have set up a virtual test environment of three nodes running CentOS
>> 6.6 and am having trouble getting a "crm_mon -E " script called *at all*
>> when anything changes in the cluster (resource killed, node killed,
>> resource moved, etc.).
> Never heard of that option, but when considering the documentation, I'm not much surprised if it doesn't work as one might expect:
>        -E, --external-agent=value
>               A program to run when resource operations take place.
> This leaves a LOT of room for expectations. ;-)
> What should be a typical use case? Will the program have any parameters?

More information about the Users mailing list