Performance graphs do not display any data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Performance graphs do not display any data

Post by mbowden »

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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance graphs do not display any data

Post by lmiltchev »

Do you have this file?

Code: Select all

ll /var/lib/mrtg | grep 192.168.6.1_1.rrd
See what do you have in this directory:

Code: Select all

ll /var/lib/mrtg
then run the previous command against another file, that is in this folder.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Re: Performance graphs do not display any data

Post by mbowden »

The only thing in the /var/lib/mrtg directory is mrtg.ok
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance graphs do not display any data

Post by lmiltchev »

Run the following command and see if it is going to show any output (if everything is OK, it shouldn't):

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -check
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
Be sure to check out our Knowledgebase for helpful articles and solutions!
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Re: Performance graphs do not display any data

Post by mbowden »

No output, simply returned
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance graphs do not display any data

Post by lmiltchev »

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!
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Re: Performance graphs do not display any data

Post by mbowden »

######################################################################
# 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance graphs do not display any data

Post by lmiltchev »

You have only the top portion of your mrtg.cfg file (no traces of previous device configurations). I believe, you need to run:

Code: Select all

rm /usr/local/nagiosxi/tmp/mrtgscan* -f
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Re: Performance graphs do not display any data

Post by mbowden »

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.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance graphs do not display any data

Post by lmiltchev »

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!