Hi,
I'm actually using UserParameter on one of my monitored agent.
I've describe it like : UserParameter=portCheck,/opt/zabbix/scripts/portCheck.pl
Problem I want to execute my script with some attribut (the socket), formated like that :
/opt/zabbix/scripts/portCheck.pl @IP PORT
What should be the key of my item to do that ?
I know I can do it by system.run but I would like to use UserParameters.
I'm actually using UserParameter on one of my monitored agent.
I've describe it like : UserParameter=portCheck,/opt/zabbix/scripts/portCheck.pl
Problem I want to execute my script with some attribut (the socket), formated like that :
/opt/zabbix/scripts/portCheck.pl @IP PORT
What should be the key of my item to do that ?
I know I can do it by system.run but I would like to use UserParameters.
Comment