Monitor Windows Server Reboots

Having issues? Post them here, and help other users.
Post Reply
Barber50701
Junior Member
Posts: 3
Joined: Thu Oct 31, 2019 8:07 pm

Monitor Windows Server Reboots

Post by Barber50701 »

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?
Last edited by Barber50701 on Fri Nov 01, 2019 10:48 am, edited 1 time in total.
HeikoAdams
Junior Member
Posts: 15
Joined: Mon May 27, 2019 8:39 am

RE: Monitor Windows Server Reboots

Post by HeikoAdams »

[quote="Barber50701" pid='2979' dateline='1572618929']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?[/quote]

No, you're dead wrong that "check" is triggering a reboot.
Mit freundlichen Grüßen
 
Heiko Adams
IT-Administration/-Security
 
flyerwire GmbH
Rosenauer Straße 33
D-96487 Dörfles-Esbach
tel:  (+49) 09561 7948 62
fax:  (+49) 09561 7948 29
fb:  www.facebook.com/flyerwire
web:  www.flyerwire.com
jobs: http://www.flyerwire.com/wirueberuns-jobs.html
Barber50701
Junior Member
Posts: 3
Joined: Thu Oct 31, 2019 8:07 pm

RE: Monitor Windows Server Reboots

Post by Barber50701 »

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?
HeikoAdams
Junior Member
Posts: 15
Joined: Mon May 27, 2019 8:39 am

RE: Monitor Windows Server Reboots

Post by HeikoAdams »

Take a look at the "Uptime" advanced services. They return the current uptime of a system. If the uptime is i.e. lower 5 minutes the system probably did a reboot recently.
Mit freundlichen Grüßen
 
Heiko Adams
IT-Administration/-Security
 
flyerwire GmbH
Rosenauer Straße 33
D-96487 Dörfles-Esbach
tel:  (+49) 09561 7948 62
fax:  (+49) 09561 7948 29
fb:  www.facebook.com/flyerwire
web:  www.flyerwire.com
jobs: http://www.flyerwire.com/wirueberuns-jobs.html
Post Reply