Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

with win2k3 i used the ups service to monitor usb connected UPS and launch scripts when ups meets critical battery condition.

The ups service is no more available in win2k8 and power management seems to be minimalist : in fact i can only choose to shutdown server in the critical battery action. I dont have the option to send a mail nor run a script in that case. I dont want to install specific software like powerchute to handle battery's alerts.

How do you monitor your ups, and run specific actions when AC is down ? Is it good to use a wmi request each X seconds to get the win32_battery counters ?

share|improve this question
    
What brand UPS most manufacturers provide an application that is better than the Windows one anyway, but I see your preference to the simplicity. –  SpacemanSpiff Dec 22 '11 at 14:05

2 Answers 2

up vote 1 down vote accepted

There is nothing built in to take more specific action in battery status (other than notify and shutdown) for more granular action you would have to write a powershell script and monitor the win32_battery class

share|improve this answer
    
ok i think this is what i'll do. –  Kayasax Dec 22 '11 at 15:20

Best practice is to use the manufacturers app because windows support for them was only ever half arsed.

I don't know what answer you expect, when you acknowledge that windows doesn't do it but you don't want to install the 3rd party app that has the functionality? Option 3: Magic unicorn.

share|improve this answer
    
well i don't want to be linked to a specific manufacturer, i would like something working with different models/brands of ups... –  Kayasax Dec 22 '11 at 14:20
2  
Don't want to be tied to a specific vendor? How often do you change UPS units, let alone vendors? –  mfinni Dec 23 '11 at 13:44
    
we have an heterogeneous parc of UPS (different manufacturers and models) and i'd like to have a working solution for all of them –  Kayasax Feb 13 at 14:30
    
you need to consider when purchasing UPSs that there isn't a standard. So your choice is reduced functionality, buy UPSs all from the same manufacturer or live with multiple proprietary software –  JamesRyan Feb 13 at 14:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.