Hey,
I need to monitor remote systems using custom scripts. However, due to security concerns with being able to run remote scripts from Zabbix server, I would prefer that these scripts are run on the client and then send data to Zabbix server via the zabbix_sender / trapper service.
Doing this for one key/value pair seems feasible. However, to do it for multiple pairs, it seems that I would need to spawn a new zabbix_sender process (and therefore connection) for each pair -- which seems excessive. Is there a way to send multiple?
I found this post: http://www.zabbix.com/forum/showpost...69&postcount=2 -- but my remote hosts don't necessarily have php, and I need something cross-platform and consistent using the built-in binaries.
ALSO, I was wondering how I could create a trigger on the Zabbix server if no data was sent over the trapper for n seconds. It seems the trapper just sends data to cause a trigger, but Zabbix server won't alert if nothing is sent (i.e. the resident agent script dies).
Essentially, let's say we have data on the agent that it is gathering:
Key1.value (int)
Key2.value (int)
Key3.value (int)
Key4.value (int)
How can I send them all to the Zabbix server, and have Zabbix server alert if it doesn't receive a value?
Thanks!
Michael
I need to monitor remote systems using custom scripts. However, due to security concerns with being able to run remote scripts from Zabbix server, I would prefer that these scripts are run on the client and then send data to Zabbix server via the zabbix_sender / trapper service.
Doing this for one key/value pair seems feasible. However, to do it for multiple pairs, it seems that I would need to spawn a new zabbix_sender process (and therefore connection) for each pair -- which seems excessive. Is there a way to send multiple?
I found this post: http://www.zabbix.com/forum/showpost...69&postcount=2 -- but my remote hosts don't necessarily have php, and I need something cross-platform and consistent using the built-in binaries.
ALSO, I was wondering how I could create a trigger on the Zabbix server if no data was sent over the trapper for n seconds. It seems the trapper just sends data to cause a trigger, but Zabbix server won't alert if nothing is sent (i.e. the resident agent script dies).
Essentially, let's say we have data on the agent that it is gathering:
Key1.value (int)
Key2.value (int)
Key3.value (int)
Key4.value (int)
How can I send them all to the Zabbix server, and have Zabbix server alert if it doesn't receive a value?
Thanks!
Michael

Comment