MRTG problems with RRD returning "got: ???/???"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cfgriffith
Posts: 83
Joined: Tue Jan 15, 2013 4:22 pm

Re: MRTG problem

Post by cfgriffith »

Hmm so I copied the folder to my home directory. After doing that the server began to slow way down and I eventually hard to hard restart it in Vcenter. Is back up now but still having same issues. Part of me is hesitant to delete said files as they have a lot of graph data built up.

On the bad side it seems like all graphing (Not just bandwidth) broke around 6:19PM Sunday. Do you still think I should delete all files in said folder and will I be able to get graphing data back from the backup files if this doesn't fix the problem?

For the graphs I do see, if I go back to last week I see all the graphing data. Of course most of the objects I have added since then do not actually have any graph at all.
cfgriffith
Posts: 83
Joined: Tue Jan 15, 2013 4:22 pm

Re: MRTG problem

Post by cfgriffith »

Okay so now everything has graphs, but they are still empty.

Also I am seeing this now when I run

Code: Select all

sudo env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --debug="snpo,log" --logging $HOME/mrtg_troubleshooting.txt

Looking at one of my switches OID 675:

Code: Select all

2015-03-12 15:47:54 -- --log: RRDs::tune(/var/lib/mrtg/10.32.20.1_675.rrd -a ds0:125000000 -a ds1:125000000 -d ds0:COUNTER -d ds1:COUNTER)
2015-03-12 15:47:54 -- --log: RRDs::update(/var/lib/mrtg/10.32.20.1_675.rrd, '1426193269:136572425920084:293123232588921')
2015-03-12 15:47:54 -- --log:  got: ???/???
cfgriffith
Posts: 83
Joined: Tue Jan 15, 2013 4:22 pm

Re: MRTG problems with RRD returning "got: ???/???"

Post by cfgriffith »

FYI, I work with Benson and my post about MRTG is somewhat tied to this problem. I am effectively taking over for him in this regard.

Here is my thread:
http://support.nagios.com/forum/viewtop ... 65#p130065

Here is the requested information:
######################################################################
# 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
WorkDir: /var/lib/mrtg

Include: conf.d/*.cfg
Forks: 4
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: MRTG problems with RRD returning "got: ???/???"

Post by cmerchant »

I merged the two threads here.
cfgriffith
Posts: 83
Joined: Tue Jan 15, 2013 4:22 pm

Re: MRTG problems with RRD returning "got: ???/???"

Post by cfgriffith »

Brief update. About an hour after aforementioned reboot all the graphs started working again, most of them not having any lost any data during the time the graphs were not working. I will post if it seems to break again. Is there any log I could get to you guys to see what exactly happened and why they work now?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: MRTG problems with RRD returning "got: ???/???"

Post by tgriep »

Here are the log files and their locations.

Code: Select all

/usr/local/nagios/var/perfdata.log
/usr/local/nagios/var/nagios.log
/usr/local/nagios/var/npcd.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
cfgriffith
Posts: 83
Joined: Tue Jan 15, 2013 4:22 pm

Re: MRTG problems with RRD returning "got: ???/???"

Post by cfgriffith »

Sorry for the long delay for this. Everything for the most part seems to be working now. If I have problems related to this again should I post in this thread or a new one?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: MRTG problems with RRD returning "got: ???/???"

Post by lmiltchev »

I am glad your issue has been resolved! You can start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked