Category5.TV Community Forum
Monitor Windows Server Reboots - Printable Version

+- Category5.TV Community Forum (https://forum.category5.tv)
+-- Forum: NEMS - Nagios Enterprise Monitoring Server (https://forum.category5.tv/forum-8.html)
+--- Forum: Help and Support (https://forum.category5.tv/forum-9.html)
+--- Thread: Monitor Windows Server Reboots (/thread-594.html)



Monitor Windows Server Reboots - Barber50701 - 11-01-2019

Let me just start by saying NEMS is a entirely new concept to me. So far I am monitoring a few servers with the NScleint and it seems to be doing well for the default monitors Disk, Mem, Uptime.  I have alerts working...all is well so far.  I see that there is a check command for event_reboot_win.  I am correct in thinking that I could get an alert when a server gets rebooted?  I have tried to find some documentation on how to enable that check but have not had any success. Is that check part of WMI?

Thanks for any help!

Edit I did a little poking arround and was able to add the check to a host, but I get an error of  (No output on stdout) stderr: sudo: no tty present and no askpass program specified
Any idead on what I need to do?


RE: Monitor Windows Server Reboots - HeikoAdams - 11-25-2019

(11-01-2019, 10:35 AM)Barber50701 Wrote: I see that there is a check command for event_reboot_win.  I am correct in thinking that I could get an alert when a server gets rebooted?  I have tried to find some documentation on how to enable that check but have not had any success. Is that check part of WMI?


No, you're dead wrong that "check" is triggering a reboot.


RE: Monitor Windows Server Reboots - Barber50701 - 12-05-2019

Do you have any suggestions on how to monitor for when a server is rebooted? Is there a way to use NEMS to look for an event id?