Query pnp4nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Query pnp4nagios

Post by alex3105 »

I have Centos 7 and pnp4 installed, the query is every time I restart my server the graphics are also restarted not allowing to see the previous graphics .. so it works or I need to configure something to be able to have historical information with pnp of my servers.

Best regards..
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Query pnp4nagios

Post by scottwilkerson »

Are you storing the .rrd files in a /tmp directory that is getting deleted when you restart the server?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Query pnp4nagios

Post by alex3105 »

they are stored by default
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Query pnp4nagios

Post by scottwilkerson »

alex3105 wrote:they are stored by default
In what file location?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Query pnp4nagios

Post by alex3105 »

Good morning..

my installation path is /usr/local/pnp/nagios/...

Greetings..
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Query pnp4nagios

Post by scottwilkerson »

and the RRD files disappear when you reboot?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Query pnp4nagios

Post by mcapra »

Based on my very brief reading of the pnp4nagios configuration documentation, $conf['rrdbase'] should tell us where the RRDs are being pulled into pnp4nagios from. If that is any sort of transient/temporary storage, that may be your problem.

Your process_perfdata.cfg might also have some clues.

As a reminder, this is a Nagios Core support forum. pnp4nagios is a 3rd party product that has their own community (mailing lists).
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Query pnp4nagios

Post by scottwilkerson »

mcapra wrote:Based on my very brief reading of the pnp4nagios configuration documentation, $conf['rrdbase'] should tell us where the RRDs are being pulled into pnp4nagios from. If that is any sort of transient/temporary storage, that may be your problem.

Your process_perfdata.cfg might also have some clues.

As a reminder, this is a Nagios Core support forum. pnp4nagios is a 3rd party product that has their own community (mailing lists).
Thanks for adding this, being we do not author or manage pnp4nagios, this question would be better suited for them.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Query pnp4nagios

Post by alex3105 »

Ok .. thanks anyway ... I'll keep investigating--

Best Regards..
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Query pnp4nagios

Post by scottwilkerson »

ok
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked