> 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 _______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
