Nagios XI Performance Graphs Not Processing in some services
Nagios XI Performance Graphs Not Processing in some services
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
but the other services Performance Graphs working fine like as Ping,Memory Usage,Disk Usage,CPU Stats..... etc
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Performance Graphs Not Processing in some serv
adding some pic
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI Performance Graphs Not Processing in some serv
It is possuble that something is stuck in the mrtg lock file
Can you run
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.
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.okCode: Select all
rm -f /var/lib/mrtg/mrtg.lockRe: Nagios XI Performance Graphs Not Processing in some serv
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
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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI Performance Graphs Not Processing in some serv
Can you port the output of
Code: Select all
cat /etc/mrtg/mrtg.cfgRe: Nagios XI Performance Graphs Not Processing in some serv
######################################################################
# 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
# 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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI Performance Graphs Not Processing in some serv
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
Also, can you run the following and post the results
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg|grep RouterRe: Nagios XI Performance Graphs Not Processing in some serv
[root@nagiosxi ~]# LANG=C LC_ALL=C /usr/bin/mrtg|grep Router
mrtg-2.17.4 - Multi Router Traffic Grapher
mrtg-2.17.4 - Multi Router Traffic Grapher
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI Performance Graphs Not Processing in some serv
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
Then you should be all set.
Feel free to inspect /tmp/3par.cfg to see if this is something you or your team misplaced..
Lets move the file to the tmp directory
Code: Select all
/mv /etc/mrtg/conf.d/3par.cfg /tmp/3par.cfgFeel 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
I moved it,but nothing happened, is there any think to do after moving ??