Ad Widget

Collapse

SNMP monitoring not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fstans
    Junior Member
    • May 2021
    • 5

    #1

    SNMP monitoring not working

    Hi we are replacing cacti with zabbix and now I added the device in zabbix with the snmp data, but it stays grayed uit with the status, when I do queries manually with snmpwalk this does work, does anyone know how to fix this ?

    Regards Fabian
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Which version of Zabbix did you use and which template did you link to the host? What version of SNMP are you using? For example, if it is SNMPv2, did you set the community name?

    Comment

    • fstans
      Junior Member
      • May 2021
      • 5

      #3
      Hi I already fiexed the issue of snmp beeing gray, by assigning a template "Template Module Generic SNMP".
      But now I want to retrieve data from the device with snmp just as cacti did, how can I do this ?
      With a datasource called "airPressure", Minimum Value:0 , Maximum Value:1000,Data Source Type: GAUGE, Heartbeat: 600, Output Field: SnmpValue - Snmp result value
      And also put all the data in a graph.
      Regards Fabian

      Comment

      • fstans
        Junior Member
        • May 2021
        • 5

        #4
        I can get the value from commandline by doing:
        snmpwalk -v 1 -c public [ip] [oid] | awk '{gsub(/"/, "", $NF);print $NF}'
        but how do i get this in zabbix ?

        Comment

        • Atsushi
          Senior Member
          • Aug 2013
          • 2028

          #5
          Try to find a more suitable template. If you can't find it, you can create your own item and collect the value for each OID.

          Comment

          Working...