Nagios don't show graph anymore
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios don't show graph anymore
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
that's ok so how i can turn it on?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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios don't show graph anymore
The setting is in
/usr/local/nagios/etc/pnp/npcd.cfg
save file,
restart npcd
/usr/local/nagios/etc/pnp/npcd.cfg
Code: Select all
log_level = 2restart npcd
Code: Select all
service npcd restartRe: Nagios don't show graph anymore
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?
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
The directory is /usr/local/nagios/etc/pnp
The file is npcd.cfg
The file is npcd.cfg
Re: Nagios don't show graph anymore
of coursescottwilkerson wrote:The directory is /usr/local/nagios/etc/pnp
The file is npcd.cfg
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
This is Nagios XI correct?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios don't show graph anymore
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 restartRe: Nagios don't show graph anymore
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!
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
It should not delete old RRD files, however it would be a good idea to back them up just in case..