Listview Filter Columns

Version

This article was written for version 7.0.9 of OP5 Monitor, it could work on both lower and higher version if nothing else is stated.

About

This is a list of all columns that can be used to sort and filter list views in OP5 Monitor. They can also be used in construction of filter API. These can also be used in construction of Custom columns language reference and in queries against the filter API.

Comments

Name Type Comment
id int Command id
line string The shell command line
name string The name of the command
author string The contact that entered the comment
comment string A comment text
entry_time time The time the entry was made as UNIX timestamp
entry_type int The type of the comment: 1 is user, 2 is downtime, 3 is flap and 4 is acknowledgement
expire_time time The time of expiry of this comment as a UNIX timestamp
expires int Whether this comment expires
host.accept_passive_checks int Whether passive host checks are accepted (0/1)
host.acknowledged int Whether the current host problem has been acknowledged (0/1)
host.acknowledgement_type int Type of acknowledgement (0: none, 1: normal, 2: stick)
host.action_url string An optional URL to custom actions or information about this host
host.action_url_expanded string The same as action_url, but with the most important macros expanded
host.active_checks_enabled int Whether active checks are enabled for the host (0/1)
host.address string IP address
host.alias string An alias name for the host
host.check_command string Nagios command for active host check of this host
host.check_flapping_recovery_notification int Whether to check to send a recovery notification when flapping stops (0/1)
host.check_freshness int Whether freshness checks are activated (0/1)
host.check_interval float Number of basic interval lengths between two scheduled checks of the host
host.check_options int The current check option, forced, normal, freshness... (0-2)
host.check_period string Time period in which this host will be checked. If empty then the host will always be checked.
host.check_type int Type of check (0: active, 1: passive)
host.checks_enabled int Whether checks of the host are enabled (0/1)
host.childs list A list of all direct childs of the host
host.comments list A list of the ids of all comments of this host
host.comments_with_info list A list of all comments of the host with id, author and comment
host.contact_groups list A list of all contact groups this host is in
host.contacts list A list of all contacts of this host, either direct or via a contact group
host.current_attempt int Number of the current check attempts
host.current_notification_number int Number of the current notification
host.custom_variable_names list A list of the names of all custom variables
host.custom_variable_values list A list of the values of the custom variables
host.custom_variables dict A dictionary of the custom variables
host.display_name string Optional display name of the host - not used by Nagios' web interface
host.downtimes list A list of the ids of all scheduled downtimes of this host
host.downtimes_with_info list A list of the all scheduled downtimes of the host with id, author and comment
host.event_handler string Nagios command used as event handler
host.event_handler_enabled int Whether event handling is enabled (0/1)
host.execution_time float Time the host check needed for execution
host.filename string The value of the custom variable FILENAME
host.first_notification_delay float Delay before the first notification
host.flap_detection_enabled int Whether flap detection is enabled (0/1)
host.groups list A list of all host groups this host is in
host.hard_state int The effective hard state of the host (eliminates a problem in hard_state)
host.has_been_checked int Whether the host has already been checked (0/1)
host.high_flap_threshold float High threshold of flap detection
host.hourly_value int Hourly Value
host.icon_image string The name of an image file to be used in the web pages
host.icon_image_alt string Alternative text for the icon_image
host.icon_image_expanded string The same as icon_image, but with the most important macros expanded
host.id int Host id
host.in_check_period int Whether this host is currently in its check period (0/1)
host.in_notification_period int Whether this host is currently in its notification period (0/1)
host.initial_state int Initial host state
host.is_executing int is there a host check currently running... (0/1)
host.is_flapping int Whether the host state is flapping (0/1)
host.last_check time Time of the last check (Unix timestamp)
host.last_hard_state int Last hard state
host.last_hard_state_change time Time of the last hard state change (Unix timestamp)
host.last_notification time Time of the last notification (Unix timestamp)
host.last_state int State before last state change
host.last_state_change time Time of the last state change - soft or hard (Unix timestamp)
host.last_time_down time The last time the host was DOWN (Unix timestamp)
host.last_time_unreachable time The last time the host was UNREACHABLE (Unix timestamp)
host.last_time_up time The last time the host was UP (Unix timestamp)
host.latency float Time difference between scheduled check time and actual check time
host.long_plugin_output string Complete output from check plugin
host.low_flap_threshold float Low threshold of flap detection
host.max_check_attempts int Max check attempts for active host checks
host.modified_attributes int A bitmask specifying which attributes have been modified
host.modified_attributes_list list A list of all modified attributes
host.name string Host name
host.next_check time Scheduled time for the next check (Unix timestamp), Note: This value can not be trusted when the check is performed by a remote (poller, peer)
host.next_notification time Time of the next notification (Unix timestamp)
host.no_more_notifications int Whether to stop sending notifications (0/1)
host.notes string Optional notes for this host
host.notes_expanded string The same as notes, but with the most important macros expanded
host.notes_url string An optional URL with further information about the host
host.notes_url_expanded string Same es notes_url, but with the most important macros expanded
host.notification_interval float Interval of periodic notification or 0 if its off
host.notification_period string Time period in which problems of this host will be notified. If empty then notification will be always
host.notifications_enabled int Whether notifications of the host are enabled (0/1)
host.num_services int The total number of services of the host
host.num_services_crit int The number of the host's services with the soft state CRIT
host.num_services_hard_crit int The number of the host's services with the hard state CRIT
host.num_services_hard_ok int The number of the host's services with the hard state OK
host.num_services_hard_unknown int The number of the host's services with the hard state UNKNOWN
host.num_services_hard_warn int The number of the host's services with the hard state WARN
host.num_services_ok int The number of the host's services with the soft state OK
host.num_services_pending int The number of the host's services which have not been checked yet (pending)
host.num_services_unknown int The number of the host's services with the soft state UNKNOWN
host.num_services_warn int The number of the host's services with the soft state WARN
host.obsess int The current obsess setting... (0/1)
host.parents list A list of all direct parents of the host
host.pending_flex_downtime int Whether a flex downtime is pending (0/1)
host.percent_state_change float Percent state change
host.perf_data string Optional performance data of the last host check
host.plugin_output string Output of the last host check
host.pnpgraph_present int Whether there is a PNP4Nagios graph present for this host (0/1)
host.process_performance_data int Whether processing of performance data is enabled (0/1)
host.retry_interval float Number of basic interval lengths between checks when retrying after a soft error
host.scheduled_downtime_depth int The number of downtimes this host is currently in
host.services list A list of all services of the host
host.services_with_info list A list of all services including detailed information about each service
host.services_with_state list A list of all services of the host together with state and has_been_checked
host.should_be_scheduled int Whether nagios still tries to run checks on this host (0/1)
host.state int The current state of the host (0: up, 1: down, 2: unreachable)
host.state_type int Type of the current state (0: soft, 1: hard)
host.statusmap_image string The name of in image file for the status map
host.total_services int The total number of services of the host
host.worst_service_hard_state int The worst hard state of all of the host's services (OK <= WARN <= UNKNOWN <= CRIT)
host.worst_service_state int The worst soft state of all of the host's services (OK <= WARN <= UNKNOWN <= CRIT)
host.x_3d float 3D-Coordinates: X
host.y_3d float 3D-Coordinates: Y
host.z_3d float 3D-Coordinates: Z
id int The id of the comment
is_service int 0, if this entry is for a host, 1 if it is for a service
persistent int Whether this comment is persistent (0/1)
service.accept_passive_checks int Whether the service accepts passive checks (0/1)
service.acknowledged int Whether the current service problem has been acknowledged (0/1)
service.acknowledgement_type int The type of the acknownledgement (0: none, 1: normal, 2: sticky)
service.action_url string An optional URL for actions or custom information about the service
service.action_url_expanded string The action_url with (the most important) macros expanded
service.active_checks_enabled int Whether active checks are enabled for the service (0/1)
service.check_command string Nagios command used for active checks
service.check_freshness int Whether freshness checks are activated (0/1)
service.check_interval float Number of basic interval lengths between two scheduled checks of the service
service.check_options int The current check option, forced, normal, freshness... (0/1)
service.check_period string The name of the check period of the service. It this is empty, the service is always checked.
service.check_type int The type of the last check (0: active, 1: passive)
service.checks_enabled int Whether active checks are enabled for the service (0/1)
service.comments list A list of all comment ids of the service
service.comments_with_info list A list of all comments of the service with id, author and comment
service.contact_groups list A list of all contact groups this service is in
service.contacts list A list of all contacts of the service, either direct or via a contact group
service.current_attempt int The number of the current check attempt
service.current_notification_number int The number of the current notification
service.custom_variable_names list A list of the names of all custom variables of the service
service.custom_variable_values list A list of the values of all custom variable of the service
service.custom_variables dict A dictorionary of the custom variables
service.description string Description of the service (also used as key)
service.display_name string An optional display name (not used by Nagios standard web pages)
service.downtimes list A list of all downtime ids of the service
service.downtimes_with_info list A list of all downtimes of the service with id, author and comment
service.event_handler string Nagios command used as event handler
service.event_handler_enabled int Whether and event handler is activated for the service (0/1)
service.execution_time float Time the service check needed for execution
service.first_notification_delay float Delay before the first notification
service.flap_detection_enabled int Whether flap detection is enabled for the service (0/1)
service.groups list A list of all service groups the service is in
service.has_been_checked int Whether the service already has been checked (0/1)
service.high_flap_threshold float High threshold of flap detection
service.hourly_value int Hourly Value
service.icon_image string The name of an image to be used as icon in the web interface
service.icon_image_alt string An alternative text for the icon_image for browsers not displaying icons
service.icon_image_expanded string The icon_image with (the most important) macros expanded
service.id int Service id
service.in_check_period int Whether the service is currently in its check period (0/1)
service.in_notification_period int Whether the service is currently in its notification period (0/1)
service.initial_state int The initial state of the service
service.is_executing int is there a service check currently running... (0/1)
service.is_flapping int Whether the service is flapping (0/1)
service.last_check time The time of the last check (Unix timestamp)
service.last_hard_state int The last hard state of the service
service.last_hard_state_change time The time of the last hard state change (Unix timestamp)
service.last_notification time The time of the last notification (Unix timestamp)
service.last_state int The last state of the service
service.last_state_change time The time of the last state change (Unix timestamp)
service.last_time_critical time The last time the service was CRITICAL (Unix timestamp)
service.last_time_ok time The last time the service was OK (Unix timestamp)
service.last_time_unknown time The last time the service was UNKNOWN (Unix timestamp)
service.last_time_warning time The last time the service was in WARNING state (Unix timestamp)
service.latency float Time difference between scheduled check time and actual check time
service.long_plugin_output string Unabbreviated output of the last check plugin
service.low_flap_threshold float Low threshold of flap detection
service.max_check_attempts int The maximum number of check attempts
service.modified_attributes int A bitmask specifying which attributes have been modified
service.modified_attributes_list list A list of all modified attributes
service.next_check time The scheduled time of the next check (Unix timestamp), Note: This value can not be trusted when the check is performed by a remote (poller, peer)
service.next_notification time The time of the next notification (Unix timestamp)
service.no_more_notifications int Whether to stop sending notifications (0/1)
service.notes string Optional notes about the service
service.notes_expanded string The notes with (the most important) macros expanded
service.notes_url string An optional URL for additional notes about the service
service.notes_url_expanded string The notes_url with (the most important) macros expanded
service.notification_interval float Interval of periodic notification or 0 if its off
service.notification_period string The name of the notification period of the service. It this is empty, service problems are always notified.
service.notifications_enabled int Whether notifications are enabled for the service (0/1)
service.obsess int Whether 'obsess' is enabled for the service (0/1)
service.percent_state_change float Percent state change
service.perf_data string Performance data of the last check plugin
service.plugin_output string Output of the last check plugin
service.pnpgraph_present int Whether there is a PNP4Nagios graph present for this service (0/1)
service.process_performance_data int Whether processing of performance data is enabled for the service (0/1)
service.retry_interval float Number of basic interval lengths between checks when retrying after a soft error
service.scheduled_downtime_depth int The number of scheduled downtimes the service is currently in
service.should_be_scheduled int Whether nagios still tries to run checks on this service (0/1)
service.state int The current state of the service (0: OK, 1: WARN, 2: CRITICAL, 3: UNKNOWN)
service.state_type int The type of the current state (0: soft, 1: hard)
source int The source of the comment (0 is internal and 1 is external)
type int The type of the comment: 1 is host, 2 is service

Contacts

Name Type Comment
address1 string The additional field address1
address2 string The additional field address2
address3 string The additional field address3
address4 string The additional field address4
address5 string The additional field address5
address6 string The additional field address6
alias string The full name of the contact
can_submit_commands int Wether the contact is allowed to submit commands (0/1)
custom_variable_names list A list of all custom variables of the contact
custom_variable_values list A list of the values of all custom variables of the contact
custom_variables dict A dictionary of the custom variables
email string The email address of the contact
host.notification_period string The time period in which the contact will be notified about host problems
host.notifications_enabled int Wether the contact will be notified about host problems in general (0/1)
id int Contact id
in_host_notification_period int Wether the contact is currently in his/her host notification period (0/1)
in_service_notification_period int Wether the contact is currently in his/her service notification period (0/1)
modified_attributes int A bitmask specifying which attributes have been modified
modified_attributes_list list A list of all modified attributes
name string The login name of the contact person
pager string The pager address of the contact
service.notification_period string The time period in which the contact will be notified about service problems
service.notifications_enabled int Wether the contact will be notified about service problems in general (0/1)

Downtimes

Name Type Comment
author string The contact that scheduled the downtime
comment string A comment text
duration int The duration of the downtime in seconds
end_time time The end time of the downtime as UNIX timestamp
entry_time time The time the entry was made as UNIX timestamp
fixed int A 1 if the downtime is fixed, a 0 if it is flexible
host.accept_passive_checks int Whether passive host checks are accepted (0/1)
host.acknowledged int Whether the current host problem has been acknowledged (0/1)
host.acknowledgement_type int Type of acknowledgement (0: none, 1: normal, 2: stick)
host.action_url string An optional URL to custom actions or information about this host
host.action_url_expanded string The same as action_url, but with the most important macros expanded
host.active_checks_enabled int Whether active checks are enabled for the host (0/1)
host.address string IP address
host.alias string An alias name for the host
host.check_command string Nagios command for active host check of this host
host.check_flapping_recovery_notification int Whether to check to send a recovery notification when flapping stops (0/1)
host.check_freshness int Whether freshness checks are activated (0/1)
host.check_interval float Number of basic interval lengths between two scheduled checks of the host
host.check_options int The current check option, forced, normal, freshness... (0-2)
host.check_period string Time period in which this host will be checked. If empty then the host will always be checked.
host.check_type int Type of check (0: active, 1: passive)
host.checks_enabled int Whether checks of the host are enabled (0/1)
host.childs list A list of all direct childs of the host
host.comments list A list of the ids of all comments of this host
host.comments_with_info list A list of all comments of the host with id, author and comment
host.contact_groups list A list of all contact groups this host is in
host.contacts list A list of all contacts of this host, either direct or via a contact group
host.current_attempt int Number of the current check attempts
host.current_notification_number int Number of the current notification
host.custom_variable_names list A list of the names of all custom variables
host.custom_variable_values list A list of the values of the custom variables
host.custom_variables dict A dictionary of the custom variables
host.display_name string Optional display name of the host - not used by Nagios' web interface
host.downtimes list A list of the ids of all scheduled downtimes of this host
host.downtimes_with_info list A list of the all scheduled downtimes of the host with id, author and comment
host.event_handler string Nagios command used as event handler
host.event_handler_enabled int Whether event handling is enabled (0/1)
host.execution_time float Time the host check needed for execution
host.filename string The value of the custom variable FILENAME
host.first_notification_delay float Delay before the first notification
host.flap_detection_enabled int Whether flap detection is enabled (0/1)
host.groups list A list of all host groups this host is in
host.hard_state int The effective hard state of the host (eliminates a problem in hard_state)
host.has_been_checked int Whether the host has already been checked (0/1)
host.high_flap_threshold float High threshold of flap detection
host.hourly_value int Hourly Value
host.icon_image string The name of an image file to be used in the web pages
host.icon_image_alt string Alternative text for the icon_image
host.icon_image_expanded string The same as icon_image, but with the most important macros expanded
host.id int Host id
host.in_check_period int Whether this host is currently in its check period (0/1)
host.in_notification_period int Whether this host is currently in its notification period (0/1)
host.initial_state int Initial host state
host.is_executing int is there a host check currently running... (0/1)
host.is_flapping int Whether the host state is flapping (0/1)
host.last_check time Time of the last check (Unix timestamp)
host.last_hard_state int Last hard state
host.last_hard_state_change time Time of the last hard state change (Unix timestamp)
host.last_notification time Time of the last notification (Unix timestamp)
host.last_state int State before last state change
host.last_state_change time Time of the last state change - soft or hard (Unix timestamp)
host.last_time_down time The last time the host was DOWN (Unix timestamp)
host.last_time_unreachable time The last time the host was UNREACHABLE (Unix timestamp)
host.last_time_up time The last time the host was UP (Unix timestamp)
host.latency float Time difference between scheduled check time and actual check time
host.long_plugin_output string Complete output from check plugin
host.low_flap_threshold float Low threshold of flap detection
host.max_check_attempts int Max check attempts for active host checks
host.modified_attributes int A bitmask specifying which attributes have been modified
host.modified_attributes_list list A list of all modified attributes
host.name string Host name
host.next_check time Scheduled time for the next check (Unix timestamp), Note: This value can not be trusted when the check is performed by a remote (poller, peer)
host.next_notification time Time of the next notification (Unix timestamp)
host.no_more_notifications int Whether to stop sending notifications (0/1)
host.notes string Optional notes for this host
host.notes_expanded string The same as notes, but with the most important macros expanded
host.notes_url string An optional URL with further information about the host
host.notes_url_expanded string Same es notes_url, but with the most important macros expanded
host.notification_interval float Interval of periodic notification or 0 if its off
host.notification_period string Time period in which problems of this host will be notified. If empty then notification will be always
host.notifications_enabled int Whether notifications of the host are enabled (0/1)
host.num_services int The total number of services of the host
host.num_services_crit int The number of the host's services with the soft state CRIT
host.num_services_hard_crit int The number of the host's services with the hard state CRIT
host.num_services_hard_ok int The number of the host's services with the hard state OK
host.num_services_hard_unknown int The number of the host's services with the hard state UNKNOWN
host.num_services_hard_warn int The number of the host's services with the hard state WARN
host.num_services_ok int The number of the host's services with the soft state OK
host.num_services_pending int The number of the host's services which have not been checked yet (pending)
host.num_services_unknown int The number of the host's services with the soft state UNKNOWN
host.num_services_warn int The number of the host's services with the soft state WARN
host.obsess int The current obsess setting... (0/1)
host.parents list A list of all direct parents of the host
host.pending_flex_downtime int Whether a flex downtime is pending (0/1)
host.percent_state_change float Percent state change
host.perf_data string Optional performance data of the last host check
host.plugin_output string Output of the last host check
host.pnpgraph_present int Whether there is a PNP4Nagios graph present for this host (0/1)
host.process_performance_data int Whether processing of performance data is enabled (0/1)
host.retry_interval float Number of basic interval lengths between checks when retrying after a soft error
host.scheduled_downtime_depth int The number of downtimes this host is currently in
host.services list A list of all services of the host
host.services_with_info list A list of all services including detailed information about each service
host.services_with_state list A list of all services of the host together with state and has_been_checked
host.should_be_scheduled int Whether nagios still tries to run checks on this host (0/1)
host.state int The current state of the host (0: up, 1: down, 2: unreachable)
host.state_type int Type of the current state (0: soft, 1: hard)
host.statusmap_image string The name of in image file for the status map
host.total_services int The total number of services of the host
host.worst_service_hard_state int The worst hard state of all of the host's services (OK <= WARN <= UNKNOWN <= CRIT)
host.worst_service_state int The worst soft state of all of the host's services (OK <= WARN <= UNKNOWN <= CRIT)
host.x_3d float 3D-Coordinates: X
host.y_3d float 3D-Coordinates: Y
host.z_3d float 3D-Coordinates: Z
id int The id of the downtime
is_service int 0, if this entry is for a host, 1 if it is for a service
service.accept_passive_checks int Whether the service accepts passive checks (0/1)
service.acknowledged int Whether the current service problem has been acknowledged (0/1)
service.acknowledgement_type int The type of the acknownledgement (0: none, 1: normal, 2: sticky)
service.action_url string An optional URL for actions or custom information about the service
service.action_url_expanded string The action_url with (the most important) macros expanded
service.active_checks_enabled int Whether active checks are enabled for the service (0/1)
service.check_command string Nagios command used for active checks
service.check_freshness int Whether freshness checks are activated (0/1)
service.check_interval float Number of basic interval lengths between two scheduled checks of the service
service.check_options int The current check option, forced, normal, freshness... (0/1)
service.check_period string The name of the check period of the service. It this is empty, the service is always checked.
service.check_type int The type of the last check (0: active, 1: passive)
service.checks_enabled int Whether active checks are enabled for the service (0/1)
service.comments list A list of all comment ids of the service
service.comments_with_info list A list of all comments of the service with id, author and comment
service.contact_groups list A list of all contact groups this service is in
service.contacts list A list of all contacts of the service, either direct or via a contact group
service.current_attempt int The number of the current check attempt
service.current_notification_number int The number of the current notification
service.custom_variable_names list A list of the names of all custom variables of the service
service.custom_variable_values list A list of the values of all custom variable of the service
service.custom_variables dict A dictorionary of the custom variables
service.description string Description of the service (also used as key)
service.display_name string An optional display name (not used by Nagios standard web pages)
service.downtimes list A list of all downtime ids of the service
service.downtimes_with_info list A list of all downtimes of the service with id, author and comment
service.event_handler string Nagios command used as event handler
service.event_handler_enabled int Whether and event handler is activated for the service (0/1)
service.execution_time float Time the service check needed for execution
service.first_notification_delay float Delay before the first notification
service.flap_detection_enabled int Whether flap detection is enabled for the service (0/1)
service.groups list A list of all service groups the service is in
service.has_been_checked int Whether the service already has been checked (0/1)
service.high_flap_threshold float High threshold of flap detection
service.hourly_value int Hourly Value
service.icon_image string The name of an image to be used as icon in the web interface
service.icon_image_alt string An alternative text for the icon_image for browsers not displaying icons
service.icon_image_expanded string The icon_image with (the most important) macros expanded
service.id int Service id
service.in_check_period int Whether the service is currently in its check period (0/1)
service.in_notification_period int Whether the service is currently in its notification period (0/1)
service.initial_state int The initial state of the service
service.is_executing int is there a service check currently running... (0/1)
service.is_flapping int Whether the service is flapping (0/1)
service.last_check time The time of the last check (Unix timestamp)
service.last_hard_state int The last hard state of the service
service.last_hard_state_change time The time of the last hard state change (Unix timestamp)
service.last_notification time The time of the last notification (Unix timestamp)
service.last_state int The last state of the service
service.last_state_change time The time of the last state change (Unix timestamp)
service.last_time_critical time The last time the service was CRITICAL (Unix timestamp)
service.last_time_ok time The last time the service was OK (Unix timestamp)
service.last_time_unknown time The last time the service was UNKNOWN (Unix timestamp)
service.last_time_warning time The last time the service was in WARNING state (Unix timestamp)
service.latency float Time difference between scheduled check time and actual check time
service.long_plugin_output string Unabbreviated output of the last check plugin
service.low_flap_threshold float Low threshold of flap detection
service.max_check_attempts int The maximum number of check attempts
service.modified_attributes int A bitmask specifying which attributes have been modified
service.modified_attributes_list list A list of all modified attributes
service.next_check time The scheduled time of the next check (Unix timestamp), Note: This value can not be trusted when the check is performed by a remote (poller, peer)
service.next_notification time The time of the next notification (Unix timestamp)
service.no_more_notifications int Whether to stop sending notifications (0/1)
service.notes string Optional notes about the service
service.notes_expanded string The notes with (the most important) macros expanded
service.notes_url string An optional URL for additional notes about the service
service.notes_url_expanded string The notes_url with (the most important) macros expanded
service.notification_interval float Interval of periodic notification or 0 if its off
service.notification_period string The name of the notification period of the service. It this is empty, service problems are always notified.
service.notifications_enabled int Whether notifications are enabled for the service (0/1)
service.obsess int Whether 'obsess' is enabled for the service (0/1)
service.percent_state_change float Percent state change
service.perf_data string Performance data of the last check plugin
service.plugin_output string Output of the last check plugin
service.pnpgraph_present int Whether there is a PNP4Nagios graph present for this service (0/1)
service.process_performance_data int Whether processing of performance data is enabled for the service (0/1)
service.retry_interval float Number of basic interval lengths between checks when retrying after a soft error
service.scheduled_downtime_depth int The number of scheduled downtimes the service is currently in
service.should_be_scheduled int Whether nagios still tries to run checks on this service (0/1)
service.state int The current state of the service (0: OK, 1: WARN, 2: CRITICAL, 3: UNKNOWN)
service.state_type int The type of the current state (0: soft, 1: hard)
start_time time The start time of the downtime as UNIX timestamp
triggered_by int The id of the downtime this downtime was triggered by or 0 if it was not triggered by another downtime
type int The type of the downtime: 0 if it is active, 1 if it is pending

Hostgroups

Name Type Comment
action_url string An optional URL to custom actions or information about the hostgroup
alias string An alias of the hostgroup
id int Hostgroup id
members list A list of all host names that are members of the hostgroup
members_with_state list A list of all host names that are members of the hostgroup together with state and has_been_checked
name string Name of the hostgroup
notes string Optional notes to the hostgroup
notes_url string An optional URL with further information about the hostgroup
num_hosts int The total number of hosts in the group
num_hosts_down int The number of hosts in the group that are down
num_hosts_pending int The number of hosts in the group that are pending
num_hosts_unreach int The number of hosts in the group that are unreachable
num_hosts_up int The number of hosts in the group that are up
num_services int The total number of services of hosts in this group
num_services_crit int The total number of services with the state CRIT of hosts in this group
num_services_hard_crit int The total number of services with the state CRIT of hosts in this group
num_services_hard_ok int The total number of services with the state OK of hosts in this group
num_services_hard_unknown int The total number of services with the state UNKNOWN of hosts in this group
num_services_hard_warn int The total number of services with the state WARN of hosts in this group
num_services_ok int The total number of services with the state OK of hosts in this group
num_services_pending int The total number of services with the state Pending of hosts in this group
num_services_unknown int The total number of services with the state UNKNOWN of hosts in this group
num_services_warn int The total number of services with the state WARN of hosts in this group
worst_host_state int The worst state of all of the groups' hosts (UP <= UNREACHABLE <= DOWN)
worst_service_hard_state int The worst state of all services that belong to a host of this group (OK <= WARN <= UNKNOWN <= CRIT)
worst_service_state int The worst state of all services that belong to a host of this group (OK <= WARN <= UNKNOWN <= CRIT)

Hosts

Name Type Comment
accept_passive_checks int Whether passive host checks are accepted (0/1)
acknowledged int Whether the current host problem has been acknowledged (0/1)
acknowledgement_type int Type of acknowledgement (0: none, 1: normal, 2: stick)
action_url string An optional URL to custom actions or information about this host
action_url_expanded string The same as action_url, but with the most important macros expanded
active_checks_enabled int Whether active checks are enabled for the host (0/1)
address string IP address
alias string An alias name for the host
check_command string Nagios command for active host check of this host
check_flapping_recovery_notification int Whether to check to send a recovery notification when flapping stops (0/1)
check_freshness int Whether freshness checks are activated (0/1)
check_interval float Number of basic interval lengths between two scheduled checks of the host
check_options int The current check option, forced, normal, freshness... (0-2)
check_period string Time period in which this host will be checked. If empty then the host will always be checked.
check_type int Type of check (0: active, 1: passive)
checks_enabled int Whether checks of the host are enabled (0/1)
childs list A list of all direct childs of the host
comments list A list of the ids of all comments of this host
comments_with_info list A list of all comments of the host with id, author and comment
contact_groups list A list of all contact groups this host is in
contacts list A list of all contacts of this host, either direct or via a contact group
current_attempt int Number of the current check attempts
current_notification_number int Number of the current notification
custom_variable_names list A list of the names of all custom variables
custom_variable_values list A list of the values of the custom variables
custom_variables dict A dictionary of the custom variables
display_name string Optional display name of the host - not used by Nagios' web interface
downtimes list A list of the ids of all scheduled downtimes of this host
downtimes_with_info list A list of the all scheduled downtimes of the host with id, author and comment
event_handler string Nagios command used as event handler
event_handler_enabled int Whether event handling is enabled (0/1)
execution_time float Time the host check needed for execution
filename string The value of the custom variable FILENAME
first_notification_delay float Delay before the first notification
flap_detection_enabled int Whether flap detection is enabled (0/1)
groups list A list of all host groups this host is in
hard_state int The effective hard state of the host (eliminates a problem in hard_state)
has_been_checked int Whether the host has already been checked (0/1)
high_flap_threshold float High threshold of flap detection
hourly_value int Hourly Value
icon_image string The name of an image file to be used in the web pages
icon_image_alt string Alternative text for the icon_image
icon_image_expanded string The same as icon_image, but with the most important macros expanded
id int Host id
in_check_period int Whether this host is currently in its check period (0/1)
in_notification_period int Whether this host is currently in its notification period (0/1)
initial_state int Initial host state
is_executing int is there a host check currently running... (0/1)
is_flapping int Whether the host state is flapping (0/1)
last_check time Time of the last check (Unix timestamp)
last_hard_state int Last hard state
last_hard_state_change time Time of the last hard state change (Unix timestamp)
last_notification time Time of the last notification (Unix timestamp)
last_state int State before last state change
last_state_change time Time of the last state change - soft or hard (Unix timestamp)
last_time_down time The last time the host was DOWN (Unix timestamp)
last_time_unreachable time The last time the host was UNREACHABLE (Unix timestamp)
last_time_up time The last time the host was UP (Unix timestamp)
latency float Time difference between scheduled check time and actual check time
long_plugin_output string Complete output from check plugin
low_flap_threshold float Low threshold of flap detection
max_check_attempts int Max check attempts for active host checks
modified_attributes int A bitmask specifying which attributes have been modified
modified_attributes_list list A list of all modified attributes
name string Host name
next_check time Scheduled time for the next check (Unix timestamp), Note: This value can not be trusted when the check is performed by a remote (poller, peer)
next_notification time Time of the next notification (Unix timestamp)
no_more_notifications int Whether to stop sending notifications (0/1)
notes string Optional notes for this host
notes_expanded string The same as notes, but with the most important macros expanded
notes_url string An optional URL with further information about the host
notes_url_expanded string Same es notes_url, but with the most important macros expanded
notification_interval float Interval of periodic notification or 0 if its off
notification_period string Time period in which problems of this host will be notified. If empty then notification will be always
notifications_enabled int Whether notifications of the host are enabled (0/1)
num_services int The total number of services of the host
num_services_crit int The number of the host's services with the soft state CRIT
num_services_hard_crit int The number of the host's services with the hard state CRIT
num_services_hard_ok int The number of the host's services with the hard state OK
num_services_hard_unknown int The number of the host's services with the hard state UNKNOWN
num_services_hard_warn int The number of the host's services with the hard state WARN
num_services_ok int The number of the host's services with the soft state OK
num_services_pending int The number of the host's services which have not been checked yet (pending)
num_services_unknown int The number of the host's services with the soft state UNKNOWN
num_services_warn int The number of the host's services with the soft state WARN
obsess int The current obsess setting... (0/1)
parents list A list of all direct parents of the host
pending_flex_downtime int Whether a flex downtime is pending (0/1)
percent_state_change float Percent state change
perf_data string Optional performance data of the last host check
plugin_output string Output of the last host check
pnpgraph_present int Whether there is a PNP4Nagios graph present for this host (0/1)
process_performance_data int Whether processing of performance data is enabled (0/1)
retry_interval float Number of basic interval lengths between checks when retrying after a soft error
scheduled_downtime_depth int The number of downtimes this host is currently in
services list A list of all services of the host
services_with_info list A list of all services including detailed information about each service
services_with_state list A list of all services of the host together with state and has_been_checked
should_be_scheduled int Whether nagios still tries to run checks on this host (0/1)
state int The current state of the host (0: up, 1: down, 2: unreachable)
state_type int Type of the current state (0: soft, 1: hard)
statusmap_image string The name of in image file for the status map
total_services int The total number of services of the host
worst_service_hard_state int The worst hard state of all of the host's services (OK <= WARN <= UNKNOWN <= CRIT)
worst_service_state int The worst soft state of all of the host's services (OK <= WARN <= UNKNOWN <= CRIT)
x_3d float 3D-Coordinates: X
y_3d float 3D-Coordinates: Y
z_3d float 3D-Coordinates: Z

