From bd17982eef13b010413d70011a6af73a07216684 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 27 May 2011 11:31:48 -0400 Subject: Fix nut status name display for snmp --- config/nut/status_nut.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3