Describes a single object from livestatus. More...
Public Member Functions | |
get_state_text () | |
Get state, as text. | |
get_checks_disabled () | |
get if checks are disabled | |
get_first_group () | |
Get the first host group of the host group memberships. | |
get_long_plugin_output () | |
Get the long plugin output, which is second line and forward. | |
get_duration () | |
Get duration. | |
get_comments_count () | |
get the number of comments associated to the host | |
get_state_type_text () | |
Return the state type, as text in uppercase. | |
get_check_type_str () | |
Get check type, as a string ("active" or "passive"). | |
get_custom_commands () | |
Get a list of custom commands for the host. | |
get_config_allowed ($auth=false) | |
Get if having access to configure the host. | |
get_notes_url () | |
Get notes url. | |
get_action_url () | |
Get action url. | |
get_source_node () | |
Get which merlin node handling the check. | |
get_source_type () | |
Get which merlin node handling the check. | |
get_perf_data () | |
Get the performance data for the object, expressed as an associative array. | |
check_now () | |
Trigger this host to be checked right now. | |
acknowledge_problem ($comment, $sticky=true, $notify=true, $persistent=true) | |
get_unacknowledged_problem () | |
Returns if the host has a problem which is unacknowledged. | |
remove_acknowledgement () | |
Ninja rule: orm_command name Remove acknowledgement Ninja rule: orm_command category Actions Ninja rule: orm_command icon acknowledged-not Ninja rule: orm_command mayi_method update.command.acknowledge Ninja rule: orm_command description This command is used to remove an acknowledgement for a host problem. | |
get_acknowledged_problem () | |
Returns if the host has a problem which is acknowledged. | |
add_comment ($comment) | |
enable_check () | |
disable_check () | |
Ninja rule: orm_command name Disable active checks Ninja rule: orm_command category Operations Ninja rule: orm_command icon disable-active-checks Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description This command is used to temporarily prevent Nagios from actively checking the status of a host. | |
process_check_result ($plugin_output, $status_code, $perf_data=null) | |
schedule_check ($check_time, $forced=false) | |
schedule_downtime ($start_time, $end_time, $flexible, $duration, $trigger_id, $propagation, $comment) | |
cancel_all_downtimes () | |
Ninja rule: orm_command name Cancel all downtimes Ninja rule: orm_command category Actions Ninja rule: orm_command icon delete-downtime Ninja rule: orm_command mayi_method delete.command.delete Ninja rule: orm_command description Cancel all scheduled downtime entries for the host. | |
send_notification ($comment, $broadcast, $force_notification) | |
enable_service_notifications () | |
Ninja rule: orm_command name Enable notifications for all services 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 on the specified host. | |
disable_service_notifications () | |
Ninja rule: orm_command name Disable notifications for all services 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 on the specified host. | |
enable_service_checks () | |
Ninja rule: orm_command name Enable checks of all services 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 associated with the specified host. | |
disable_service_checks () | |
Ninja rule: orm_command name Disable checks of all services 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 This command is used to disable active checks of all services associated with the specified host. | |
locate_on_nagvis_map () | |
Ninja rule: orm_command name Locate host on map Ninja rule: orm_command category Links Ninja rule: orm_command icon locate-host-on-map Ninja rule: orm_command mayi_method read.nagvis Ninja rule: orm_command description Find the host on a nagvis automap. | |
notifications () | |
Ninja rule: orm_command name Notifications Ninja rule: orm_command category Links Ninja rule: orm_command icon notification Ninja rule: orm_command mayi_method read Ninja rule: orm_command description Show host notifications. | |
graphs () | |
Ninja rule: orm_command name Graphs Ninja rule: orm_command category Links Ninja rule: orm_command icon pnp Ninja rule: orm_command mayi_method read Ninja rule: orm_command description Show host graphs. | |
schedule_service_checks ($check_time, $forced=false) | |
stop_obsessing () | |
Ninja rule: orm_command name Stop obsessing over this host Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-disabled Ninja rule: orm_command mayi_method update.command.obsess Ninja rule: orm_command description Disables processing of host checks via the OCHP command for the specified host. | |
start_obsessing () | |
Ninja rule: orm_command name Start obsessing over this host Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-enabled Ninja rule: orm_command mayi_method update.command.obsess Ninja rule: orm_command description Disables processing of host checks via the OCHP command for the specified host. | |
stop_accept_passive_checks () | |
Ninja rule: orm_command name Stop accepting passive checks Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-disabled Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description Stop accepting new passive host check results Ninja rule: orm_command enabled_if accept_passive_checks Ninja rule: orm_command view monitoring/naemon_command. | |
start_accept_passive_checks () | |
Ninja rule: orm_command name Start accepting passive checks for Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-enabled Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description Start accepting new passive host check results Ninja rule: orm_command enabled_if !accept_passive_checks Ninja rule: orm_command view monitoring/naemon_command. | |
stop_notifications () | |
Ninja rule: orm_command name Disable notifications Ninja rule: orm_command category Operations Ninja rule: orm_command icon notify-disabled Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description Disable notifications from this host. | |
start_notifications () | |
Ninja rule: orm_command name Enable notifications Ninja rule: orm_command category Operations Ninja rule: orm_command icon notify Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description Enable notifications from this host. | |
stop_event_handler () | |
Ninja rule: orm_command name Disable event handler Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-disabled Ninja rule: orm_command mayi_method update.command.event_handler Ninja rule: orm_command description Disable execution of the custom event handler for this host. | |
start_event_handler () | |
Ninja rule: orm_command name Enable event handler Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-enabled Ninja rule: orm_command mayi_method update.command.event_handler Ninja rule: orm_command description Enable execution of the custom event handler for this host. | |
stop_flap_detection () | |
Ninja rule: orm_command name Disable flap detection Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-disabled Ninja rule: orm_command mayi_method update.command.flap_detection Ninja rule: orm_command description Disable analysis of this host is flapping. | |
start_flap_detection () | |
Ninja rule: orm_command name Enable flap detection Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-enabled Ninja rule: orm_command mayi_method update.command.flap_detection Ninja rule: orm_command description Enable analysis of this host is flapping. | |
get_config_url () | |
Get configuration url. | |
delete () | |
Ninja rule: orm_command name Delete Ninja rule: orm_command category Configuration Ninja rule: orm_command icon delete Ninja rule: orm_command mayi_method delete.command.delete Ninja rule: orm_command description Delete the host in Nacoma, and queue it in the changelog. | |
get_public_custom_variables () | |
Returns the public custom variables of an object. |
Describes a single object from livestatus.
Host_Model::acknowledge_problem | ( | $ | comment, | |
$ | sticky = true , |
|||
$ | notify = true , |
|||
$ | persistent = true | |||
) |
comment | ||
persistent | = true | |
notify | = true | |
sticky | = true |
Ninja rule: orm_command name Acknowledge Problem Ninja rule: orm_command category Actions Ninja rule: orm_command icon acknowledged
Ninja rule: orm_command params.comment.id 0 Ninja rule: orm_command params.comment.type string Ninja rule: orm_command params.comment.name Comment
Ninja rule: orm_command params.sticky.id 1 Ninja rule: orm_command params.sticky.type bool Ninja rule: orm_command params.sticky.name Sticky Ninja rule: orm_command params.sticky.default 1 Ninja rule: orm_command params.sticky.description If you want acknowledgement to disable notifications until the host recovers, check this checkbox.
Ninja rule: orm_command params.notify.id 2 Ninja rule: orm_command params.notify.type bool Ninja rule: orm_command params.notify.name Notify Ninja rule: orm_command params.notify.default 1 Ninja rule: orm_command params.notify.description If you want an acknowledgement notification sent out to the appropriate contacts, check this checkbox.
Ninja rule: orm_command params.persistent.id 3 Ninja rule: orm_command params.persistent.type bool Ninja rule: orm_command params.persistent.name Persistent Ninja rule: orm_command params.persistent.default 1 Ninja rule: orm_command params.persistent.description If you would like the host comment to remain once the acknowledgement is removed, check this checkbox.
Ninja rule: orm_command mayi_method update.command.acknowledge Ninja rule: orm_command description This command is used to acknowledge a host problem. When a host problem is acknowledged, future notifications about problems are temporarily disabled until the host changes from its current state. If you want acknowledgement to disable notifications until the host recovers, check the 'Sticky Acknowledgement' checkbox. Contacts for this host will receive a notification about the acknowledgement, so they are aware that someone is working on the problem. Additionally, a comment will also be added to the host. Make sure to enter your name and fill in a brief description of what you are doing in the comment field. If you would like the host comment to remain once the acknowledgement is removed, check the 'Persistent Comment' checkbox. If you do not want an acknowledgement notification sent out to the appropriate contacts, uncheck the 'Notify' checkbox. Ninja rule: orm_command enabled_if unacknowledged_problem Ninja rule: orm_command view monitoring/naemon_command
Host_Model::add_comment | ( | $ | comment | ) |
comment | Ninja rule: orm_command name Add a new comment Ninja rule: orm_command category Actions Ninja rule: orm_command icon add-comment |
Ninja rule: orm_command params.comment.id 0 Ninja rule: orm_command params.comment.type string Ninja rule: orm_command params.comment.name Comment
Ninja rule: orm_command mayi_method update.command.comment Ninja rule: orm_command description This command is used to add a comment for the specified host. If you work with other administrators, you may find it useful to share information about a host that is having problems if more than one of you may be working on it. Ninja rule: orm_command view monitoring/naemon_command
Host_Model::cancel_all_downtimes | ( | ) |
Ninja rule: orm_command name Cancel all downtimes Ninja rule: orm_command category Actions Ninja rule: orm_command icon delete-downtime Ninja rule: orm_command mayi_method delete.command.delete Ninja rule: orm_command description Cancel all scheduled downtime entries for the host.
Ninja rule: orm_command view monitoring/naemon_command
Host_Model::check_now | ( | ) |
Trigger this host to be checked right now.
Ninja rule: orm_command name Check now Ninja rule: orm_command category Actions Ninja rule: orm_command icon re-schedule Ninja rule: orm_command mayi_method update.command.schedule Ninja rule: orm_command description Schedule the next check as soon as possible Ninja rule: orm_command view monitoring/naemon_command
Host_Model::delete | ( | ) |
Ninja rule: orm_command name Delete Ninja rule: orm_command category Configuration Ninja rule: orm_command icon delete Ninja rule: orm_command mayi_method delete.command.delete Ninja rule: orm_command description Delete the host in Nacoma, and queue it in the changelog.
The changes still needs to be published in nacoma before the host is removed from the running config Ninja rule: orm_command view monitoring/nacoma_command
Host_Model::disable_check | ( | ) |
Ninja rule: orm_command name Disable active checks Ninja rule: orm_command category Operations Ninja rule: orm_command icon disable-active-checks Ninja rule: orm_command mayi_method update.command.enabled Ninja rule: orm_command description This command is used to temporarily prevent Nagios from actively checking the status of a host.
If Nagios needs to check the status of this host, it will assume that it is in the same state that it was in before checks were disabled. Ninja rule: orm_command enabled_if checks_enabled Ninja rule: orm_command view monitoring/naemon_command
Host_Model::disable_service_checks | ( | ) |
Ninja rule: orm_command name Disable checks of all services 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 This command is used to disable active checks of all services associated with the specified host.
When a service is disabled Naemon will not monitor the service. Doing this will prevent any notifications being sent out for the specified service while it is disabled. In order to have Nagios check the service in the future you will have to re-enable the service. Note that disabling service checks may not necessarily prevent notifications from being sent out about the host which those services are associated with. This does not disable checks of the host unless you check the 'Disable for host too' option. Ninja rule: orm_command view monitoring/naemon_command
Host_Model::disable_service_notifications | ( | ) |
Ninja rule: orm_command name Disable notifications for all services 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 on the specified host.
You will have to re-enable notifications for all services associated with this host before any alerts can be sent out in the future. This does not prevent notifications from being sent out about the host unless you check the 'Disable for host too' option. Ninja rule: orm_command view monitoring/naemon_command
Host_Model::enable_check | ( | ) |
Ninja rule: orm_command name Enable active checks Ninja rule: orm_command category 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 this host. Ninja rule: orm_command enabled_if checks_disabled Ninja rule: orm_command view monitoring/naemon_command
Host_Model::enable_service_checks | ( | ) |
Ninja rule: orm_command name Enable checks of all services 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 associated with the specified host.
This does not enable checks of the host unless you check the 'Enable for host too' option. Ninja rule: orm_command view monitoring/naemon_command
Host_Model::enable_service_notifications | ( | ) |
Ninja rule: orm_command name Enable notifications for all services 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 on the specified host.
Notifications will only be sent out for the service state types you defined in your service definition. This does not enable notifications for the host unless you check the 'Enable for host too' option. Ninja rule: orm_command view monitoring/naemon_command
Host_Model::get_acknowledged_problem | ( | ) |
Returns if the host has a problem which is acknowledged.
Ninja rule: orm export false Ninja rule: orm depend[] state Ninja rule: orm depend[] has_been_checked Ninja rule: orm depend[] acknowledged
Host_Model::get_action_url | ( | ) |
Get action url.
Ninja rule: orm_command name Actions Ninja rule: orm_command category Links Ninja rule: orm_command icon host-actions Ninja rule: orm_command mayi_method read.extinfo Ninja rule: orm_command description Follow the action link Ninja rule: orm_command enabled_if action_url Ninja rule: orm_command redirect 1
Reimplemented from BaseHost_Model.
Host_Model::get_check_type_str | ( | ) |
Get check type, as a string ("active" or "passive").
Ninja rule: orm depend[] check_type
Host_Model::get_checks_disabled | ( | ) |
get if checks are disabled
Ninja rule: orm depend[] active_checks_enabled
Host_Model::get_comments_count | ( | ) |
get the number of comments associated to the host
Ninja rule: orm depend[] comments
Host_Model::get_config_allowed | ( | $ | auth = false |
) |
Get if having access to configure the host.
$auth | op5auth module to use, if not default |
Ninja rule: orm depend[] contacts
Host_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 host Ninja rule: orm_command enabled_if config_allowed Ninja rule: orm_command redirect 1
Host_Model::get_custom_commands | ( | ) |
Get a list of custom commands for the host.
Ninja rule: orm depend[] custom_variables
Host_Model::get_duration | ( | ) |
Get duration.
Ninja rule: orm depend[] last_state_change
Host_Model::get_first_group | ( | ) |
Get the first host group of the host group memberships.
Ninja rule: orm depend[] groups
Host_Model::get_long_plugin_output | ( | ) |
Get the long plugin output, which is second line and forward.
By some reason, nagios escapes this field.
Reimplemented from BaseHost_Model.
Host_Model::get_notes_url | ( | ) |
Get notes url.
Ninja rule: orm_command name Notes Ninja rule: orm_command category Links Ninja rule: orm_command icon host-notes Ninja rule: orm_command mayi_method read.extinfo Ninja rule: orm_command description Follow the notes links Ninja rule: orm_command enabled_if notes_url Ninja rule: orm_command redirect 1
Reimplemented from BaseHost_Model.
Host_Model::get_perf_data | ( | ) |
Get the performance data for the object, expressed as an associative array.
Ninja rule: orm depend[] perf_data_raw
Host_Model::get_public_custom_variables | ( | ) |
Returns the public custom variables of an object.
Ninja rule: orm depend[] custom_variables
Host_Model::get_source_node | ( | ) |
Get which merlin node handling the check.
This is determined by magic regexp parsing of the check_source field
Ninja rule: orm depend[] check_source
Host_Model::get_source_type | ( | ) |
Get which merlin node handling the check.
This is determined by magic regexp parsing of the check_source field
Ninja rule: orm depend[] check_source
Host_Model::get_state_text | ( | ) |
Get state, as text.
Ninja rule: orm depend[] state Ninja rule: orm depend[] has_been_checked
Host_Model::get_state_type_text | ( | ) |
Return the state type, as text in uppercase.
Ninja rule: orm depend[] state_type
Host_Model::get_unacknowledged_problem | ( | ) |
Returns if the host has a problem which is unacknowledged.
Ninja rule: orm export false Ninja rule: orm depend[] state Ninja rule: orm depend[] has_been_checked Ninja rule: orm depend[] acknowledged
Host_Model::graphs | ( | ) |
Host_Model::locate_on_nagvis_map | ( | ) |
Ninja rule: orm_command name Locate host on map Ninja rule: orm_command category Links Ninja rule: orm_command icon locate-host-on-map Ninja rule: orm_command mayi_method read.nagvis Ninja rule: orm_command description Find the host on a nagvis automap.
Ninja rule: orm_command redirect 1
Host_Model::notifications | ( | ) |
Ninja rule: orm_command name Notifications Ninja rule: orm_command category Links Ninja rule: orm_command icon notification Ninja rule: orm_command mayi_method read Ninja rule: orm_command description Show host notifications.
Ninja rule: orm_command redirect 1
Host_Model::process_check_result | ( | $ | plugin_output, | |
$ | status_code, | |||
$ | perf_data = null | |||
) |
plugin_output | ||
status_code | ||
perf_data | Ninja rule: orm_command name Submit passive check result Ninja rule: orm_command category Actions Ninja rule: orm_command icon checks-passive Ninja rule: orm_command mayi_method update.command.passive |
Ninja rule: orm_command params.plugin_output.id 0 Ninja rule: orm_command params.plugin_output.type string Ninja rule: orm_command params.plugin_output.name Plugin output Ninja rule: orm_command params.plugin_output.description The status string reported as plugin output
Ninja rule: orm_command params.status_code.id 1 Ninja rule: orm_command params.status_code.type select Ninja rule: orm_command params.status_code.name Status code Ninja rule: orm_command params.status_code.option[] Up Ninja rule: orm_command params.status_code.option[] Down Ninja rule: orm_command params.status_code.option[] Unreachable
Ninja rule: orm_command params.perf_data.id 2 Ninja rule: orm_command params.perf_data.type string Ninja rule: orm_command params.perf_data.name Perf data Ninja rule: orm_command params.perf_data.description Performance data, formatted as monitoring-plugins defines
Ninja rule: orm_command description This command is used to submit a passive check result for a host. Ninja rule: orm_command enabled_if accept_passive_checks Ninja rule: orm_command view monitoring/naemon_command
Host_Model::remove_acknowledgement | ( | ) |
Ninja rule: orm_command name Remove acknowledgement Ninja rule: orm_command category Actions Ninja rule: orm_command icon acknowledged-not Ninja rule: orm_command mayi_method update.command.acknowledge Ninja rule: orm_command description This command is used to remove an acknowledgement for a host problem.
Once the acknowledgement is removed, notifications may start being sent out about the host problem. Ninja rule: orm_command enabled_if acknowledged_problem Ninja rule: orm_command view monitoring/naemon_command
Host_Model::schedule_check | ( | $ | check_time, | |
$ | forced = false | |||
) |
check_time | ||
forced | = false |
Ninja rule: orm_command name Re-schedule next host check Ninja rule: orm_command category Actions Ninja rule: orm_command icon re-schedule Ninja rule: orm_command mayi_method update.command.schedule
Ninja rule: orm_command params.check_time.id 0 Ninja rule: orm_command params.check_time.type time Ninja rule: orm_command params.check_time.name Check time Ninja rule: orm_command params.check_time.default now Ninja rule: orm_command params.check_time.description Enter a check time in the format: YYYY-MM-DD hh:mm::ss
Ninja rule: orm_command params.forced.id 1 Ninja rule: orm_command params.forced.type bool Ninja rule: orm_command params.forced.name Force check Ninja rule: orm_command params.forced.default 1 Ninja rule: orm_command params.forced.description If you want Naemon to force a check of the host regardless of both what time the scheduled check occurs and whether or not checks are enabled for the host, check this checkbox.
Ninja rule: orm_command description This command is used to schedule the next check of a host. Naemon will re-queue the host to be checked at the time you specify. If you select the force check option, Naemon will force a check of the host regardless of both what time the scheduled check occurs and whether or not checks are enabled for the host. Ninja rule: orm_command enabled_if checks_enabled Ninja rule: orm_command view monitoring/naemon_command
Host_Model::schedule_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 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 a host. During the specified downtime, Naemon will not send notifications out about the host. When the scheduled downtime expires, Naemon will send out notifications for this host as it normally would. Scheduled downtimes are preserved across program shutdowns and restarts. Ninja rule: orm_command view monitoring/naemon_command
Host_Model::schedule_service_checks | ( | $ | check_time, | |
$ | forced = false | |||
) |
check_time | ||
forced | = false |
Ninja rule: orm_command name Schedule a check of all services Ninja rule: orm_command category Service Operations Ninja rule: orm_command icon re-schedule Ninja rule: orm_command mayi_method update.command.schedule
Ninja rule: orm_command params.check_time.id 0 Ninja rule: orm_command params.check_time.type time Ninja rule: orm_command params.check_time.name Check time Ninja rule: orm_command params.check_time.default now Ninja rule: orm_command params.check_time.description Enter a check time in the format: YYYY-MM-DD hh:mm::ss
Ninja rule: orm_command params.forced.id 1 Ninja rule: orm_command params.forced.type bool Ninja rule: orm_command params.forced.name Forced Ninja rule: orm_command params.forced.default 1 Ninja rule: orm_command params.forced.description If you want Naemon to force a check of the services regardless of both what time the scheduled check occurs and whether or not checks are enabled for the services, check this checkbox.
Ninja rule: orm_command description This command is used to scheduled the next check of all services on the specified host. If you select the force check option, Naemon will force a check of all services on the host regardless of both what time the scheduled checks occur and whether or not checks are enabled for those services. Ninja rule: orm_command view monitoring/naemon_command
Host_Model::send_notification | ( | $ | comment, | |
$ | broadcast, | |||
$ | force_notification | |||
) |
comment | ||
broadcast | ||
force_notification | Ninja rule: orm_command name Send custom notification Ninja rule: orm_command category Actions Ninja rule: orm_command icon notify-send Ninja rule: orm_command mayi_method update.command.send_notification |
Ninja rule: orm_command params.comment.id 0 Ninja rule: orm_command params.comment.type string Ninja rule: orm_command params.comment.name Comment
Ninja rule: orm_command params.broadcast.id 1 Ninja rule: orm_command params.broadcast.type bool Ninja rule: orm_command params.broadcast.name Broadcast Ninja rule: orm_command params.broadcast.default 0
Ninja rule: orm_command params.force_notification.id 2 Ninja rule: orm_command params.force_notification.type bool Ninja rule: orm_command params.force_notification.name Force notification Ninja rule: orm_command params.force_notification.default 0
Ninja rule: orm_command description This command is used to send a custom notification about the specified host. Useful in emergencies when you need to notify admins of an issue regarding a monitored system or service. Custom notifications normally follow the regular notification logic in Naemon. Selecting the Forced option will force the notification to be sent out, regardless of the time restrictions, whether or not notifications are enabled, etc. Selecting the Broadcast option causes the notification to be sent out to all normal (non-escalated) and escalated contacts. These options allow you to override the normal notification logic if you need to get an important message out. Ninja rule: orm_command view monitoring/naemon_command
Host_Model::start_event_handler | ( | ) |
Ninja rule: orm_command name Enable event handler Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-enabled Ninja rule: orm_command mayi_method update.command.event_handler Ninja rule: orm_command description Enable execution of the custom event handler for this host.
Ninja rule: orm_command enabled_if !event_handler_enabled Ninja rule: orm_command view monitoring/naemon_command
Host_Model::start_flap_detection | ( | ) |
Ninja rule: orm_command name Enable flap detection Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-enabled Ninja rule: orm_command mayi_method update.command.flap_detection Ninja rule: orm_command description Enable analysis of this host is flapping.
If flap detection analysis is enabled, the host will trigger flapping notification when the host starts to rapidly change between states, instead of sending lot of notifications for every state change. Ninja rule: orm_command enabled_if !flap_detection_enabled Ninja rule: orm_command view monitoring/naemon_command
Host_Model::start_notifications | ( | ) |
Ninja rule: orm_command name Enable notifications Ninja rule: orm_command category Operations Ninja rule: orm_command icon notify Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description Enable notifications from this host.
Contacts for this host will be contacted if this host are having trouble, if there are no other reason for notifications to be prevented, like scheduled downtime or reachabilitiy. Ninja rule: orm_command enabled_if !notifications_enabled Ninja rule: orm_command view monitoring/naemon_command
Host_Model::start_obsessing | ( | ) |
Ninja rule: orm_command name Start obsessing over this host Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-enabled Ninja rule: orm_command mayi_method update.command.obsess Ninja rule: orm_command description Disables processing of host checks via the OCHP command for the specified host.
Ninja rule: orm_command enabled_if !obsess Ninja rule: orm_command view monitoring/naemon_command
Host_Model::stop_event_handler | ( | ) |
Ninja rule: orm_command name Disable event handler Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-disabled Ninja rule: orm_command mayi_method update.command.event_handler Ninja rule: orm_command description Disable execution of the custom event handler for this host.
Ninja rule: orm_command enabled_if event_handler_enabled Ninja rule: orm_command view monitoring/naemon_command
Host_Model::stop_flap_detection | ( | ) |
Ninja rule: orm_command name Disable flap detection Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-disabled Ninja rule: orm_command mayi_method update.command.flap_detection Ninja rule: orm_command description Disable analysis of this host is flapping.
If no flap detection analysis is enabled, the host will trigger a problem and recovery notification every time the host goes up or down, not only just a "flapping" notification when it starts flapping, Ninja rule: orm_command enabled_if flap_detection_enabled Ninja rule: orm_command view monitoring/naemon_command
Host_Model::stop_notifications | ( | ) |
Ninja rule: orm_command name Disable notifications Ninja rule: orm_command category Operations Ninja rule: orm_command icon notify-disabled Ninja rule: orm_command mayi_method update.command.notification Ninja rule: orm_command description Disable notifications from this host.
No contacts will be contacted if this host are having trouble. Ninja rule: orm_command enabled_if notifications_enabled Ninja rule: orm_command view monitoring/naemon_command
Host_Model::stop_obsessing | ( | ) |
Ninja rule: orm_command name Stop obsessing over this host Ninja rule: orm_command category Operations Ninja rule: orm_command icon shield-disabled Ninja rule: orm_command mayi_method update.command.obsess Ninja rule: orm_command description Disables processing of host checks via the OCHP command for the specified host.
Ninja rule: orm_command enabled_if obsess Ninja rule: orm_command view monitoring/naemon_command