Page 1 of 2
Nagios XI Performance Graphs Not Processing in some services
Posted: Tue Aug 22, 2017 7:39 am
by paltel
I have a problem is some in all bandwidth services Performance Graphs in all switches and routers, In the previous was running fine
but the other services Performance Graphs working fine like as Ping,Memory Usage,Disk Usage,CPU Stats..... etc
Re: Nagios XI Performance Graphs Not Processing in some serv
Posted: Tue Aug 22, 2017 7:40 am
by paltel
adding some pic
Re: Nagios XI Performance Graphs Not Processing in some serv
Posted: Tue Aug 22, 2017 11:17 am
by scottwilkerson
It is possuble that something is stuck in the mrtg lock file
Can you run
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok
If you get a lock file error, lets run the following
Then rerun the first command. Anfer about 10-15 minutes data should start to arrive provided you actually have data moving through those ports.
Re: Nagios XI Performance Graphs Not Processing in some serv
Posted: Wed Aug 23, 2017 12:34 am
by paltel
I run the first command the result error :
ERROR: Line 11 (define command {) in CFG file (conf.d/*.cfg) does not make sense
then I run the second commend successfully after 15 minuet return to run first commend same error
ERROR: Line 11 (define command {) in CFG file (conf.d/*.cfg) does not make sense
Re: Nagios XI Performance Graphs Not Processing in some serv
Posted: Wed Aug 23, 2017 9:12 am
by scottwilkerson
Can you port the output of
Re: Nagios XI Performance Graphs Not Processing in some serv
Posted: Wed Aug 23, 2017 10:37 am
by paltel
######################################################################
# 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
Forks: 4
EnableSnmpV3: yes
Include: conf.d/*.cfg
EnableSNMPv3: yes
Re: Nagios XI Performance Graphs Not Processing in some serv
Posted: Wed Aug 23, 2017 11:45 am
by scottwilkerson
Looks like we may also need the contents of the conf.d directory, can you zip them up and send/PM
Also, can you run the following and post the results
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg|grep Router
Re: Nagios XI Performance Graphs Not Processing in some serv
Posted: Thu Aug 24, 2017 12:12 am
by paltel
[root@nagiosxi ~]# LANG=C LC_ALL=C /usr/bin/mrtg|grep Router
mrtg-2.17.4 - Multi Router Traffic Grapher
Re: Nagios XI Performance Graphs Not Processing in some serv
Posted: Thu Aug 24, 2017 11:21 am
by scottwilkerson
Ok, looking over the directory you have a file that looks like a nagios config file in there that is causing the issues...
Lets move the file to the tmp directory
Code: Select all
/mv /etc/mrtg/conf.d/3par.cfg /tmp/3par.cfg
Then you should be all set.
Feel free to inspect /tmp/3par.cfg to see if this is something you or your team misplaced..
Re: Nagios XI Performance Graphs Not Processing in some serv
Posted: Sun Aug 27, 2017 12:32 am
by paltel
I moved it,but nothing happened, is there any think to do after moving ??