mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 00:55:18 +02:00
+ Fix audiocodes trunk-status mode
This commit is contained in:
parent
bf6221f0b5
commit
0ac46dd260
@ -54,7 +54,7 @@ sub custom_status_threshold {
|
|||||||
sub custom_status_output {
|
sub custom_status_output {
|
||||||
my ($self, %options) = @_;
|
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;
|
return $msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -145,6 +145,7 @@ sub manage_selection {
|
|||||||
$self->{trunk} = {};
|
$self->{trunk} = {};
|
||||||
my $snmp_result = $options{snmp}->get_multiple_table(oids => [
|
my $snmp_result = $options{snmp}->get_multiple_table(oids => [
|
||||||
{ oid => $mapping->{acTrunkName}->{oid} },
|
{ oid => $mapping->{acTrunkName}->{oid} },
|
||||||
|
{ oid => $mapping->{acTrunkDeactivate}->{oid} },
|
||||||
{ oid => $oid_acTrunkStatusEntry },
|
{ oid => $oid_acTrunkStatusEntry },
|
||||||
], nothing_quit => 1, return_type => 1);
|
], nothing_quit => 1, return_type => 1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user