Ad Widget

Collapse

SNMP Items are't getting displayed even though snmpwalk is successful

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbixfk
    Senior Member
    • Jun 2013
    • 256

    #1

    SNMP Items are't getting displayed even though snmpwalk is successful

    Hi,

    I have configured some routers/firewalls, which advertise info using snmp v2 on zabbix.

    a). Created a template with discovery rule with key as 'ifName' and OID as 1.3.6.1.2.1.31.1.1' with required community string.

    b). Then created item prototypes such as ifAdminStatus[{#SNMPVALUE}] , ifAlias[{#SNMPVALUE}], ifDescr[{#SNMPVALUE}], ifInErrors[{#SNMPVALUE}] , ifInOctets[{#SNMPVALUE}] , ifOutOctets[{#SNMPVALUE}] etc with required OID's.

    I am able to run snmp walk from my zabbix server, with below command,
    Code:
    snmpwalk -v2c XXX.XXX.XXX.XXX -c 'public'
    and i get all the data ( items) which are added.

    But these aren't getting displayed on zabbix. Is there any other way to check whether zabbix is able to talk to added router/firewall through snmp?

    Macro's are defined under template as
    Code:
    {$SNMP_COMMUNITY} = public
    I did enabled debug logs, but couldn't get much out of it.

    Any pointers are greatly helpful.

    Thanks.
  • Heilig
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2013
    • 366

    #2
    Can you get data from your device through snmpget tool?
    Zabbix has parameter "Timeout", check how long it takes to get result.

    Comment

    • zabbixfk
      Senior Member
      • Jun 2013
      • 256

      #3
      Thank you for the reply.

      Yes i am able to get the snmp details from firewall using snmpget tool. But note sure, what timeout option you are referring to. Can you bit elaborate.


      Thanks

      Comment

      • Heilig
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Mar 2013
        • 366

        #4
        You zabbix compiled with SNMP support?
        If you create a item with type snmpv2 and "simple" OID (for example, SNMPv2-MIB::sysLocation.0), you get the data?

        P.S.: "Timeout" parameter from zabbix_server.conf (https://www.zabbix.com/documentation.../zabbix_server)

        Comment

        • zabbixfk
          Senior Member
          • Jun 2013
          • 256

          #5
          [SOLVED]: SNMP Items aren't gettimng displayed even though snmpwalk is successful

          Thanks for the reply. Yes i am able to run snmpget to that host/router to get the required detail. Not sure what changes happened, but this is working fine. I mean i am able to get data on zabbix. For whole weeek, it was not displaying data, and showing 'red' under status of host under configuration -> hosts, but not it shows green, and I can get data under 'Latest Data' tab.


          Thanks.

          Comment

          • m2mexpert
            Junior Member
            • Sep 2014
            • 2

            #6
            Originally posted by Heilig
            You zabbix compiled with SNMP support?
            If you create a item with type snmpv2 and "simple" OID (for example, SNMPv2-MIB::sysLocation.0), you get the data?

            P.S.: "Timeout" parameter from zabbix_server.conf (https://www.zabbix.com/documentation.../zabbix_server)
            I have this same issue... I've set up the rule as above using this tutorial.



            ICMP Pings work in my discovery rule as well as Agent rules.... the SNMP acts as if it's not enabled (but it is).

            Comment

            Working...