I am new to nagios. I am using nagios core to monitor AWS Auto scaling group machines. I am implementing dynamic solution using php and ansible to automatically re-configure nagios based on live ip addresses.
when I open nagios host detail page, i can see status for host as "Down (for 2d 6h 5m 12s)".
Where this information is stored in nagios and is there any way to get all hosts with down status along with its time using command line?
I am using Amazon linux. Thanks in advance.
How to know which hosts are down and since how long in cmd?
-
- Posts: 12
- Joined: Thu Mar 15, 2018 11:51 am
-
- Posts: 12
- Joined: Thu Mar 15, 2018 11:51 am
Where nagios core stores its metadata?
when I open nagios host detail page, i can see status for host as "Down (for 2d 6h 5m 12s)".
where does nagios core store this information (2d 6h 5m 12s)? Is it possible to configure nagios core to store host details in mysql?
where does nagios core store this information (2d 6h 5m 12s)? Is it possible to configure nagios core to store host details in mysql?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: How to know which hosts are down and since how long in c
it is stored in the status.dat file