Ad Widget

Collapse

Need help with Key entry

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajan.s.ravi
    Member
    • Jul 2006
    • 40

    #1

    Need help with Key entry

    Hi,

    I need to monitor one of the Cisco units (uses UCSDAVIS SNMP space) and i can't install zabbix agents on it. Hence i am planning to use SNMP queries.

    In the items section, i am adding the OID and other stuffs.

    But what do i put in the Key ?

    As per the manual, we can put anything which makes sense, but once i do it, i goes to unsupported mode.

    Pls help.

    Regards,
    Ravi
  • RohrbaGe
    Senior Member
    • Aug 2005
    • 167

    #2
    Snmp

    Hi,

    are you sure you compiled with --with-net-snmp option?


    Attached a screen shot
    Attached Files

    Comment

    • rajan.s.ravi
      Member
      • Jul 2006
      • 40

      #3
      Yes, i have compiled with -net-snmp option.

      Following is the error i see in error log

      007743:20060727:174435 SNMP error [(noSuchName) There is no such variable name in this MIB.]
      007743:20060727:174435 Parameter [memTotalReal] is not supported by agent on host [AVSTest] Old status [0]
      007743:20060727:174435 SNMP error in packet. Reason: (noSuchName) There is no such variable name in this MIB.

      Please help.

      TIA,
      Ravi

      Comment

      • sysigs
        Junior Member
        • Aug 2005
        • 27

        #4
        like rajan is someone can answer to this problem please.
        i try to ask to a cisco system (% cpu use) like that :
        -> snmpwalk -v2c -c xxx 64.1.1.5 .1.3.6.1.4.1.9.9.109.1.1.1.1.3
        -> SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.3.1 = Gauge32: 45
        work but not in zabbix in log i had :
        -> SNMP error in packet. Reason: (noSuchName) There is no such variable name in this MIB.
        -> 031120:20061003:145459 SNMP error [(noSuchName) There is no such variable name in this MIB.]
        but we try sysname
        -> snmpwalk -v2c -c xxx 1.3.6.1.2.1.1.5.0
        -> SNMPv2-MIB::sysName.0 = STRING: swi-039.tus.fr.thales
        it's work in zabbix with the same synthax (i already change the return value to integer) --with-net-snmp option are compiled with.
        thank's to all

        Comment

        • transitv
          Junior Member
          • Dec 2006
          • 22

          #5
          quick comment on getting snmp working on my device

          I have a sonicwall firewall with SNMP turned on. I was able to gather about half of the items using the snmp template (the other half didn't work with my device), but there were also a few items outside of the normal snmpwalk under the "enterprises" branch. I was able to find the full OID for them and get the data using "snmpget", but inside zabbix the OID didn't work. I got the same "nosuchname" items in the server log.

          So I proceeded to play around with snmpget and eventually figured out that in order to access these "enterprise keys" in zabbix I had to add a .0 to the end of the OID (I also changed the key name to sonicwallCPUkey.0, but I'm not sure if this is necessary). Using snmpwalk/get you can use the OID with or without the .0, but in zabbix it had to be there.

          Now I get the data and the error messages are gone.
          Last edited by transitv; 22-01-2007, 20:09.

          Comment

          Working...