Version 2011R3.3 on RHEL6_x64
Performance graphs are not displaying any data. The graphs did work at one point however have stopped (not sure when).
I Tried this from the help page
./check_rrdtraf -f '/var/lib/mrtg/192.168.6.1_1.rrd' -w 1 -c 2 and recieve permission denied as root, checked permissions and thet are root:root rw/r/r added execute for root and reran command, this time I recieved /var/lib/mrtg/192.168.6.1_1.rrd does not exist.
system status shows Performance grapheer running
Not sure how to troubleshoot this
Performance graphs do not display any data
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Performance graphs do not display any data
Do you have this file?
See what do you have in this directory:
then run the previous command against another file, that is in this folder.
Code: Select all
ll /var/lib/mrtg | grep 192.168.6.1_1.rrd
Code: Select all
ll /var/lib/mrtg
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 93
- Joined: Thu May 03, 2012 3:52 pm
Re: Performance graphs do not display any data
The only thing in the /var/lib/mrtg directory is mrtg.ok
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Performance graphs do not display any data
Run the following command and see if it is going to show any output (if everything is OK, it shouldn't):
It seems you will have to rerun the wizard in order to create these rrd files. Please, read the following document to learn what is the proper way of doing it.
http://assets.nagios.com/downloads/nagi ... Router.pdf
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -check
http://assets.nagios.com/downloads/nagi ... Router.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 93
- Joined: Thu May 03, 2012 3:52 pm
Re: Performance graphs do not display any data
No output, simply returned
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Performance graphs do not display any data
Can you PM us the "/etc/mrtg/mrtg.cfg" (or e-mail it at xisupport@nagios.com) so we can take a look at it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 93
- Joined: Thu May 03, 2012 3:52 pm
Re: Performance graphs do not display any data
######################################################################
# Multi Router Traffic grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
#
# Note:
#
# * Keywords must start at the begin of a line.
#
# * Lines which follow a keyword line which do start
# with a blank are appended to the keyword line
#
# * Empty Lines are ignored
#
# * Lines starting with a # sign are comments.
# Where should the logfiles, and webpages be created?
# Minimal mrtg.cfg
#--------------------
HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
#Target[r1]: 2:public@myrouter.somplace.edu
#MaxBytes[r1]: 1250000
#Title[r1]: Traffic Analysis
#PageTop[r1]: <H1>Stats for our Ethernet</H1>
WorkDir: /var/lib/mrtg
# Multi Router Traffic grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
#
# Note:
#
# * Keywords must start at the begin of a line.
#
# * Lines which follow a keyword line which do start
# with a blank are appended to the keyword line
#
# * Empty Lines are ignored
#
# * Lines starting with a # sign are comments.
# Where should the logfiles, and webpages be created?
# Minimal mrtg.cfg
#--------------------
HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
#Target[r1]: 2:public@myrouter.somplace.edu
#MaxBytes[r1]: 1250000
#Title[r1]: Traffic Analysis
#PageTop[r1]: <H1>Stats for our Ethernet</H1>
WorkDir: /var/lib/mrtg
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Performance graphs do not display any data
You have only the top portion of your mrtg.cfg file (no traces of previous device configurations). I believe, you need to run:
in order to delete every single file in the nagiosxi/tmp directory that starts with mrtgscan.
Remove the host via the Core Config Manager (remove all of its services first) then re-run the wizard.
Hope this helps.
Code: Select all
rm /usr/local/nagiosxi/tmp/mrtgscan* -f
Remove the host via the Core Config Manager (remove all of its services first) then re-run the wizard.
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 93
- Joined: Thu May 03, 2012 3:52 pm
Re: Performance graphs do not display any data
Can you explain this a bit more please;
Remove the host via the Core Config Manager (remove all of its services first) then re-run the wizard.
Remove the host via the Core Config Manager (remove all of its services first) then re-run the wizard.
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Performance graphs do not display any data
Before you rerun the wizard against the host under question (the one with broken perf graphs), you need to remove the "old" host and its services. In Nagios XI you remove hosts via the Core Config Manager. Please, review our documentation on the topic here (deleting hosts section):
http://assets.nagios.com/downloads/nagi ... gement.pdf
Let me know if you have any more questions.
http://assets.nagios.com/downloads/nagi ... gement.pdf
Let me know if you have any more questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!