Question

C4110: Exception: snmp_mode instance has no attribute


Userlevel 1
Hello,

I am able tu poll SNMP via Enterasys NMS, no problem at all. But I want to use some other software aswell.The problem: it doesn ́t work. I tried every setting, also with public/private and SNMPv2. No other client I used was able to connect at all. Everytime those complain about wrong settings.

e.g. Paessler SNMP Tester 5.2.1 with public
19.01.2016 12:58:21 (6 ms) : Device: 10.2.3.101
19.01.2016 12:58:21 (8 ms) : SNMP V2c
19.01.2016 12:58:21 (11 ms) : Uptime
19.01.2016 12:58:23 (2018 ms) : SNMP Datatype: ASN_PRIMITIVE
19.01.2016 12:58:23 (2024 ms) : -------
19.01.2016 12:58:23 (2029 ms) : DISMAN-EVENT-MIB::sysUpTimeInstance = No response (check: firewalls, routing, snmp settings of device, IPs, SNMP version, community, passwords etc) (SNMP error # -2003) ( 0 seconds )
19.01.2016 12:58:25 (4049 ms) : SNMP Datatype: ASN_PRIMITIVE
19.01.2016 12:58:25 (4055 ms) : HOST-RESOURCES-MIB::hrSystemUptime.0 = No response (check: firewalls, routing, snmp settings of device, IPs, SNMP version, community, passwords etc) (SNMP error # -2003) ( 0 seconds )
19.01.2016 12:58:25 (4061 ms) : Done

Now it did a show log login.log:

show log login.log which gives:

snmp_mode instance has no attribute 'is_admin'
Exception: snmp_mode instance has no attribute 'is_admin'. (file=/usr/lib/python2.4/site-packages/chantrysh/show.py:131 function=execute)
Exception: snmp_mode instance has no attribute 'is_admin'. (file=/usr/lib/python2.4/site-packages/chantrysh/abstract_command.py:122 function=execute)
Exception: snmp_mode instance has no attribute 'is_admin'. (file=/usr/lib/python2.4/site-packages/chantrysh/snmp_mode.py:31 function=execute_subcommand)
Exception: snmp_mode instance has no attribute 'is_admin'. (file=/usr/lib/python2.4/site-packages/chantrysh/abstract_command.py:85 function=execute_subcommand)
Exception: snmp_mode instance has no attribute 'is_admin'. (file=/usr/lib/python2.4/site-packages/chantrysh/log.py:325 function=execute)

software release is: 09.21.05.0007 |

- Does anyone know what might be go wrong?
- Is it possible to get root partition => / and look for some log files on the linux filesystem? e.g. some snmpd daeomon log?

1 reply

Userlevel 7
Those specific values on the controller return back nothing. That's probably why it was failing.

19.01.2016 12:58:23 (2029 ms) : DISMAN-EVENT-MIB::sysUpTimeInstance
19.01.2016 12:58:25 (4055 ms) : HOST-RESOURCES-MIB::hrSystemUptime

---------------------------------------------------

Not Supported:

hrSystemUptime OBJECT-TYPE
SYNTAX Time Ticks
MAX-ACCESS Read Only
STATUS Current
DESCRIPTION
    The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system.
::= { hrSystem 1 }

The string sysUpTimeInstance was not found

Reply