Nagios Core Databse

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
sagarshah1983
Posts: 6
Joined: Tue Sep 17, 2013 1:13 am

Nagios Core Databse

Post by sagarshah1983 »

Hello all,
I have got some basic insight on installation and running of nagios core tool so far.

I see that most of the information about monitored services are pulled from status.dat file, is that correct?

If so, status.dat alsways reflect the data of last check made by nagios. But does it store data historically anywhere?

For example, as on last hour, one http service went down and showing red on web console and same is reflected in status.dat as well.
But once, the service comes up, status.dat also shows OK for the service and same in the web console as well, does that issue (of service being down) is tracked/stored anywhere as a part of historical data?

What is the ideal way of pulling these service related data from Nagios? Is it status.dat file only? Or can it be put in any database as well?

Please advise.

Thanks.

Regards,
Sagar Shah
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios Core Databse

Post by abrist »

status.dat = current state/status
objects.cache = core configuration
nagios.log = historical information

Historical information can be stored in a db, I suggest NDO:
http://exchange.nagios.org/directory/Ad ... ls/details
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked