Page 2 of 3

Re: Nagios don't show graph anymore

Posted: Fri May 11, 2012 12:00 am
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.

Re: Nagios don't show graph anymore

Posted: Fri May 11, 2012 3:49 pm
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?

Re: Nagios don't show graph anymore

Posted: Sat May 12, 2012 6:50 pm
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

Re: Nagios don't show graph anymore

Posted: Sun May 13, 2012 3:37 am
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?

Re: Nagios don't show graph anymore

Posted: Mon May 14, 2012 10:56 am
by scottwilkerson
The directory is /usr/local/nagios/etc/pnp

The file is npcd.cfg

Re: Nagios don't show graph anymore

Posted: Mon May 14, 2012 3:27 pm
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)

Re: Nagios don't show graph anymore

Posted: Mon May 14, 2012 3:34 pm
by scottwilkerson
This is Nagios XI correct?

Re: Nagios don't show graph anymore

Posted: Mon May 14, 2012 3:53 pm
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

Re: Nagios don't show graph anymore

Posted: Sat Jun 02, 2012 3:32 am
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!

Re: Nagios don't show graph anymore

Posted: Mon Jun 04, 2012 9:25 am
by scottwilkerson
It should not delete old RRD files, however it would be a good idea to back them up just in case..