+ Fix audiocodes trunk-status mode

This commit is contained in:
garnier-quentin 2017-03-17 11:33:14 +01:00
parent 20f43fc4d6
commit b43ac8d378
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,7 @@ sub custom_status_threshold {
sub custom_status_output {
my ($self, %options) = @_;
my $msg = 'alarm status : ' . $self->{result_values}->{alarm} . ' [state: ' . $self->{result_values}->{state} . ']');
my $msg = 'alarm status : ' . $self->{result_values}->{alarm} . ' [state: ' . $self->{result_values}->{state} . ']';
return $msg;
}
@ -145,6 +145,7 @@ sub manage_selection {
$self->{trunk} = {};
my $snmp_result = $options{snmp}->get_multiple_table(oids => [
{ oid => $mapping->{acTrunkName}->{oid} },
{ oid => $mapping->{acTrunkDeactivate}->{oid} },
{ oid => $oid_acTrunkStatusEntry },
], nothing_quit => 1, return_type => 1);