Servicegroups

Name Type Comment
action_url string An optional URL to custom notes or actions on the service group
alias string An alias of the service group
id int Servicegroup id
members list A list of all members of the service group as host/service pairs
members_with_state list A list of all members of the service group with state and has_been_checked
name string The name of the service group
notes string Optional additional notes about the service group
notes_url string An optional URL to further notes on the service group
num_services int The total number of services in the group
num_services_crit int The number of services in the group that are CRIT
num_services_hard_crit int The number of services in the group that are CRIT
num_services_hard_ok int The number of services in the group that are OK
num_services_hard_unknown int The number of services in the group that are UNKNOWN
num_services_hard_warn int The number of services in the group that are WARN
num_services_ok int The number of services in the group that are OK
num_services_pending int The number of services in the group that are PENDING
num_services_unknown int The number of services in the group that are UNKNOWN
num_services_warn int The number of services in the group that are WARN
worst_service_state int The worst soft state of all of the groups services (OK <= WARN <= UNKNOWN <= CRIT)

Services

Name Type Comment
accept_passive_checks int Whether the service accepts passive checks (0/1)
acknowledged int Whether the current service problem has been acknowledged (0/1)
acknowledgement_type int The type of the acknownledgement (0: none, 1: normal, 2: sticky)
action_url string An optional URL for actions or custom information about the service
action_url_expanded string The action_url with (the most important) macros expanded
active_checks_enabled int Whether active checks are enabled for the service (0/1)
check_command string Nagios command used for active checks
check_freshness int Whether freshness checks are activated (0/1)
check_interval float Number of basic interval lengths between two scheduled checks of the service
check_options int The current check option, forced, normal, freshness... (0/1)
check_period string The name of the check period of the service. It this is empty, the service is always checked.
check_type int The type of the last check (0: active, 1: passive)
checks_enabled int Whether active checks are enabled for the service (0/1)
comments list A list of all comment ids of the service
comments_with_info list A list of all comments of the service with id, author and comment
contact_groups list A list of all contact groups this service is in
contacts list A list of all contacts of the service, either direct or via a contact group
current_attempt int The number of the current check attempt
current_notification_number int The number of the current notification
custom_variable_names list A list of the names of all custom variables of the service
custom_variable_values list A list of the values of all custom variable of the service
custom_variables dict A dictorionary of the custom variables
description string Description of the service (also used as key)
display_name string An optional display name (not used by Nagios standard web pages)
downtimes list A list of all downtime ids of the service
downtimes_with_info list A list of all downtimes of the service with id, author and comment
event_handler string Nagios command used as event handler
event_handler_enabled int Whether and event handler is activated for the service (0/1)
execution_time float Time the service check needed for execution
first_notification_delay float Delay before the first notification
flap_detection_enabled int Whether flap detection is enabled for the service (0/1)
groups list A list of all service groups the service is in
has_been_checked int Whether the service already has been checked (0/1)
high_flap_threshold float High threshold of flap detection
host.accept_passive_checks int Whether passive host checks are accepted (0/1)
host.acknowledged int Whether the current host problem has been acknowledged (0/1)
host.acknowledgement_type int Type of acknowledgement (0: none, 1: normal, 2: stick)
host.action_url string An optional URL to custom actions or information about this host
host.action_url_expanded string The same as action_url, but with the most important macros expanded
host.active_checks_enabled int Whether active checks are enabled for the host (0/1)
host.address string IP address
host.alias string An alias name for the host
host.check_command string Nagios command for active host check of this host
host.check_flapping_recovery_notification int Whether to check to send a recovery notification when flapping stops (0/1)
host.check_freshness int Whether freshness checks are activated (0/1)
host.check_interval float Number of basic interval lengths between two scheduled checks of the host
host.check_options int The current check option, forced, normal, freshness... (0-2)
host.check_period string Time period in which this host will be checked. If empty then the host will always be checked.
host.check_type int Type of check (0: active, 1: passive)
host.checks_enabled int Whether checks of the host are enabled (0/1)
host.childs list A list of all direct childs of the host
host.comments list A list of the ids of all comments of this host
host.comments_with_info list A list of all comments of the host with id, author and comment
host.contact_groups list A list of all contact groups this host is in
host.contacts list A list of all contacts of this host, either direct or via a contact group
host.current_attempt int Number of the current check attempts
host.current_notification_number int Number of the current notification
host.custom_variable_names list A list of the names of all custom variables
host.custom_variable_values list A list of the values of the custom variables
host.custom_variables dict A dictionary of the custom variables
host.display_name string Optional display name of the host - not used by Nagios' web interface
host.downtimes list A list of the ids of all scheduled downtimes of this host
host.downtimes_with_info list A list of the all scheduled downtimes of the host with id, author and comment
host.event_handler string Nagios command used as event handler
host.event_handler_enabled int Whether event handling is enabled (0/1)
host.execution_time float Time the host check needed for execution
host.filename string The value of the custom variable FILENAME
host.first_notification_delay float Delay before the first notification
host.flap_detection_enabled int Whether flap detection is enabled (0/1)
host.groups list A list of all host groups this host is in
host.hard_state int The effective hard state of the host (eliminates a problem in hard_state)
host.has_been_checked int Whether the host has already been checked (0/1)
host.high_flap_threshold float High threshold of flap detection
host.hourly_value int Hourly Value
host.icon_image string The name of an image file to be used in the web pages
host.icon_image_alt string Alternative text for the icon_image
host.icon_image_expanded string The same as icon_image, but with the most important macros expanded
host.id int Host id
host.in_check_period int Whether this host is currently in its check period (0/1)
host.in_notification_period int Whether this host is currently in its notification period (0/1)
host.initial_state int Initial host state
host.is_executing int is there a host check currently running... (0/1)
host.is_flapping int Whether the host state is flapping (0/1)
host.last_check time Time of the last check (Unix timestamp)
host.last_hard_state int Last hard state
host.last_hard_state_change time Time of the last hard state change (Unix timestamp)
host.last_notification time Time of the last notification (Unix timestamp)
host.last_state int State before last state change
host.last_state_change time Time of the last state change - soft or hard (Unix timestamp)
host.last_time_down time The last time the host was DOWN (Unix timestamp)
host.last_time_unreachable time The last time the host was UNREACHABLE (Unix timestamp)
host.last_time_up time The last time the host was UP (Unix timestamp)
host.latency float Time difference between scheduled check time and actual check time
host.long_plugin_output string Complete output from check plugin
host.low_flap_threshold float Low threshold of flap detection
host.max_check_attempts int Max check attempts for active host checks
host.modified_attributes int A bitmask specifying which attributes have been modified
host.modified_attributes_list list A list of all modified attributes
host.name string Host name
host.next_check time Scheduled time for the next check (Unix timestamp), Note: This value can not be trusted when the check is performed by a remote (poller, peer)
host.next_notification time Time of the next notification (Unix timestamp)
host.no_more_notifications int Whether to stop sending notifications (0/1)
host.notes string Optional notes for this host
host.notes_expanded string The same as notes, but with the most important macros expanded
host.notes_url string An optional URL with further information about the host
host.notes_url_expanded string Same es notes_url, but with the most important macros expanded
host.notification_interval float Interval of periodic notification or 0 if its off
host.notification_period string Time period in which problems of this host will be notified. If empty then notification will be always
host.notifications_enabled int Whether notifications of the host are enabled (0/1)
host.num_services int The total number of services of the host
host.num_services_crit int The number of the host's services with the soft state CRIT
host.num_services_hard_crit int The number of the host's services with the hard state CRIT
host.num_services_hard_ok int The number of the host's services with the hard state OK
host.num_services_hard_unknown int The number of the host's services with the hard state UNKNOWN
host.num_services_hard_warn int The number of the host's services with the hard state WARN
host.num_services_ok int The number of the host's services with the soft state OK
host.num_services_pending int The number of the host's services which have not been checked yet (pending)
host.num_services_unknown int The number of the host's services with the soft state UNKNOWN
host.num_services_warn int The number of the host's services with the soft state WARN
host.obsess int The current obsess setting... (0/1)
host.parents list A list of all direct parents of the host
host.pending_flex_downtime int Whether a flex downtime is pending (0/1)
host.percent_state_change float Percent state change
host.perf_data string Optional performance data of the last host check
host.plugin_output string Output of the last host check
host.pnpgraph_present int Whether there is a PNP4Nagios graph present for this host (0/1)
host.process_performance_data int Whether processing of performance data is enabled (0/1)
host.retry_interval float Number of basic interval lengths between checks when retrying after a soft error
host.scheduled_downtime_depth int The number of downtimes this host is currently in
host.services list A list of all services of the host
host.services_with_info list A list of all services including detailed information about each service
host.services_with_state list A list of all services of the host together with state and has_been_checked
host.should_be_scheduled int Whether nagios still tries to run checks on this host (0/1)
host.state int The current state of the host (0: up, 1: down, 2: unreachable)
host.tate_type int Type of the current state (0: soft, 1: hard)
host.statusmap_image string The name of in image file for the status map
host.total_services int The total number of services of the host
host.worst_service_hard_state int The worst hard state of all of the host's services (OK <= WARN <= UNKNOWN <= CRIT)
host.worst_service_state int The worst soft state of all of the host's services (OK <= WARN <= UNKNOWN <= CRIT)
host.x_3d float 3D-Coordinates: X
host.y_3d float 3D-Coordinates: Y
host.z_3d float 3D-Coordinates: Z
hourly_value int Hourly Value
icon_image string The name of an image to be used as icon in the web interface
icon_image_alt string An alternative text for the icon_image for browsers not displaying icons
icon_image_expanded string The icon_image with (the most important) macros expanded
id int Service id
in_check_period int Whether the service is currently in its check period (0/1)
in_notification_period int Whether the service is currently in its notification period (0/1)
initial_state int The initial state of the service
is_executing int is there a service check currently running... (0/1)
is_flapping int Whether the service is flapping (0/1)
last_check time The time of the last check (Unix timestamp)
last_hard_state int The last hard state of the service
last_hard_state_change time The time of the last hard state change (Unix timestamp)
last_notification time The time of the last notification (Unix timestamp)
last_state int The last state of the service
last_state_change time The time of the last state change (Unix timestamp)
last_time_critical time The last time the service was CRITICAL (Unix timestamp)
last_time_ok time The last time the service was OK (Unix timestamp)
last_time_unknown time The last time the service was UNKNOWN (Unix timestamp)
last_time_warning time The last time the service was in WARNING state (Unix timestamp)
latency float Time difference between scheduled check time and actual check time
long_plugin_output string Unabbreviated output of the last check plugin
low_flap_threshold float Low threshold of flap detection
max_check_attempts int The maximum number of check attempts
modified_attributes int A bitmask specifying which attributes have been modified
modified_attributes_list list A list of all modified attributes
next_check time The scheduled time of the next check (Unix timestamp), Note: This value can not be trusted when the check is performed by a remote (poller, peer)
next_notification time The time of the next notification (Unix timestamp)
no_more_notifications int Whether to stop sending notifications (0/1)
notes string Optional notes about the service
notes_expanded string The notes with (the most important) macros expanded
notes_url string An optional URL for additional notes about the service
notes_url_expanded string The notes_url with (the most important) macros expanded
notification_interval float Interval of periodic notification or 0 if its off
notification_period string The name of the notification period of the service. It this is empty, service problems are always notified.
notifications_enabled int Whether notifications are enabled for the service (0/1)
obsess int Whether 'obsess' is enabled for the service (0/1)
percent_state_change float Percent state change
perf_data string Performance data of the last check plugin
plugin_output string Output of the last check plugin
pnpgraph_present int Whether there is a PNP4Nagios graph present for this service (0/1)
process_performance_data int Whether processing of performance data is enabled for the service (0/1)
retry_interval float Number of basic interval lengths between checks when retrying after a soft error
scheduled_downtime_depth int The number of scheduled downtimes the service is currently in
should_be_scheduled int Whether nagios still tries to run checks on this service (0/1)
state int The current state of the service (0: OK, 1: WARN, 2: CRITICAL, 3: UNKNOWN)
state_type int The type of the current state (0: soft, 1: hard)

Log Messages

Name Type Comment
ip string IP address of the host who sent the log message
rtime time Receive time of the log message (Unix timestamp)
facility int Syslog facility (See Wikipedia for more information)
severity int Syslog severity level (See Wikipedia for more information)
mtime time Time when message was sent from host (Unix timestamp)
host string Name of host sending the log message (set by client)
ident string Syslog program identifier
pid string Originator process ID
event int Event identifier
msg string Message content