diff --git a/library/Director/IcingaConfig/StateFilterSet.php b/library/Director/IcingaConfig/StateFilterSet.php new file mode 100644 index 00000000..7a2daecf --- /dev/null +++ b/library/Director/IcingaConfig/StateFilterSet.php @@ -0,0 +1,31 @@ +translate('Hosts') => array( + 'Up' => $this->translate('Up'), + 'Down' => $this->translate('Down') + ), + $this->translate('Services') => array( + 'OK' => $this->translate('OK'), + 'Warning' => $this->translate('Warning'), + 'Critical' => $this->translate('Critical'), + 'Unknown' => $this->translate('Unknown'), + ), + ); + } +} diff --git a/library/Director/IcingaConfig/TypeFilterSet.php b/library/Director/IcingaConfig/TypeFilterSet.php new file mode 100644 index 00000000..280e2049 --- /dev/null +++ b/library/Director/IcingaConfig/TypeFilterSet.php @@ -0,0 +1,39 @@ +translate('State changes') => array( + 'Problem' => $this->translate('Problem'), + 'Recovery' => $this->translate('Recovery'), + 'Custom' => $this->translate('Custom notification'), + ), + $this->translate('Problem handling') => array( + 'Acknowledgement' => $this->translate('Acknowledgement'), + 'DowntimeStart' => $this->translate('Downtime starts'), + 'DowntimeEnd' => $this->translate('Downtime ends'), + 'DowntimeRemoved' => $this->translate('Downtime removed'), + ), + $this->translate('Flapping') => array( + 'FlappingStart' => $this->translate('Flapping ends'), + 'FlappingEnd' => $this->translate('Flapping starts') + ) + ); + } +}