What is the platform that you are using? In particular, 32/64 bit and
netsnmp version? What is your version of windows?
$ python -c 'import pynetsnmp.pysnmp; print pynetsnmp.pysnmp.version'
For me, 32-bit Ubuntu 7.10, NetSNMP 5.3.1, against Win2003, it works.
Oh, please make sure that zSnmpVer is set to 1 (and not empty).
-Eric
mwatson wrote:
> I have 2 Windows machines reporting errors through zenperfsnmp
>
> I actually have 3 setup in Zenoss but only 2 are showing this error, the only
> commonality with these 2 machines is that they are located in the same data
> center, which is different from the 3rd that isn;t having an issue.
>
> The one not having an issue is actually on the local LAN with my zenoss box,
> and the other 2 are across WAN links. I can't imagine that would be the
> issue but thought I;d mention it...
>
> Anyways, running
>
> "zenperfsnmp run -d LAWRENCE -v1" shows the following:
>
> About 10 lines from the bottom is the error with a not-so-useful traceback
>
> DEBUG:zen.zenperfsnmp:received config for LAWRENCE
> DEBUG:zen.thresholds:Updating threshold ('CPU Utilization over 90',
> ('LAWRENCE', ''))
> DEBUG:zen.thresholds:Updating threshold ('Utilization 75 perc', ('LAWRENCE',
> 'Intel(R) PRO/1000 MT Network Connection'))
> DEBUG:zen.thresholds:Updating threshold ('Utilization 75 perc', ('LAWRENCE',
> 'MS TCP Loopback interface'))
> DEBUG:zen.thresholds:Updating threshold ('Free Space 90 Percent',
> ('LAWRENCE', 'C:\\ Label: Serial Number 1c41a0bc'))
> DEBUG:zen.thresholds:Updating threshold ('Free Space 90 Percent',
> ('LAWRENCE', 'E:\\ Label:My Book Serial Number a85841ac'))
> DEBUG:zen.thresholds:Updating threshold ('Free Space 90 Percent',
> ('LAWRENCE', 'D:\\ Label:Data Serial Number 427e74ac'))
> DEBUG:zen.zenperfsnmp:run
> DEBUG:zen.zenperfsnmp:Connecting to localhost
> DEBUG:zen.zenperfsnmp:Logging in as admin
> WARNING:zen.zenperfsnmp:Reconnected to ZenHub
> DEBUG:zen.zenperfsnmp:setting up services EventService, SnmpPerfConfig
> DEBUG:zen.zenperfsnmp:chaining getInitialServices with d2
> DEBUG:zen.zenperfsnmp:callback after getting service EventService
> DEBUG:zen.zenperfsnmp:callback after getting service SnmpPerfConfig
> DEBUG:zen.zenperfsnmp:Calling connected.
> DEBUG:zen.zenperfsnmp:connected
> DEBUG:zen.zenperfsnmp:Sending event {'severity': 0, 'component':
> 'zenperfsnmp', 'agent': 'zenperfsnmp', 'summary': 'started', 'device':
> 'wind.becon.int', 'eventClass': '/App/Start'}
> INFO:zen.zenperfsnmp:fetching property items
> DEBUG:zen.zenperfsnmp:Updated configCycleInterval config to 360
> INFO:zen.zenperfsnmp:getting threshold classes
> DEBUG:zen.zenperfsnmp:Loading classes ['Products.ZenModel.MinMaxThreshold']
> INFO:zen.zenperfsnmp:checking for outdated configs
> INFO:zen.zenperfsnmp:fetching configs for ['LAWRENCE']...
> INFO:zen.zenperfsnmp:fetching default RRDCreateCommand
> INFO:zen.zenperfsnmp:fetching snmp status
> INFO:zen.zenperfsnmp:Initiating incremental device load
> DEBUG:zen.zenperfsnmp:Fetching configs for 1 devices
> DEBUG:zen.zenperfsnmp:Fetching config for ['LAWRENCE']
> DEBUG:zen.zenperfsnmp:getting device ping issues
> DEBUG:zen.zenperfsnmp:received config for LAWRENCE
> DEBUG:zen.thresholds:Updating threshold ('CPU Utilization over 90',
> ('LAWRENCE', ''))
> DEBUG:zen.thresholds:Updating threshold ('Utilization 75 perc', ('LAWRENCE',
> 'Intel(R) PRO/1000 MT Network Connection'))
> DEBUG:zen.thresholds:Updating threshold ('Free Space 90 Percent',
> ('LAWRENCE', 'C:\\ Label: Serial Number 1c41a0bc'))
> DEBUG:zen.thresholds:Updating threshold ('Free Space 90 Percent',
> ('LAWRENCE', 'E:\\ Label:My Book Serial Number a85841ac'))
> DEBUG:zen.thresholds:Updating threshold ('Free Space 90 Percent',
> ('LAWRENCE', 'D:\\ Label:Data Serial Number 427e74ac'))
> DEBUG:zen.zenperfsnmp:Finished fetching configs for 1 devices
> DEBUG:zen.zenperfsnmp:Gathering performance data for LAWRENCE
> INFO:zen.zenperfsnmp:Configured 1 of 1 devices
> DEBUG:zen.zenperfsnmp:unresponsive devices: []
> INFO:zen.zenperfsnmp:Count 1 good 0 bad 0 time 0.000089
> DEBUG:zen.zenperfsnmp:Failed to collect on LAWRENCE
> (twisted.python.failure.Failure: [Failure instance: Traceback (failure with
> no frames): exceptions.ValueError: invalid literal for int():
> ])
> INFO:zen.zenperfsnmp:sent 0 OID requests
> INFO:zen.zenperfsnmp:collected 0 of 1 devices in 0.01
> DEBUG:zen.zenperfsnmp:Sending event {'severity': 3, 'component':
> 'zenperfsnmp', 'agent': 'zenperfsnmp', 'summary': 'stopped', 'device':
> 'wind.becon.int', 'eventClass': '/App/Stop'}
> INFO:zen.zenperfsnmp:Count 1 good 0 bad 1 time 0.005380
> DEBUG:zen.zenperfsnmp:Sending event {'eventGroup': 'SnmpTest', 'severity': 4,
> 'device': 'LAWRENCE', 'eventClass': '/Status/Snmp', 'component': 'snmp',
> 'agent': 'zenperfsnmp', 'summary': 'snmp agent down on device LAWRENCE'}
> WARNING:zen.zenperfsnmp:snmp agent down on device LAWRENCE
> DEBUG:zen.zenperfsnmp:removing service EventService
> DEBUG:zen.zenperfsnmp:removing service SnmpPerfConfig
> INFO:zen.zenperfsnmp:zenperfsnmp shutting down
>
> ------------------------
> Matt Watson
>
>
>
>
> -------------------- m2f --------------------
>
> Read this topic online here:
> http://community.zenoss.com/forums/viewtopic.php?p=10955#10955
>
> -------------------- m2f --------------------
>
>
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users