I'm currently using Zabbix 1.1alpha10 to monitor the builtin parameters and performance counter parameters on Window Server 2003 hosts. This part is working great.
I've been trying to take it to the next level and implement UserParameters. I've been having issues just getting a base config implemented.
I created a vbs script that echos a numeric value. The script executes sucessfully on the box.
Since I was having issues I tried a simple batch file (which poster KMH27 used sucessfully)
@Echo 18
Exit
My zabbix_agentd.conf looks like
-begin-
Server=192.168.1.2
Hostname=host
StartAgents=5
DebugLevel=4
Timeout=3
UserParameter=free[test],c:\bridge./bat
PerfCounter=MemCommitLimit,"\Memory\Commit Limit",60
PerfCounter=MemCommitBytes,"\Memory\Committed Bytes",60
PerfCounter=MemPagesIn,"\Memory\Pages Input/sec",60
PerfCounter=MemPagesOut,"\Memory\Pages Output/sec",60
PerfCounter=MemPagesSec,"\Memory\Pages/sec",60
PerfCounter=AvgDiskQLength,"\PhysicalDisk(_Total)\ Avg. Disk Queue Length",60
PerfCounter=DiskTime,"\PhysicalDisk(_Total)\% Disk Time",60
PerfCounter=FilesOpen,"\Server\Files Open",60
PerfCounter=ServerSessions,"\Server\Server Sessions",60
-end-
I restart the Zabbix Win32 Agent service on the server with no errors showing up in the system log.
I then added an item with key free[test] to one of my hosts in Zabbix. My
zabbix_server.log reports:
026999:20050714:092415 Parameter [free[test]] is not supported by agent on host [SUS-PD01]
It seems no matter what I use for a Userparameter I recieve an error on the server and the host item Status is automatically changed to "Not supported".
Can anybody point me in the right direction?
Thanks,
Matt
I've been trying to take it to the next level and implement UserParameters. I've been having issues just getting a base config implemented.
I created a vbs script that echos a numeric value. The script executes sucessfully on the box.
Since I was having issues I tried a simple batch file (which poster KMH27 used sucessfully)
@Echo 18
Exit
My zabbix_agentd.conf looks like
-begin-
Server=192.168.1.2
Hostname=host
StartAgents=5
DebugLevel=4
Timeout=3
UserParameter=free[test],c:\bridge./bat
PerfCounter=MemCommitLimit,"\Memory\Commit Limit",60
PerfCounter=MemCommitBytes,"\Memory\Committed Bytes",60
PerfCounter=MemPagesIn,"\Memory\Pages Input/sec",60
PerfCounter=MemPagesOut,"\Memory\Pages Output/sec",60
PerfCounter=MemPagesSec,"\Memory\Pages/sec",60
PerfCounter=AvgDiskQLength,"\PhysicalDisk(_Total)\ Avg. Disk Queue Length",60
PerfCounter=DiskTime,"\PhysicalDisk(_Total)\% Disk Time",60
PerfCounter=FilesOpen,"\Server\Files Open",60
PerfCounter=ServerSessions,"\Server\Server Sessions",60
-end-
I restart the Zabbix Win32 Agent service on the server with no errors showing up in the system log.
I then added an item with key free[test] to one of my hosts in Zabbix. My
zabbix_server.log reports:
026999:20050714:092415 Parameter [free[test]] is not supported by agent on host [SUS-PD01]
It seems no matter what I use for a Userparameter I recieve an error on the server and the host item Status is automatically changed to "Not supported".
Can anybody point me in the right direction?
Thanks,
Matt
Comment