Ad Widget

Collapse

SNMP discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kdgt
    Junior Member
    • Dec 2014
    • 15

    #1

    SNMP discovery

    Hi

    I created a discovery to find servers with SNMP enabled. I am able to monitor these hosts via SNMP but for some reason the discovery does not find any servers.

    The discovery rules is configuration as followed.

    Delay 60 seconds
    Check Type SNMPv2
    Community {the SNMP community that was tested with snmpwalk)
    OID 3.6.1.2.1.1.1.0

    After I was unable to get this working, a second discovery rule was setup. The second discovery rules is configuration as followed.

    Delay 60 seconds
    Check type TCP
    Port 161

    Thanks
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    SNMP is UDP not TCP. Quick check:
    Code:
    root@device:~# netstat -tanp | grep ":161"
    root@device:~# netstat -uanp | grep ":161"
    udp        0      0 0.0.0.0:161            0.0.0.0:*                               1039/snmpd
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    • kdgt
      Junior Member
      • Dec 2014
      • 15

      #3
      Thanks.

      That explains the TCP discovery failure.

      I just reviewed the SNMP discovery and the OID is wrong. I added "1." to the start of the OID and it worked fine.

      Comment

      Working...