mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-20 23:00:16 -05:00
Node: set missing state class if node is missing
Does not yet work for process nodes, we might be forced to introduce a full-blown "missing flag" for our numeric state
This commit is contained in:
parent
9c2f5e0063
commit
98358cc64a
1 changed files with 1 additions and 0 deletions
|
|
@ -256,6 +256,7 @@ abstract class Node
|
|||
{
|
||||
$id = $this->getId($prefix);
|
||||
$state = strtolower($this->getStateName());
|
||||
if ($this->isMissing()) $state = 'missing';
|
||||
$handled = $this->isAcknowledged() || $this->isInDowntime();
|
||||
$html = sprintf(
|
||||
'<table class="bp %s%s%s" id="%s"><tbody><tr>',
|
||||
|
|
|
|||
Loading…
Reference in a new issue