diff --git a/centreon-plugins/hardware/telephony/avaya/mediagateway/snmp/mode/controllerstatus.pm b/centreon-plugins/hardware/telephony/avaya/mediagateway/snmp/mode/controllerstatus.pm index 18f1442e5..da95c1044 100644 --- a/centreon-plugins/hardware/telephony/avaya/mediagateway/snmp/mode/controllerstatus.pm +++ b/centreon-plugins/hardware/telephony/avaya/mediagateway/snmp/mode/controllerstatus.pm @@ -66,9 +66,9 @@ sub new { bless $self, $class; $options{options}->add_options(arguments => { - "unknown-status:s" => { name => 'unknown_status', default => '' }, - "warning-status:s" => { name => 'warning_status', default => '' }, - "critical-status:s" => { name => 'critical_status', default => '%{h248_link_status} =~ /down/i || %{registration_state} =~ /notRegistred/i' }, + 'unknown-status:s' => { name => 'unknown_status', default => '' }, + 'warning-status:s' => { name => 'warning_status', default => '' }, + 'critical-status:s' => { name => 'critical_status', default => '%{h248_link_status} =~ /down/i || %{registration_state} =~ /notRegistred/i' }, }); return $self; @@ -120,12 +120,12 @@ Check controller status. =item B<--unknown-status> -Set warning threshold for status (Default: '%{status} =~ /unknown/i'). +Set unknown threshold for status (Default: ''). Can used special variables like: %{h248_link_status}, %{registration_state} =item B<--warning-status> -Set warning threshold for status (Default: '%{status} =~ /batteryLow/i'). +Set warning threshold for status (Default: ''). Can used special variables like: %{h248_link_status}, %{registration_state} =item B<--critical-status>