i try to implement a userparameter on w2K3
UserParameter=psproc[*],C:\zabbix_agent_win32-1.0\external\psproc.bat
but when i create an item using it i said unsupported :
C:\zabbixagent\>ZabbixW32.exe test "psproc[iissvcs]"
Using configuration file "C:\zabbix_agentd.conf"
Configuration file OK
[13-Jul-2006 15:11:44] *************** Log file opened ****************
[13-Jul-2006 15:11:44] 6656 Debug Info: AddAlias == OK
[13-Jul-2006 15:11:44] 1876 Debug Info: CollectorThread start
[13-Jul-2006 15:11:44] 1876 Debug Info: counterPath1
[13-Jul-2006 15:11:44] 1876 Debug Info: \Processeur(_Total)\% Temps processeur
[13-Jul-2006 15:11:44] 1876 Debug Info: counterPath2
[13-Jul-2006 15:11:44] 1876 Debug Info: \Processeur(0)\% Temps processeur
[13-Jul-2006 15:11:44] 1876 Debug Info: counterPath2
[13-Jul-2006 15:11:44] 1876 Debug Info: \Processeur(1)\% Temps processeur
[13-Jul-2006 15:11:44] 1876 Debug Info: counterPath3
[13-Jul-2006 15:11:44] 1876 Debug Info: \SystÞme\Longueur de la file du processeur
[13-Jul-2006 15:11:44] Collector thread initialized successfully
psproc[iissvcs] [ZBX_NOTSUPPORTED]
what's wrong with my deffinition???
psproc.bat
@echo off
C:\zabbixagent\external\ntps -e |C:\zabbixagent\external\grep -i %1 |C:\zabbixagent\external\wc -l
ntps.exen grep.exe and wc it's function from licencied application mkstoolkit
I succed to use it alone to test if IIS services is running
C:\zabbixagent>C:\zabbixagent\external\psproc.bat iissvcs
1
UserParameter=psproc[*],C:\zabbix_agent_win32-1.0\external\psproc.bat
but when i create an item using it i said unsupported :
C:\zabbixagent\>ZabbixW32.exe test "psproc[iissvcs]"
Using configuration file "C:\zabbix_agentd.conf"
Configuration file OK
[13-Jul-2006 15:11:44] *************** Log file opened ****************
[13-Jul-2006 15:11:44] 6656 Debug Info: AddAlias == OK
[13-Jul-2006 15:11:44] 1876 Debug Info: CollectorThread start
[13-Jul-2006 15:11:44] 1876 Debug Info: counterPath1
[13-Jul-2006 15:11:44] 1876 Debug Info: \Processeur(_Total)\% Temps processeur
[13-Jul-2006 15:11:44] 1876 Debug Info: counterPath2
[13-Jul-2006 15:11:44] 1876 Debug Info: \Processeur(0)\% Temps processeur
[13-Jul-2006 15:11:44] 1876 Debug Info: counterPath2
[13-Jul-2006 15:11:44] 1876 Debug Info: \Processeur(1)\% Temps processeur
[13-Jul-2006 15:11:44] 1876 Debug Info: counterPath3
[13-Jul-2006 15:11:44] 1876 Debug Info: \SystÞme\Longueur de la file du processeur
[13-Jul-2006 15:11:44] Collector thread initialized successfully
psproc[iissvcs] [ZBX_NOTSUPPORTED]
what's wrong with my deffinition???
psproc.bat
@echo off
C:\zabbixagent\external\ntps -e |C:\zabbixagent\external\grep -i %1 |C:\zabbixagent\external\wc -l
ntps.exen grep.exe and wc it's function from licencied application mkstoolkit
I succed to use it alone to test if IIS services is running
C:\zabbixagent>C:\zabbixagent\external\psproc.bat iissvcs
1
Comment