Extract service configuration with service added time

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
vusaravi
Posts: 23
Joined: Fri Mar 13, 2015 7:41 am

Extract service configuration with service added time

Post by vusaravi »

Hi

I would like to extract the services list from nagios core and the report should also contain the service added time to nagios core.

I have extracted the services configuration from nagios core, but it did not include service/host added time.

Kindly help me in generating such report.

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

Re: Extract service configuration with service added time

Post by scottwilkerson »

Nagios Core does not store this data natively.

The only way to get this data would be to parse all the nagios .log archives and find the first instance of the service in the logs.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vusaravi
Posts: 23
Joined: Fri Mar 13, 2015 7:41 am

Re: Extract service configuration with service added time

Post by vusaravi »

Thank you for your response.

You can close this ticket.
Locked