aboutsummaryrefslogtreecommitdiffstats
path: root/config/nut
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-05-27 11:31:48 -0400
committerjim-p <jimp@pfsense.org>2011-05-27 11:31:48 -0400
commitbd17982eef13b010413d70011a6af73a07216684 (patch)
treef3910e15ef2a8dfccaec32afc310f3ae3c5c920e /config/nut
parente7864eb3d45c5fabb072b6f8e904b05e38e3fdd2 (diff)
downloadpfsense-packages-bd17982eef13b010413d70011a6af73a07216684.tar.gz
pfsense-packages-bd17982eef13b010413d70011a6af73a07216684.tar.bz2
pfsense-packages-bd17982eef13b010413d70011a6af73a07216684.zip
Fix nut status name display for snmp
Diffstat (limited to 'config/nut')
-rw-r--r--config/nut/status_nut.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/nut/status_nut.php b/config/nut/status_nut.php
index 5688e72a..ca575d12 100644
--- a/config/nut/status_nut.php
+++ b/config/nut/status_nut.php
@@ -151,7 +151,7 @@ include("head.inc");
$cmd = "upsc {$nut_config['remotename']}@{$nut_config['remoteaddr']}";
} elseif($nut_config['monitor'] == 'snmp') {
tblrow('Monitoring:','SNMP UPS');
- $cmd = "upsc {$nut_config['name']}@localhost";
+ $cmd = "upsc {$nut_config['snmpname']}@localhost";
}
if($running)