Discussion:
Nice oid to datasource loader script
Mage Mojo
2011-11-27 05:56:23 UTC
Permalink
Mage Mojo [http://community.zenoss.org/people/cheezus] created the discussion

"Re: Nice oid to datasource loader script"

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

--------------------------------------------------------------
Created a template MMCisco under Devices -> Network -> MMCisco

Uploaded the mib CISCO-STACK-MIB.mib along with bulkLoadSnmpCounters.py to the same folder.

Tried running both:
python bulkLoadSnmpCounters.py /Devices/Network,MMCisco CISCO-STACK-MIB.mib
python bulkLoadSnmpCounters.py /Network,MMCisco CISCO-STACK-MIB.mib

But keep getting the error:
Traceback (most recent call last):
  File "bulkLoadSnmpCounters.py", line 50, in <module>
    (id, oid, type) = dp.split(" ")
ValueError: need more than 2 values to unpack

I thought this script would allow me to create a template and then load a mib into the data sources of my template.  Did I misunderstand something?  Is there a problem loading the Cisco MIB's?
--------------------------------------------------------------

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

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...