We are running Zabbix 1.8.10 (revision 24303)
on a CentOS 5.9 host with updated (today) snmp utils
(net-snmp-5.3.2.2-22.el5_10.1)
works via c-line, but our snmp-templated items do not.
The Template_SNMPv2_Device template is not linked as I only copied 3 items over, these did not and do not show up under Latest Data.
The target host is WIN08SR2 - Standard
I then linked the Template_SNMPv2_Device to the host and waited.
Some items became not supported
All snmp items are SNMPv2 agent and the correct community_string is being used.
I set debug=4 in zabbix_server.conf and bounced, the log file shows:
and
while snmpwalk'ing shows:
NOTE: "dev.'domain.com'.snmp" here is NOT the hosts name. This remains a mystery to me.
and now, I'm off to try and use zabbix_sender to collect the metrics I need.
Is there an "updated" Template_SNMPv2_Device somewhere, this one may be corrupt? I got this one here some time ago but I can't find the source link any more.
Thank you.
Edit: Thu Apr 17, 2014 - 2:07:10 PM EDT
I removed most everything snmp-related and just used the agent items from the Linux Template but the host is only collecting 5 items.
snapshot of those items. (they do update)
I stuck these in the agentd.conf and bounced:
When nothing showed up, I updated them to Active and this is in the log
(running DebugLevel=4)
on a CentOS 5.9 host with updated (today) snmp utils
(net-snmp-5.3.2.2-22.el5_10.1)
Code:
snmpwalk -v 2c -c <string> <ip>
The Template_SNMPv2_Device template is not linked as I only copied 3 items over, these did not and do not show up under Latest Data.
The target host is WIN08SR2 - Standard
I then linked the Template_SNMPv2_Device to the host and waited.
Some items became not supported
All snmp items are SNMPv2 agent and the correct community_string is being used.
I set debug=4 in zabbix_server.conf and bounced, the log file shows:
Code:
2238:20140416:055037.549 SNMP item [icmpOutErrors] on host [cwWindows] failed: another network error, wait for 15 seconds 2228:20140416:055038.051 SNMP item [icmpOutMsgs] on host [cwWindows] failed: another network error, wait for 15 seconds 2227:20140416:055039.824 SNMP item [icmpOutParmProbs] on host [cwWindows] failed: another network error, wait for 15 seconds 2239:20140416:055040.973 SNMP item [icmpOutRedirects] on host [cwWindows] failed: another network error, wait for 15 seconds
Code:
tcpdump -l -vvv -x -X port 161 -i eth0 and dst <ip> -c 5
Code:
06:00:38.988337 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 76) monitoring.cirrhus9.com.39410 > dev.domain.com.snmp: [COLOR=red][COLOR=black][[/COLOR]bad udp cksum[/COLOR] 1fb!] { SNMPv2c C=<community_string> { GetNextRequest(25) R=1462806426 }
and now, I'm off to try and use zabbix_sender to collect the metrics I need.
Is there an "updated" Template_SNMPv2_Device somewhere, this one may be corrupt? I got this one here some time ago but I can't find the source link any more.
Thank you.
Edit: Thu Apr 17, 2014 - 2:07:10 PM EDT
I removed most everything snmp-related and just used the agent items from the Linux Template but the host is only collecting 5 items.
snapshot of those items. (they do update)
I stuck these in the agentd.conf and bounced:
Code:
UserParameter=disk.used, df /dev/xvda | tail -1 | awk '{print $3}'
UserParameter=disk.free, df /dev/xvda | tail -1 | awk '{print $4}'
UserParameter=1m.load.avg, uptime | awk -F 'load average:' '{ print $2 }' | awk '{print $1}' | sed 's/,//g'
UserParameter=5m.load.avg, uptime | awk -F 'load average:' '{ print $2 }' | awk '{print $2}' | sed 's/,//g'
UserParameter=15m.load.avg, uptime | awk -F 'load average:' '{ print $2 }' | awk '{print $3}' | sed 's/,//g'
(running DebugLevel=4)
Code:
15655:20140417:104947.910 End of update_cpustats() 15659:20140417:104948.125 In send_buffer() host:'xx.xx.28.187' port:10051 values:0/100 15659:20140417:104948.126 End of send_buffer():SUCCEED 15659:20140417:104948.126 Sleeping for 1 second(s)
Comment