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?
Monitor Windows Server Reboots
-
- Junior Member
- Posts: 3
- Joined: Thu Oct 31, 2019 8:07 pm
Monitor Windows Server Reboots
Last edited by Barber50701 on Fri Nov 01, 2019 10:48 am, edited 1 time in total.
-
- Junior Member
- Posts: 15
- Joined: Mon May 27, 2019 8:39 am
RE: Monitor Windows Server Reboots
[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.
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
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
-
- Junior Member
- Posts: 3
- Joined: Thu Oct 31, 2019 8:07 pm
RE: Monitor Windows Server Reboots
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?
-
- Junior Member
- Posts: 15
- Joined: Mon May 27, 2019 8:39 am
RE: Monitor Windows Server Reboots
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
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