I have a problem with zabbix not polling a non-standard OID for monitoring Postfix. snmpwalk gets the correct values so it's not SMA or Net-SNMP erroring.
The OID's are items in there own template and the template is linked to the hosts. If I disable all the checks, wait a moment and then enable them again, the first check gets data. From then on the values are not updated and Zabbix acts like there is nothing returned as nothing is graphed. No errors are logged in zabbix_serverd.log.
Setup:
template_postfix_mailstats
Item:
Description: queue_length
Type: SNMPv2 agent
SNMP Community: public
SNMP OID: .1.3.6.1.4.1.2021.255.2
SNMP Port: 161
Key: postfixQueueLength
Type of Information: Numeric(integer)
The other two values are for Recieved and Sent, with OID's (respectivly) .1.3.6.1.4.1.2021.255.0 and .1.3.6.1.4.1.2021.255.1 and keys postfixRecieved and postfixSent.
snmpwalk -v 2c -c public host 1.3.6.1.4.1.2021.255 returns the correct information.
I have other SNMP graphs that are working but they are from standard templates.
The OID's are items in there own template and the template is linked to the hosts. If I disable all the checks, wait a moment and then enable them again, the first check gets data. From then on the values are not updated and Zabbix acts like there is nothing returned as nothing is graphed. No errors are logged in zabbix_serverd.log.
Setup:
template_postfix_mailstats
Item:
Description: queue_length
Type: SNMPv2 agent
SNMP Community: public
SNMP OID: .1.3.6.1.4.1.2021.255.2
SNMP Port: 161
Key: postfixQueueLength
Type of Information: Numeric(integer)
The other two values are for Recieved and Sent, with OID's (respectivly) .1.3.6.1.4.1.2021.255.0 and .1.3.6.1.4.1.2021.255.1 and keys postfixRecieved and postfixSent.
snmpwalk -v 2c -c public host 1.3.6.1.4.1.2021.255 returns the correct information.
I have other SNMP graphs that are working but they are from standard templates.