Hi All,
Have Zabbix server 1.1.2 running on Linux to monitor mixed Windows/Solaris/Linux network.
Actually had no problems with windows agent until decided to implement some custom checks. Tried both system.run and UserParameter - none of them work properly (though had no problem with unix agents).
Actually what I'd like to do is to have possibility to run batch file on windows host (either through system.run or UserParameter) and send its output to zabbix server.
Just for testing purposes created batch file with '@echo OK' in it. Batch file is in the same directory where zabbix agent is.
zabbix_agentd.conf file on windows (windows2000):
Server=...
Hostname=Test
EnableRemoteCommands=1
LogFile=c:\zabbix\zabbix_agentd.log
UserParameter=test.test,q.bat
config-check reports OK.
I can poll any standard items both locally and from zabbix server.
When trying to test test.test user parameter locally it returns 'OK' as it should but when testing from zabbix server - result is empty string.
I can't call system.run[q.bat] neither locally nor from the server (getting ZBX_NOTSUPPORTED)
Any clues/ideas/workarounds?
Have Zabbix server 1.1.2 running on Linux to monitor mixed Windows/Solaris/Linux network.
Actually had no problems with windows agent until decided to implement some custom checks. Tried both system.run and UserParameter - none of them work properly (though had no problem with unix agents).
Actually what I'd like to do is to have possibility to run batch file on windows host (either through system.run or UserParameter) and send its output to zabbix server.
Just for testing purposes created batch file with '@echo OK' in it. Batch file is in the same directory where zabbix agent is.
zabbix_agentd.conf file on windows (windows2000):
Server=...
Hostname=Test
EnableRemoteCommands=1
LogFile=c:\zabbix\zabbix_agentd.log
UserParameter=test.test,q.bat
config-check reports OK.
I can poll any standard items both locally and from zabbix server.
When trying to test test.test user parameter locally it returns 'OK' as it should but when testing from zabbix server - result is empty string.
I can't call system.run[q.bat] neither locally nor from the server (getting ZBX_NOTSUPPORTED)
Any clues/ideas/workarounds?
Comment