PNP4Nagios question

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
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

PNP4Nagios question

Post by yunushaikh »

Hello Sir,

I have configured PNP4Nagios2.0 along with my Nagios 4.0.8
I can see that there are some entries created in the MySQL tables after starting PNP4Nagios

But I can see that the the rrd file on the location
/usr/local/pnp4nagios/var/perfdata/localhost is still getting updated.

This files should not get updated right? as I am saving all my data to MySQL
And if this is getting updated then is mysql saving my data? How do I confirm that
If MySQL is saving the data then I need to stop logging this data in the files.

What does Nagios stores in MySQL?

These are all my doubts. Please help!!!
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: PNP4Nagios question

Post by tgriep »

The rrd files should be updated as that is where the data is stored for the graphs.
Depending on how your system is setup, the mysql database should hold the configurations settings and historical data is all of the checks, etc...
Be sure to check out our Knowledgebase for helpful articles and solutions!
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: PNP4Nagios question

Post by yunushaikh »

Is there any way I can store the data of PNP4Nagios in MySQL?
I dont want to store it in RRD files. I want everything in database
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: PNP4Nagios question

Post by Box293 »

https://docs.pnp4nagios.org/pnp-0.6/start
PNP is an addon to Nagios which analyzes performance data provided by plugins and stores them automatically into RRD-databases (Round Robin Databases, see RRD Tool).
Technically speaking RRD files are databases.

To answer your question, PNP4Nagios is not written to store data in MySQL.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: PNP4Nagios question

Post by yunushaikh »

I can see something in NDO to PNP
can you please tell me for what purpose it is used?

Thanks for your explanation...
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: PNP4Nagios question

Post by tgriep »

Is this what you are looking for?
https://docs.pnp4nagios.org/pnp-0.6/ndo2pnp
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked