mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaService: render intervals in a nice way
This commit is contained in:
parent
ca15817da5
commit
f4ca547ac2
@ -68,6 +68,16 @@ class IcingaService extends IcingaObject
|
||||
return $this->renderRelationProperty('host', $this->host_id, 'host_name');
|
||||
}
|
||||
|
||||
protected function renderCheck_Interval()
|
||||
{
|
||||
return $this->renderPropertyAsSeconds('check_interval');
|
||||
}
|
||||
|
||||
protected function renderRetry_Interval()
|
||||
{
|
||||
return $this->renderPropertyAsSeconds('retry_interval');
|
||||
}
|
||||
|
||||
public function hasCheckCommand()
|
||||
{
|
||||
return $this->getResolvedProperty('check_command_id') !== null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user