Page 4 of 4

Re: MRTG problem

Posted: Thu Mar 12, 2015 3:03 pm
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.

Re: MRTG problem

Posted: Thu Mar 12, 2015 3:51 pm
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: ???/???

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

Posted: Thu Mar 12, 2015 3:58 pm
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

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

Posted: Fri Mar 13, 2015 11:23 am
by cmerchant
I merged the two threads here.

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

Posted: Mon Mar 16, 2015 12:13 pm
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?

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

Posted: Mon Mar 16, 2015 1:06 pm
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

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

Posted: Tue Apr 21, 2015 10:26 am
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?

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

Posted: Tue Apr 21, 2015 11:10 am
by lmiltchev
I am glad your issue has been resolved! You can start a new thread.