Ad Widget

Collapse

SNMP error [1]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lufa
    Member
    • Jul 2007
    • 46

    #1

    SNMP error [1]

    Hi. I am using Zabbix 1.5.4 (02.09.08 nightly build).

    I have a IP-relative host with item: IF-MIB::ifOperStatus.5 (SNMPv2 agent).
    But it has SNMP error [1] error.

    I can do
    %snmpwalk -c CORRECTCOMMUNITY -v 2c 172.20.1.103 IF-MIB::ifOperStatus.5
    IF-MIB::ifOperStatus.5 = INTEGER: down(2)
    Using tcpdump I can see the following:
    15:56:00.212778 IP 10.50.0.9.55151 > 172.20.1.103.snmp: C=CORRECTCOMMUNITY GetRequest(30) interfaces.ifTable.ifEntry.ifOperStatus.5
    15:56:00.221921 IP 172.20.1.103.snmp > 10.50.0.9.55151: C=CORRECTCOMMUNITY GetResponse(31) interfaces.ifTable.ifEntry.ifOperStatus.5=2
    In zabbix_server.log:
    4355:20080902:161358 SNMP [[email protected]:161:161]
    4355:20080902:161358 OID [IF-MIB::ifOperStatus.5]
    4355:20080902:161358 In get_value_SNMP() 0.2
    4355:20080902:161358 In get_value_SNMP() 0.3
    4355:20080902:161359 Status send [0]
    4355:20080902:161359 In get_value_SNMP() 0.4
    4355:20080902:161359 In get_value_SNMP() 1
    4355:20080902:161359 In get_value_SNMP() 2
    4355:20080902:161359 AV loop(2)
    4355:20080902:161359 End get_value()
    4355:20080902:161359 In process_new_value(IF-MIB::ifOperStatus.5)
    4355:20080902:161359 In dc_add_history(itemid:20398,key:"IF-MIB::ifOperStatus.5",value_type:3,UINT64:2)
    4355:20080902:161359 End of add_history
    4355:20080902:161359 In DCadd_nextcheck()
    4355:20080902:161359 In calculate_item_nextcheck (20398,60,,1220361239)
    4355:20080902:161359 End calculate_item_nextcheck (result:1220361298)
    4355:20080902:161359 In int_in_list(list:,value:10106)
    4355:20080902:161359 End int_in_list(ret:FAIL)
    4355:20080902:161359 In get_value(key:IF-MIB::ifOperStatus.1)
    4355:20080902:161359 In get_value_snmp(key:IF-MIB::ifOperStatus.1, oid:IF-MIB::ifOperStatus.1)
    4355:20080902:161359 Standard processing
    4355:20080902:161359 In snmp_normalize(oid:IF-MIB::ifOperStatus.1)
    4355:20080902:161359 End of snmp_normalize(result:IF-MIB::ifOperStatus.1)
    4355:20080902:161359 In get_snmp(oid:IF-MIB::ifOperStatus.1)
    But this item (in the 172.20.1.103 and other hosts) has "Not supported" status with "SNMP error [1]" error.

    It's strange, because few days ago (4-5) it worked fine! I think it started when I upgraded to some next nightly build (~27-28.08.08).

    Furthermore, some SNMP items still works from Zabbix (DOCS-IF-MIB::docsIfCmStatusValue.2, SNMPv2 agent - Active).

    But some (IF-MIB::ifOperStatus etc) stoped working on all of ~500 hosts.

    What can be wrong?

    Thank you!

    Zabbix 1.5.4b (02.09.08)
    FreeBSD 7.0
    net-snmp: 5.4.1.2
    Last edited by Lufa; 03-09-2008, 17:17.
  • Lufa
    Member
    • Jul 2007
    • 46

    #2
    [almost solved]

    O.K.
    I have found something: after unlinking the Template from Host, saving and link it back again - Items started working!

    How can I do it with 500+ hosts? Some SQL query? I need to to it with whole, defined, group of hosts.

    Thank you!
    Last edited by Lufa; 03-09-2008, 17:17.

    Comment

    • Lufa
      Member
      • Jul 2007
      • 46

      #3
      Originally posted by Lufa
      an I do it with 500+ hosts? Some SQL query? I need to to it with whole, defined, group of hosts.
      Using "Mass update" by groups.

      Thank you!

      Comment

      Working...