How to monitor and track metrics about whether a Windows 7 machine is in standby, turned off or exiting these states?


#1

Hi,

I have researched this for several days now and have not found any answer. I looks to me as nobody has ever done this before?

I am trying to use Nagios to monitor Windows stations through NSClient++.

I would like to be able to get alerts if a machine is suddenly off the network (crashed or forced power off). However I would like to be able do differenciate between events such as stand-by or proper shutdown. All these events I would like to collect later on in Graphite or Graphana (I have not gotten that far yet).

Is it really not possible to implement this kind of basic tracking of machine status?

Any ideas on how to implement this kind of monitoring in the first place? Should this not be doable through WMI?

Many thanks in advance!