Hi, I'm monitoring a cluster of servers and have a several Zabbix items that run scripts via the agent to gather cluster metrics.
I'd like to these scripts to run on only one cluster member, since running it on more than one would be redundant and the scripts are somewhat expensive to run (in CPU terms) and create noise in the cluster logs.
Is it possible to have an item populate from a single member of a group or have some items automatically disable themselves based on other items? Or maybe there's some other way to accomplish this? I suppose I could have the script abort if it's run on a any server other than a particular member (the highest numbered, or some such criteria), but that seems a bit hackey.
Thanks for any suggestions!
I'd like to these scripts to run on only one cluster member, since running it on more than one would be redundant and the scripts are somewhat expensive to run (in CPU terms) and create noise in the cluster logs.
Is it possible to have an item populate from a single member of a group or have some items automatically disable themselves based on other items? Or maybe there's some other way to accomplish this? I suppose I could have the script abort if it's run on a any server other than a particular member (the highest numbered, or some such criteria), but that seems a bit hackey.
Thanks for any suggestions!