Discussion:
ERROR zen.zenperfsnmp: invalid literal for int() with base 10: 'enterprises'
David Franken
2013-01-09 12:29:07 UTC
Permalink
David Franken [http://community.zenoss.org/people/DavidF] created the discussion

"ERROR zen.zenperfsnmp: invalid literal for int() with base 10: 'enterprises'"

To view the discussion, visit: http://community.zenoss.org/message/70885#70885

--------------------------------------------------------------
Hi,

I'm experiencing a strange problem.

It is as follows:

We have got Zenoss running version 3.1.0.

We are monitoring 2 different switches family's: Cisco 3750X-series and Cisco 3750v2-series.
Within each family we monitor:
* Temperature
* CPU
* MemoryFree every 5 minutes
* Uptime

We use the zenpack's:
| ZenPacks.Nova.Cisco.Mibs (http://10.11.1.19:8080/zport/dmd/ZenPackManager/packs/ZenPacks.Nova.Cisco.Mibs) | Nova | Ryan Matte | 1.1 |
| ZenPacks.community.CiscoEnvMon (http://10.11.1.19:8080/zport/dmd/ZenPackManager/packs/ZenPacks.community.CiscoEnvMon) | community | Egor Puzanov | 1.0 |


Now is the monitoring of the 3750v2 switches no problem; all the graphs are showing fine.
But the 3750X switches show every graph, but not the memoryfree graph. Also the graph show nan values' (not a number)
The strange thing is that not all of them are not showing the memoryfree graph; one 3750x switch is showing everything fine, but the rest of them are not.
Also all of my switches are running the same version IOS.

Now when i check the perfsnmp daemon log it shows the following:

2013-01-09 12:43:29,601 INFO zen.zenperfsnmp: success:112 fail:0 pending:20 todo:92
2013-01-09 12:43:29,629 ERROR zen.zenperfsnmp: invalid literal for int() with base 10: 'enterprises'
Traceback (most recent call last):
  File "/Data/Zenoss/zenoss/Products/ZenRRD/zenperfsnmp.py", line 136, in checkException
    return function(*args, **kw)
  File "/Data/Zenoss/python/lib/python2.6/site-packages/pynetsnmp/twistedsnmp.py", line 241, in get
    oids = [asOid(oidStr) for oidStr in oidStrs]
  File "/Data/Zenoss/python/lib/python2.6/site-packages/pynetsnmp/twistedsnmp.py", line 103, in asOid
    return tuple([int(x) for x in oidStr.strip('.').split('.')])
ValueError: invalid literal for int() with base 10: 'enterprises'
2013-01-09 12:43:29,629 ERROR zen.zenperfsnmp: invalid literal for int() with base 10: 'enterprises'
Traceback (most recent call last):
  File "/Data/Zenoss/zenoss/Products/ZenRRD/zenperfsnmp.py", line 136, in checkException
    return function(*args, **kw)
  File "/Data/Zenoss/python/lib/python2.6/site-packages/pynetsnmp/twistedsnmp.py", line 241, in get
    oids = [asOid(oidStr) for oidStr in oidStrs]
  File "/Data/Zenoss/python/lib/python2.6/site-packages/pynetsnmp/twistedsnmp.py", line 103, in asOid
    return tuple([int(x) for x in oidStr.strip('.').split('.')])
ValueError: invalid literal for int() with base 10: 'enterprises'
2013-01-09 12:43:29,630 WARNING zen.zenperfsnmp: Failed to collect on 10.16.3.27 (<type 'exceptions.ValueError'>: invalid literal for int() with base 10: 'enterprises')
2013-01-09 12:43:29,630 WARNING zen.zenperfsnmp: Failed to collect on 10.16.3.27 (<type 'exceptions.ValueError'>: invalid literal for int() with base 10: 'enterprises')
2013-01-09 12:43:29,758 INFO zen.zenperfsnmp: success:113 fail:0 pending:20 todo:91
2013-01-09 12:43:29,871 INFO zen.zenperfsnmp: success:114 fail:0 pending:20 todo:90
2013-01-09 12:43:29,942 INFO zen.zenperfsnmp: success:115 fail:0 pending:20 todo:89
2013-01-09 12:43:29,954 INFO zen.zenperfsnmp: success:116 fail:0 pending:20 todo:88



What i tried is the following:
* SNMP walk with the right OID; it shows a number
* Deleted the device and readded it several times
* under zendmd; reindex() and commit()
* restarted the server
* remodel the device several times
* restarted every daemon

Nothing seems the help.

I also searched every link in Google for an solution, but nothing helped.

Hope that this question on the community helps.

Regards,
David
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70885#70885]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...