Hi,
I try to use UserParameter in order to monitor some host.
The UserParameter will execute a shell script and return a value. I wrote this following sentence in the host's zabbix_agentd.conf :
"UserParameter=check_glsa,/etc/zabbix/externalscripts/check_glsa"
I already put the script in the good directory with the right permission.
I configure an Item on the Zabbix server like this :
Host : Template_Linux_myHost (my host is in this template)
Description : GLSA
Type : Zabbix Agent (Active)
key : check_glsa
I didn't have real error, however the value returned is bad, indeed in "latest data" the value GLSA is different that when a execute the script in my host. It's the value of my Zabbix Server..
Plz someone can help me to resolve the problem..
Regards,
I try to use UserParameter in order to monitor some host.
The UserParameter will execute a shell script and return a value. I wrote this following sentence in the host's zabbix_agentd.conf :
"UserParameter=check_glsa,/etc/zabbix/externalscripts/check_glsa"
I already put the script in the good directory with the right permission.
I configure an Item on the Zabbix server like this :
Host : Template_Linux_myHost (my host is in this template)
Description : GLSA
Type : Zabbix Agent (Active)
key : check_glsa
I didn't have real error, however the value returned is bad, indeed in "latest data" the value GLSA is different that when a execute the script in my host. It's the value of my Zabbix Server..
Plz someone can help me to resolve the problem..
Regards,
Comment