Hello!
I added a function to zabbix_agentd.conf file:
UserParameter=chksrvc[sender],chksrvc.sh sender
it checks my 'sender' service. for 'broker' service i need to add another string, i.e.
UserParameter=chksrvc[broker],chksrvc.sh broker
but it seems tedious to add lines for each service!
It seems to be great, if users can transfer function arguments to their own functions for this scheme:
User adding an item like : chksrvc[<argument>], and in zabbix_agentd.conf file writes:
UserParameter=chksrvc[<argument>],chksrvc.sh <argument>
or something.
I added a function to zabbix_agentd.conf file:
UserParameter=chksrvc[sender],chksrvc.sh sender
it checks my 'sender' service. for 'broker' service i need to add another string, i.e.
UserParameter=chksrvc[broker],chksrvc.sh broker
but it seems tedious to add lines for each service!
It seems to be great, if users can transfer function arguments to their own functions for this scheme:
User adding an item like : chksrvc[<argument>], and in zabbix_agentd.conf file writes:
UserParameter=chksrvc[<argument>],chksrvc.sh <argument>
or something.
But this option wasn't described in docs yet...
Comment