Page 1 of 1

Monitor the restart service

Posted: Fri Jun 01, 2018 2:47 am
by alidar
Hello,

Can I monitor the servers which time which server goes Down by Nagios Core?

Re: Monitor the restart service

Posted: Fri Jun 01, 2018 1:33 pm
by eloyd
Yes.

Re: Monitor the restart service

Posted: Fri Jun 01, 2018 2:26 pm
by scottwilkerson
Simple ping monitoring should do it

Re: Monitor the restart service

Posted: Tue Jun 05, 2018 1:38 am
by alidar
Ping only can tell us about current status of the node. It is Down or up.
I want to see last time when computer went to the Down.

Regards

Re: Monitor the restart service

Posted: Tue Jun 05, 2018 6:59 am
by eloyd
If you are monitoring whether it is up or down, then you will know the last time it went down. At least, to within a few minutes (it depends on how frequently you are checking). If you are asking to have Nagios tell you the last time a machine went down, without currently monitoring whether it is up or down, then you could look at the uptime for the machine, using the check_uptime plugin if it's a Linux machine.

Re: Monitor the restart service

Posted: Tue Jun 05, 2018 8:56 am
by scottwilkerson
Thanks @eloyd