Nagios XI Performance Graphs Not Processing in some services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

Nagios XI Performance Graphs Not Processing in some services

Post 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
You do not have the required permissions to view the files attached to this post.
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

Re: Nagios XI Performance Graphs Not Processing in some serv

Post by paltel »

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

Post 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

Code: Select all

rm -f /var/lib/mrtg/mrtg.lock
Then rerun the first command. Anfer about 10-15 minutes data should start to arrive provided you actually have data moving through those ports.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

Re: Nagios XI Performance Graphs Not Processing in some serv

Post 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
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

Post by scottwilkerson »

Can you port the output of

Code: Select all

cat /etc/mrtg/mrtg.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

Re: Nagios XI Performance Graphs Not Processing in some serv

Post 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
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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

Re: Nagios XI Performance Graphs Not Processing in some serv

Post by paltel »

[root@nagiosxi ~]# LANG=C LC_ALL=C /usr/bin/mrtg|grep Router
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

Post 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..
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

Re: Nagios XI Performance Graphs Not Processing in some serv

Post by paltel »

I moved it,but nothing happened, is there any think to do after moving ??
Locked