From 62ad1afc0be3ac3683ecbec13e916a9ebb62d3f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Rameau?= Date: Tue, 15 Mar 2016 14:28:31 +0100 Subject: [PATCH] Update users.pm --- network/ucopia/wlc/snmp/mode/users.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/ucopia/wlc/snmp/mode/users.pm b/network/ucopia/wlc/snmp/mode/users.pm index 2be97c1c8..51c0b0d50 100644 --- a/network/ucopia/wlc/snmp/mode/users.pm +++ b/network/ucopia/wlc/snmp/mode/users.pm @@ -65,8 +65,8 @@ sub run { $result->{$oid_licenceUsers} = undef if ($result->{$oid_licenceUsers} == 0); $self->{output}->output_add(severity => $exit, short_msg => sprintf("'%d' connected users (Available licence: %s)", - $result->{$oid_totalConnectedUsers}), - defined($result->{$oid_licenceUsers}) ? $result->{$oid_licenceUsers} : '-'); + $result->{$oid_totalConnectedUsers}, + defined($result->{$oid_licenceUsers}) ? $result->{$oid_licenceUsers} : '-')); $self->{output}->perfdata_add(value => $result->{$oid_totalConnectedUsers}, label => 'users', warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning'), critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical'),