Ad Widget

Collapse

SNMP "Parameter [xxx] is not supported ..."

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • proximo
    Junior Member
    • Jun 2006
    • 4

    #1

    SNMP "Parameter [xxx] is not supported ..."

    Hi,

    I've been trying to figure this one out for a week or so now and am in need of assistance. I am trying to get Zabbix to monitor SNMP traffic to some of our Cisco ASA's and on the Zabbix server, as the zabbix user, I can do snmpwalk and snmpget for details on the Cisco ASA. But when I have Zabbix do a simple single SNMPv1 or SNMPv2 get for sysName, I get the following as the error in the GIU "SNMP error [1]."

    Enabling debug, this is the following script from zabbix_server.log:

    Code:
     
     26381:20080822:083306 In get_value(key:sysName)
     26381:20080822:083306 In get_value_snmp(key:sysName, oid:.1.3.6.1.2.1.1.5)
     26381:20080822:083306 Standard processing
     26381:20080822:083306 In snmp_normalize(oid:.1.3.6.1.2.1.1.5)
     26381:20080822:083306 End of snmp_normalize(result:.1.3.6.1.2.1.1.5)
     26381:20080822:083306 In get_snmp(oid:.1.3.6.1.2.1.1.5)
     26381:20080822:083306 SNMP [<password>@<cisco_ip>:161]
     26381:20080822:083306 OID [.1.3.6.1.2.1.1.5]
     26381:20080822:083306 In get_value_SNMP() 0.2
     26381:20080822:083306 In get_value_SNMP() 0.3
     26381:20080822:083306 Status send [1]
     26381:20080822:083306 In get_value_SNMP() 0.4
     26381:20080822:083306 In get_value_SNMP() 1
     26381:20080822:083306 SNMP error [1]
     26381:20080822:083306 End get_value()
     26381:20080822:083306 Parameter [sysName] is not supported by agent on host [Cisco ASA 1] Old status [0]
    This happens for the Template_SNMPv2_Device settings also ...

    The configuration for the sysName entry is:
    Description: sysName
    Type: SNMPv2 agent (also tried SNMPv1 agent)
    SNMP Community: <correct community password>
    SNMP OID: .1.3.6.1.2.1.1.5 (tried with and without the leading . and also tried sysName.0)
    SNMP Port: 161
    Key: sysName (also tried sysName.0 and the same as SNMP OID).
    Type of information: Character (tried text also)

    The system is RedHat EL4 (x86) and Zabbix version is currently 1.54 (though I have tried 1.52 & 1.53).

    Any ideas or suggestions? If I've left out some detail, please let me know and I'll post.
  • proximo
    Junior Member
    • Jun 2006
    • 4

    #2
    Figured out the problem

    Ok, now that I've beat myself to a pulp over this, I've found the problem.

    The system was installed with RHEL4 and used the net-snmp 5.1xx versions that came with it. Someone smartly installed 5.4 .... by source and did not remove the old 5.1xx versions .. and did not install into /usr, but into /usr/local.

    This confused the application by having the correct libraries (5.4) but when issuing the commands for the API, it caused it to received from the 5.1xx libraries (my best guess).

    When I discovered this, I uninstalled net-snmp-5.1xx (rpm -e) with all depending RPMS then rpmbuilt from tarball and installed the new net-snmp RPMS. This overwrote all the incorrect versioned items and got things working!! Now I get other responses from the OID values not correct, but that's easy to fix (adding the .0 or change the name it's recording), etc.

    Oh, happy days now.

    Thanks for listening and I hope this helps others who are hunting down this problem!

    Comment

    Working...