downtime.log in nagios 4?

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
User avatar
jssingh
Posts: 110
Joined: Mon Apr 29, 2013 4:55 pm

downtime.log in nagios 4?

Post by jssingh »

Hi,

there doesn't seem to be a downtime.log in nagios 4. Where would one find that information now? I know you can find it in the GUI, but is there a way to get that information so that a script can process it?

thanks!
User avatar
jssingh
Posts: 110
Joined: Mon Apr 29, 2013 4:55 pm

Re: downtime.log in nagios 4?

Post by jssingh »

never mind. I forgot I could just use the APIs. :)

this got me what I needed: statusjson.cgi?query=downtimelist&formatoptions=enumerate&details=true
Locked