Problem with Performance Graphs
Posted: Sun Mar 25, 2012 2:02 pm
On Fri I discovered a problem with my Nagios XI install missing performance graph data. When i attempt to view graphs I either get a "no image" icon in the space where the graph should be, or in some cases a blank graph. I have run through the following as described in the faq:
-Reset permissions script
-Checked permissions on /usr/local/nagios/share/perfdata/
-Checked existence of and permissions on /var/lib/mrtg
None fix the issue. In doing some more digging today I found that my root user's mail account is flooded with messages like this:
These occur approximately every 5 minutes and all appear to be identical as far as I can tell. The weird part is I'm not actually monitoring 10.20.1.1. I monitor that device (a Catalyst switch) but not on that IP. I can't find any reference to the 10.20.1.1 ip anywhere in my CCM or config files.
Any idea what gives here?
-Reset permissions script
-Checked permissions on /usr/local/nagios/share/perfdata/
-Checked existence of and permissions on /var/lib/mrtg
None fix the issue. In doing some more digging today I found that my root user's mail account is flooded with messages like this:
Code: Select all
>From root@REDACTED Tue Mar 20 17:40:03 2012
Date: Tue, 20 Mar 2012 17:40:01 -0400
From: root@REDACTED (Cron Daemon)
To: root@REDACTED
Subject: Cron <root@REDACTED> /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.10.116)
SNMPv1_Session (remote host: "10.20.1.1" [10.20.1.1].161)
community: "nagios"
request ID: 516953362
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 492
SNMPGET Problem for ifInOctets.116 ifOutOctets.116 on [email protected]::::::v4only
at /usr/bin/mrtg line 2242
2012-03-20 17:40:01: ERROR: Target[10.20.1.1_116][_IN_] ' $target->[49]{$mode} ' did not eval into defined data
2012-03-20 17:40:01: ERROR: Target[10.20.1.1_116][_OUT_] ' $target->[49]{$mode} ' did not eval into defined data
Any idea what gives here?