I've made a simpel script which checks for certain event log codes on my windows 2003 server. If the event is found in de evenlog the vbs script reply's back with "1" or "0".
here an example of de agentd log on the monitored windows 2003 server when the zabbix server checks the item.
this looks good, because it replies back with "1"
but the strange thing is that 90% of the replies are not found in the zabbix frontend. The latest item data gives me sometime no data for the last hours. This is weird because the script runs every 5mins and answers (info @ zabbix_agentd.log).
The zabbix_agentd.conf has been modified to use the script.
Again, sometimes we get data visable in the frontend!
I'm using zabbix 1.6.4 server
agent zabbix 1.6.3, 1.6.4 and 1.6.6 tested
here an example of de agentd log on the monitored windows 2003 server when the zabbix server checks the item.
Code:
4192:20091023:152550 Requested ["exchange2003event.vbs","9690"] 4192:20091023:152555 Run remote command [cmd /C "cscript //Nologo C:\Zabbix\_scripts\exchange2003event.vbs 9690"] Result [1] [1]... 4192:20091023:152555 Sending back [1]
this looks good, because it replies back with "1"
but the strange thing is that 90% of the replies are not found in the zabbix frontend. The latest item data gives me sometime no data for the last hours. This is weird because the script runs every 5mins and answers (info @ zabbix_agentd.log).
The zabbix_agentd.conf has been modified to use the script.
Again, sometimes we get data visable in the frontend!
I'm using zabbix 1.6.4 server
agent zabbix 1.6.3, 1.6.4 and 1.6.6 tested