3CX, monitor unregistered trunks
This commit is contained in:
parent
8e6d0f2fa0
commit
66fd85a70d
|
@ -127,6 +127,12 @@ sub manage_selection {
|
||||||
health => $single->{$item} ? 'true' : 'false',
|
health => $single->{$item} ? 'true' : 'false',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
# As per 3CX support, $single->{Trunks} does not trigger if TrunksRegistered != TrunksTotal,
|
||||||
|
# but only if "trunk is unsupported", so let's workaround
|
||||||
|
$self->{service}->{HasUnregisteredTrunks} = {
|
||||||
|
display => 'HasUnregisteredTrunks',
|
||||||
|
health => ($system->{TrunksRegistered} < $system->{TrunksTotal}) ? 'false' : 'true',
|
||||||
|
};
|
||||||
$self->{service}->{HasNotRunningServices} = {
|
$self->{service}->{HasNotRunningServices} = {
|
||||||
display => 'HasNotRunningServices',
|
display => 'HasNotRunningServices',
|
||||||
health => $system->{HasNotRunningServices} ? 'false' : 'true',
|
health => $system->{HasNotRunningServices} ? 'false' : 'true',
|
||||||
|
|
Loading…
Reference in New Issue