fixed tree view services pandora_enterprise#9493
This commit is contained in:
parent
d9f48426dd
commit
b67f73539f
|
@ -4191,6 +4191,11 @@ function modules_get_counter_by_states($state)
|
|||
|
||||
function modules_get_state_condition($state, $prefix='tae')
|
||||
{
|
||||
// Not use empty state 0 -> AGENT_MODULE_STATUS_NORMAL.
|
||||
if ($state === '') {
|
||||
return '1=1';
|
||||
}
|
||||
|
||||
switch ($state) {
|
||||
case AGENT_MODULE_STATUS_CRITICAL_ALERT:
|
||||
case AGENT_MODULE_STATUS_CRITICAL_BAD:
|
||||
|
|
Loading…
Reference in New Issue