NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Retired_Member
May 16, 2018UPS via NUT?
Is there any way I can access a UPS (via NUT) through the web interface?
In OS 6.9.2 I have "Enable network monitoring of attached UPS" ticked, and Network UPS Tools upsmon 2.7.4 is running on...
- May 16, 2018
Retired_Member wrote:
Is there any way I can access a UPS (via NUT) through the web interface?
In OS 6.9.2 I have "Enable network monitoring of attached UPS" ticked,
That control is to allow other devices to get UPS messages, so they will also shutdown when the battery drains. It doesn't give you web access or more control over settings. If the PC is always on, you could try reverse the setup (connecting the UPS cable to the PC, and remotely monitoring the UPS in the NAS).
There is some information in the log zip file - for instance ups.log, usb_devices.log. Error messages show up in dmesg.log, kernel.log, and system.log.
From the NAS shell, you can get the UPS status via upsc UPS. Both upscmd and upsrw are installed, but changes you make there might not be sticky (e.g., might not survive a NAS reboot or a firmware upgrade).
StephenB
May 16, 2018Guru - Experienced User
Retired_Member wrote:
Is there any way I can access a UPS (via NUT) through the web interface?
In OS 6.9.2 I have "Enable network monitoring of attached UPS" ticked,
That control is to allow other devices to get UPS messages, so they will also shutdown when the battery drains. It doesn't give you web access or more control over settings. If the PC is always on, you could try reverse the setup (connecting the UPS cable to the PC, and remotely monitoring the UPS in the NAS).
There is some information in the log zip file - for instance ups.log, usb_devices.log. Error messages show up in dmesg.log, kernel.log, and system.log.
From the NAS shell, you can get the UPS status via upsc UPS. Both upscmd and upsrw are installed, but changes you make there might not be sticky (e.g., might not survive a NAS reboot or a firmware upgrade).
Retired_Member
May 17, 2018cool, I'll use this to display that info :)
<?php
$cmd = 'date;upsc UPS';
while (@ ob_end_flush());
$upsinfo= popen($cmd, 'r');
echo '<head><meta http-equiv=refresh content=5><pre>';
while (!feof($upsinfo)) {echo fread($upsinfo, 4096);@ flush();}
echo '</pre></head>';
?>
...next, i'll look at graphing it.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!