Describes a single object from livestatus. More...
Public Member Functions | |
get_host_stats () | |
Get statistics about the hosts in the group. | |
get_service_stats () | |
Get statistics about the services in the group. | |
get_config_url () | |
Get configuration url. | |
disable_host_checks () | |
Ninja rule: orm_command name Disable active host checks Ninja rule: orm_command category Host Operations Ninja rule: orm_command icon disable-active-checks Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description Disables active checks for all hosts in this hostgroup. | |
disable_host_notifications () | |
Ninja rule: orm_command name Disable host notifications Ninja rule: orm_command category Host Operations Ninja rule: orm_command icon notify-disabled Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description Disable notifications for all hosts in this hostgroup. | |
disable_service_checks () | |
Ninja rule: orm_command name Disable active service checks Ninja rule: orm_command category Service Operations Ninja rule: orm_command icon disable-active-checks Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description Disables active checks for all services associated with hosts in this hostgroup. | |
disable_service_notifications () | |
Ninja rule: orm_command name Disable service notifications Ninja rule: orm_command category Service Operations Ninja rule: orm_command icon notify-disabled Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description This command is used to prevent notifications from being sent out for all services in the specified hostgroup. | |
enable_host_checks () | |
Ninja rule: orm_command name Enable active host checks Ninja rule: orm_command category Host Operations Ninja rule: orm_command icon enable Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description Enables active checks for all hosts in this hostgroup. | |
enable_host_notifications () | |
Ninja rule: orm_command name Enable host notifications Ninja rule: orm_command category Host Operations Ninja rule: orm_command icon notify Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description Enable notifications for all hosts in this hostgroup. | |
enable_service_checks () | |
Ninja rule: orm_command name Enable active service checks Ninja rule: orm_command category Service Operations Ninja rule: orm_command icon enable Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description This command is used to enable active checks of all services in the specified hostgroup. | |
enable_service_notifications () | |
Ninja rule: orm_command name Enable service notifications Ninja rule: orm_command category Service Operations Ninja rule: orm_command icon notify-send Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description This command is used to enable notifications for all services in the specified hostgroup. | |
schedule_host_downtime ($start_time, $end_time, $flexible, $duration, $trigger_id, $propagation, $comment) | |
schedule_service_downtime ($start_time, $end_time, $flexible, $duration, $trigger_id, $comment) |
Describes a single object from livestatus.
HostGroup_Model::disable_host_checks | ( | ) |
Ninja rule: orm_command name Disable active host checks Ninja rule: orm_command category Host Operations Ninja rule: orm_command icon disable-active-checks Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description Disables active checks for all hosts in this hostgroup.
Ninja rule: orm_command view monitoring/naemon_command
HostGroup_Model::disable_host_notifications | ( | ) |
Ninja rule: orm_command name Disable host notifications Ninja rule: orm_command category Host Operations Ninja rule: orm_command icon notify-disabled Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description Disable notifications for all hosts in this hostgroup.
Ninja rule: orm_command view monitoring/naemon_command
HostGroup_Model::disable_service_checks | ( | ) |
Ninja rule: orm_command name Disable active service checks Ninja rule: orm_command category Service Operations Ninja rule: orm_command icon disable-active-checks Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description Disables active checks for all services associated with hosts in this hostgroup.
Ninja rule: orm_command view monitoring/naemon_command
HostGroup_Model::disable_service_notifications | ( | ) |
Ninja rule: orm_command name Disable service notifications Ninja rule: orm_command category Service Operations Ninja rule: orm_command icon notify-disabled Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description This command is used to prevent notifications from being sent out for all services in the specified hostgroup.
You will have to re-enable notifications for all services in this hostgroup before any alerts can be sent out in the future. This does not prevent notifications from being sent out about the hosts in this hostgroup unless you check the 'Disable for hosts too' option. Ninja rule: orm_command view monitoring/naemon_command
HostGroup_Model::enable_host_checks | ( | ) |
Ninja rule: orm_command name Enable active host checks Ninja rule: orm_command category Host Operations Ninja rule: orm_command icon enable Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description Enables active checks for all hosts in this hostgroup.
Ninja rule: orm_command view monitoring/naemon_command
HostGroup_Model::enable_host_notifications | ( | ) |
Ninja rule: orm_command name Enable host notifications Ninja rule: orm_command category Host Operations Ninja rule: orm_command icon notify Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description Enable notifications for all hosts in this hostgroup.
Ninja rule: orm_command view monitoring/naemon_command
HostGroup_Model::enable_service_checks | ( | ) |
Ninja rule: orm_command name Enable active service checks Ninja rule: orm_command category Service Operations Ninja rule: orm_command icon enable Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description This command is used to enable active checks of all services in the specified hostgroup.
This does not enable active checks of the hosts in the hostgroup unless you check the 'Enable for hosts too' option. Ninja rule: orm_command view monitoring/naemon_command
HostGroup_Model::enable_service_notifications | ( | ) |
Ninja rule: orm_command name Enable service notifications Ninja rule: orm_command category Service Operations Ninja rule: orm_command icon notify-send Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description This command is used to enable notifications for all services in the specified hostgroup.
Notifications will only be sent out for the service state types you defined in your service definitions. This does not enable notifications for the hosts in this hostgroup unless you check the 'Enable for hosts too' option.
HostGroup_Model::get_config_url | ( | ) |
Get configuration url.
Ninja rule: orm depend[] name
Ninja rule: orm_command name Configure Ninja rule: orm_command category Configuration Ninja rule: orm_command icon nacoma Ninja rule: orm_command mayi_method update.command.configure Ninja rule: orm_command description Configure this hostgroup. Ninja rule: orm_command redirect 1
HostGroup_Model::get_host_stats | ( | ) |
Get statistics about the hosts in the group.
Ninja rule: orm depend[] name
HostGroup_Model::get_service_stats | ( | ) |
Get statistics about the services in the group.
Ninja rule: orm depend[] name
HostGroup_Model::schedule_host_downtime | ( | $ | start_time, | |
$ | end_time, | |||
$ | flexible, | |||
$ | duration, | |||
$ | trigger_id, | |||
$ | propagation, | |||
$ | comment | |||
) |
start_time | ||
end_time | ||
flexible | ||
duration | ||
trigger_id | ||
propagation | ||
comment | Ninja rule: orm_command name Schedule host downtime Ninja rule: orm_command category Actions Ninja rule: orm_command icon scheduled-downtime Ninja rule: orm_command mayi_method update.command.downtime |
Ninja rule: orm_command params.start_time.id 0 Ninja rule: orm_command params.start_time.type time Ninja rule: orm_command params.start_time.name Start time Ninja rule: orm_command params.start_time.default now Ninja rule: orm_command params.start_time.description Start time in the format: YYYY-MM-DD hh:mm:ss
Ninja rule: orm_command params.end_time.id 1 Ninja rule: orm_command params.end_time.type time Ninja rule: orm_command params.end_time.name End time Ninja rule: orm_command params.end_time.default now + 2hours Ninja rule: orm_command params.end_time.description End time in the format: YYYY-MM-DD hh:mm:ss
Ninja rule: orm_command params.flexible.id 2 Ninja rule: orm_command params.flexible.type bool Ninja rule: orm_command params.flexible.name Flexible Ninja rule: orm_command params.flexible.description Flexible downtime starts when the host goes down or becomes unreachable (sometime between the start and end times you specified) and lasts as long as the duration of time you enter.
Ninja rule: orm_command params.duration.id 3 Ninja rule: orm_command params.duration.type duration Ninja rule: orm_command params.duration.name Duration Ninja rule: orm_command params.duration.default 2.0 Ninja rule: orm_command params.duration.description Only for flexible downtimes. Number of hours from first problem the scheduled downtime should progress
Ninja rule: orm_command params.trigger_id.id 4 Ninja rule: orm_command params.trigger_id.type object Ninja rule: orm_command params.trigger_id.query [downtimes] all Ninja rule: orm_command params.trigger_id.name Triggering downtime Ninja rule: orm_command params.trigger_id.description Only for flexible downtimes. Which downtime that should trigger this downtime
Ninja rule: orm_command params.propagation.id 5 Ninja rule: orm_command params.propagation.type select Ninja rule: orm_command params.propagation.name Propagate to children Ninja rule: orm_command params.propagation.option[] No propagation Ninja rule: orm_command params.propagation.option[] Propagate to child hosts Ninja rule: orm_command params.propagation.option[] Propagate as triggered downtime to child hosts Ninja rule: orm_command params.propagation.description Also add this downtime to children hosts. If selecting propagation, this downtime, with its parameters, will be added to all children hosts automatically. If selected that propagation is triggered, the downtime on children hosts is registered as flexible, triggered by the selected host.
Ninja rule: orm_command params.comment.id 6 Ninja rule: orm_command params.comment.type string Ninja rule: orm_command params.comment.name Comment
Ninja rule: orm_command description This command is used to schedule downtime for all hosts in a hostgroup. During the specified downtime, Naemon will not send notifications out about the hosts. When the scheduled downtime expires, Naemon will send out notifications for the hosts as it normally would. Scheduled downtimes are preserved across program shutdowns and restarts. Ninja rule: orm_command view monitoring/naemon_command
HostGroup_Model::schedule_service_downtime | ( | $ | start_time, | |
$ | end_time, | |||
$ | flexible, | |||
$ | duration, | |||
$ | trigger_id, | |||
$ | comment | |||
) |
start_time | ||
end_time | ||
flexible | ||
duration | ||
trigger_id | ||
comment | Ninja rule: orm_command name Schedule service downtime Ninja rule: orm_command category Actions Ninja rule: orm_command icon scheduled-downtime Ninja rule: orm_command mayi_method update.command.downtime |
Ninja rule: orm_command params.start_time.id 0 Ninja rule: orm_command params.start_time.type time Ninja rule: orm_command params.start_time.name Start time Ninja rule: orm_command params.start_time.default now Ninja rule: orm_command params.start_time.description Start time in the format: YYYY-MM-DD hh:mm:ss
Ninja rule: orm_command params.end_time.id 1 Ninja rule: orm_command params.end_time.type time Ninja rule: orm_command params.end_time.name End time Ninja rule: orm_command params.end_time.default now + 2hours Ninja rule: orm_command params.end_time.description End time in the format: YYYY-MM-DD hh:mm:ss
Ninja rule: orm_command params.flexible.id 2 Ninja rule: orm_command params.flexible.type bool Ninja rule: orm_command params.flexible.name Flexible Ninja rule: orm_command params.flexible.description Flexible downtime starts when the service get a problem state (sometime between the start and end times you specified) and lasts as long as the duration of time you enter.
Ninja rule: orm_command params.duration.id 3 Ninja rule: orm_command params.duration.type duration Ninja rule: orm_command params.duration.name Duration Ninja rule: orm_command params.duration.default 2.0 Ninja rule: orm_command params.duration.description Only for flexible downtimes. Number of hours from first problem the scheduled downtime should progress
Ninja rule: orm_command params.trigger_id.id 4 Ninja rule: orm_command params.trigger_id.type object Ninja rule: orm_command params.trigger_id.query [downtimes] all Ninja rule: orm_command params.trigger_id.name Triggering downtime Ninja rule: orm_command params.trigger_id.description Only for flexible downtimes. Which downtime that should trigger this downtime
Ninja rule: orm_command params.comment.id 5 Ninja rule: orm_command params.comment.type string Ninja rule: orm_command params.comment.name Comment
Ninja rule: orm_command description This command is used to schedule downtime for all services in a hostgroup. During the specified downtime, Naemon will not send notifications out about the services. When the scheduled downtime expires, Naemon will send out notifications for the services as it normally would. Scheduled downtimes are preserved across program shutdowns and restarts. Ninja rule: orm_command view monitoring/naemon_command