I am wondering what the best way to monitor a servers uptime is. The idea is to alert if the server has been up for over 14 days. This means it has missed 2 scheduled reboots. Uptime (from Microsoft) can be used to get the details, but I am trying to avoid writing a script to do this. If an external application is required, I would like to use (in this ideal world) a 1 lined command line.
I am after a servers uptime, not a monitors uptime. I am using IPMonitor 8.5.
uptime.exe
www.microsoft.com/.../uptime.mspx
Uptime Output
\\<SERVER> has been up for: 2 day(s), 8 hour(s), 47 minute(s), 23 second(s)
Any Ideas?