From: Wolfgang <wn...@gm...> - 2012-03-07 23:57:47
|
Am 07.03.2012 23:10, schrieb Mester: > Hi, > > I want to make a graph of the received bad packets for a switch. > So I have a service in my nagios: > > define service{ > use generic-service > host_name szerverszoba > service_description Bad packets received port 7 > check_command check_snmp!-C public -o ifInErrors.107 > -m RFC1213-MIB -w 100 -c 1000 > servicegroups switches > } > > And it work fine. It has the following output: > SNMP WARNING - *125* | RFC1213-MIB::ifInErrors.107=125c > > But when I try to see the graphicon for it in pnp4nagios it does not > show anything. And the value on the graph is always 0. Under the graph I > see the following line: > RFC1213-MIB__ 0 c Last 0 c Max 0 c Avarage > > Can you tell me why it is 0 and not 125 as the result of the command sais? > > > Attila Mesterhazy > "c" behind the value means it is a "counter" so the value in the RRD file will only store the difference between two consecutive checks. You can use "rrdtool dump <rrd file>" to check the value in your rrd file. |