Nagios don't show graph anymore

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios don't show graph anymore

Post by scottwilkerson »

Hard to say, if it starts to be a regular occurrence, I would recommend turning on the logging for npcd to try to find the cause. However having the logging on isn't worth the performance hit if it was a one-off anomoly.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jnash
Posts: 17
Joined: Sat Apr 28, 2012 12:07 pm

Re: Nagios don't show graph anymore

Post by jnash »

scottwilkerson wrote:Hard to say, if it starts to be a regular occurrence, I would recommend turning on the logging for npcd to try to find the cause. However having the logging on isn't worth the performance hit if it was a one-off anomoly.
that's ok so how i can turn it on?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios don't show graph anymore

Post by scottwilkerson »

The setting is in
/usr/local/nagios/etc/pnp/npcd.cfg

Code: Select all

log_level = 2
save file,
restart npcd

Code: Select all

service npcd restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jnash
Posts: 17
Joined: Sat Apr 28, 2012 12:07 pm

Re: Nagios don't show graph anymore

Post by jnash »

Oh well i don't have the directory "pnp/npcd.cfg" under /usr/local/nagios/etc/
it's a problem or i have just create it to be read by pnp engine?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios don't show graph anymore

Post by scottwilkerson »

The directory is /usr/local/nagios/etc/pnp

The file is npcd.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jnash
Posts: 17
Joined: Sat Apr 28, 2012 12:07 pm

Re: Nagios don't show graph anymore

Post by jnash »

scottwilkerson wrote:The directory is /usr/local/nagios/etc/pnp

The file is npcd.cfg
of course :)
but i don't have that directory (pnp)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios don't show graph anymore

Post by scottwilkerson »

This is Nagios XI correct?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios don't show graph anymore

Post by scottwilkerson »

We are going to need to rebuild pnp, please run the following

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd /tmp/nagiosxi/subcomponents/pnp
chmod +x ./install
./install

service npcd restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jnash
Posts: 17
Joined: Sat Apr 28, 2012 12:07 pm

Re: Nagios don't show graph anymore

Post by jnash »

Sorry if i answer u just now, i have a question:
if i launch "chmod +x ./install" it will delete old pnp stats that i already have on the machine?

thanks for your support,
my best!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios don't show graph anymore

Post by scottwilkerson »

It should not delete old RRD files, however it would be a good idea to back them up just in case..
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked