There is an issue with the Windows agent, perf_counter and configuration parameter PerfCounter. I reported this with 1.3.6 but it appears it is not resolved. It worked in 1.3.5.
I set up a new item
but it is being truncated to 64 characters when sent to the Windows agent.
Windows agent log.
3012:20070511:115545 In check_security()
3012:20070511:115545 Requested [perf_counter[\Network Interface(VIA Compatable Fast Ethernet Ada]
3012:20070511:115545 Sending back [ZBX_NOTSUPPORTED]
I then set up a Windows agent config parameter and an Active agent item 'NetIn'
Windows agent log
2032:20070511:121528 In process_active_checks('192.168.3.1',10051)
2032:20070511:121528 For key [NetIn] received value [ZBX_NOTSUPPORTED]
2032:20070511:121528 XML before sending [<req><host>Y3RzaG93aWNrMS50ZWNobm9sb2d5c29sdmVkLmN vLm56</host><key>TmV0SW4=</key><data>WkJYX05PVFNVUFBPUlRFRA==</data></req>]
Jon
I set up a new item
Code:
perf_counter[\Network Interface(VIA Compatable Fast Ethernet Adapter - Packet Scheduler Miniport)\Bytes Received/sec]
Windows agent log.
3012:20070511:115545 In check_security()
3012:20070511:115545 Requested [perf_counter[\Network Interface(VIA Compatable Fast Ethernet Ada]
3012:20070511:115545 Sending back [ZBX_NOTSUPPORTED]
I then set up a Windows agent config parameter and an Active agent item 'NetIn'
Code:
PerfCounter=NetIn,"\Network Interface(VIA Compatable Fast Ethernet Adapter - Packet Scheduler Miniport)\Bytes Received/sec",30
2032:20070511:121528 In process_active_checks('192.168.3.1',10051)
2032:20070511:121528 For key [NetIn] received value [ZBX_NOTSUPPORTED]
2032:20070511:121528 XML before sending [<req><host>Y3RzaG93aWNrMS50ZWNobm9sb2d5c29sdmVkLmN vLm56</host><key>TmV0SW4=</key><data>WkJYX05PVFNVUFBPUlRFRA==</data></req>]
Jon