SNMP devices

  1. Q: My SNMP items do not work.

A: Double-check that the SNMP version and community string are set correctly. Specifying an incorrect SNMP version will often cause timeouts, making it harder to debug. Of course, check general connectivity and permissions by using the snmpwalk and snmpget commands from the Zabbix server.

Additionally, make sure you are not overloading the monitored device by querying lots of values too frequently.
  1. Q: My SNMP items either do not work at all, or fails frequently.

A: Perhaps your device does not properly support SNMP GETBULK, try disabling bulk get support in the host properties for the SNMP interface.

  1. Q: I imported a template, but the LLD fails with an invalid SNMP OID: pairs of macro and OID are expected.

A: The Zabbix SNMP LLD key syntax changed in Zabbix 2.4. Unfortunately, the XML import process was not updated accordingly, and the imported LLD rule uses the old syntax. Refer to Chapter 11, Automating Configuration, for details on the key syntax.

  1. Q: I added MIB files, and they work with the command-line tools, but the Zabbix server seems to be ignoring the MIB files.

A: Make sure to restart the server daemon—MIB definitions are loaded only upon startup.

  1. Q: My SNMP items work, but some OIDs on a specific device do not, even though data appears in the snmpwalk output.

A: Try snmpget with those OIDs. Some UPSes are known to have buggy firmware that prevents these metrics from working with GET requests, but they do work with the GETNEXT requests that snmpwalk uses. If this is the case, upgrade the firmware on the device.

  1. Q: I listed all SNMP MIBs I want to use in /etc/snmp/snmp.conf, but Net-SNMP utilities do not use them all properly.

A: Some Net-SNMP versions silently trim lines in this file to 1,024 symbols, including the newline character. Try splitting options on multiple lines so that a single line does not exceed 1,023 printable characters.

  1. Q: I'm monitoring network traffic, but it returns incorrect data.

A: If it's a high-speed interface; make sure to use 64-bit counter OIDs, such as ifHCInOctets and ifHCOutOctets.

  1. Q: I'm adding SNMP devices to Zabbix, but adding new devices stops the monitoring of the previous devices. If I query each device with snmpget, they still respond as expected.

A: If it's SNMPv3, make sure all devices have a unique snmpEngineID variable.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.186.6