Zenoss folks,

I am coming across a problem that is becoming annoying.

With some help from Eric a few weeks ago, i came across a "Ah-Ha!" moment that was causing my non-snmp version 1 OIDs from being polled. He showed me that the setting for where the SNMP version is located is in zProperties tab of every device under zSnmpVer. The default setting looks to be "v1". My company uses version 2c, so i had to change this field to "v2c".

Now my problem is, where is the default setting for this?

Every time i go to add a device, it sets it to v1. Whats worse, is that now that Eric showed me how to spin up a second zenperfsnmp daemon to poll key devices at a much quicker Snmp Cycle time, every time i go to move any device from one "monitor" to another, it resets the SnmpVer back to v1. Very frustrating.

I would like to be able to find the default setting for this somewhere and change it to "v2c' and never look back.

From what i could find after some digging, i thought it might of been line 151 in /usr/local/zenoss/Products/ZenRRD/zenprocess.py that looks like the following:
   146 class Device:
   147     'track device data'
   148     name = ''
   149     address = ('', 0)
   150     community = 'public'
*    151     version = '1'*
   152     port = 161
   153     proxy = None
   154     timeout = 2.5
   155     tries = 2
   156     protocol = None
   157     lastScan = 0.
   158     snmpStatus = 0

But, i changed that to 2c, then stopped/started all of Zenoss and tried to move a device to the second monitor i created and also tried to add a new device and each time it reset/set the SnmpVer to v1.

I couldn't find anything in /usr/local/zenoss/Products/ZenRRD/zenperfsnmp.py that hardcodes a version.

Any ideas folks?

-Daniel

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to