[Nut-upsdev] Is there any "fake UPS" driver (and Solaris 10+ integration)?

Kiss Gabor (Bitman) kissg at ssg.ki.iif.hu
Wed Jan 9 17:53:09 UTC 2013


> For some time I've been meaning to dig into the problem, and found
> that I need a tool to emulate poweroffs for a testbed (VM likely).
> What better tool would it be than a fake UPS driver that reports
> to NUT clients whatever I feed it (via pipe or some other mechanism)?
> 
> So I thought the NUT devs would likely have this for a long time ;)
> A cursory google search found no relevant hits, so I guess this fake
> UPS driver is not published - or I used wrong keywords... So: is there
> any ready-to-use tool/technique to fool NUT clients into believing
> they are OnLine/OnBattery/Critical and must shutdown, so that I can
> test and debug the OS-side shutdown procedures without really toggling
> power on hardware systems?

Maybe this solves your problem:
http://www.networkupstools.org/docs/man/dummy-ups.html

Regards

Gabor



More information about the Nut-upsdev mailing list