aboutsummaryrefslogtreecommitdiffstats
path: root/config/nut/status_nut.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/nut/status_nut.php')
-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)