Hey,
I've a python script that I've wrote and would like Zabbix item to use it as a test.
The script return result that I would like to use for the trigger.
The script SSH a sever and return a number, very simple.
However the script need host, username and password for the SSH
and I would like to pass it with arguments from the zabbix host so that the script will be a template and not static.
So,
1. Is there an option to run external script test ? (I know that in Nagios it's possible as we already do it)
2. How do I pass arguments to my Python script from Zabbix ?
3. How do I return arguments from my script to Zabbix ?
Thanks
I've a python script that I've wrote and would like Zabbix item to use it as a test.
The script return result that I would like to use for the trigger.
The script SSH a sever and return a number, very simple.
However the script need host, username and password for the SSH
and I would like to pass it with arguments from the zabbix host so that the script will be a template and not static.
So,
1. Is there an option to run external script test ? (I know that in Nagios it's possible as we already do it)
2. How do I pass arguments to my Python script from Zabbix ?
3. How do I return arguments from my script to Zabbix ?
Thanks
Comment