Code: Select all
+-------------------------------+--------------+-----------------+------+-----+---------------------+----------------+---------------------------------+---------+
| Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment |
+-------------------------------+--------------+-----------------+------+-----+---------------------+----------------+---------------------------------+---------+
| hoststatus_id | int(11) | NULL | NO | PRI | NULL | auto_increment | select,insert,update,references | |
| instance_id | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| host_object_id | int(11) | NULL | NO | UNI | 0 | | select,insert,update,references | |
| status_update_time | datetime | NULL | NO | MUL | 1970-01-01 00:00:01 | | select,insert,update,references | |
| output | varchar(255) | utf8_general_ci | NO | | | | select,insert,update,references | |
| long_output | text | utf8_general_ci | NO | | NULL | | select,insert,update,references | |
| perfdata | text | utf8_general_ci | NO | | NULL | | select,insert,update,references | |
| current_state | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| has_been_checked | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| should_be_scheduled | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| current_check_attempt | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| max_check_attempts | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| last_check | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| next_check | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| check_type | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| check_options | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| last_state_change | datetime | NULL | NO | MUL | 1970-01-01 00:00:01 | | select,insert,update,references | |
| last_hard_state_change | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| last_hard_state | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| last_time_up | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| last_time_down | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| last_time_unreachable | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| state_type | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| last_notification | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| next_notification | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| no_more_notifications | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| notifications_enabled | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| problem_has_been_acknowledged | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| acknowledgement_type | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| current_notification_number | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| passive_checks_enabled | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| active_checks_enabled | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| event_handler_enabled | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| flap_detection_enabled | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| is_flapping | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| percent_state_change | double | NULL | NO | MUL | 0 | | select,insert,update,references | |
| latency | double | NULL | NO | MUL | 0 | | select,insert,update,references | |
| execution_time | double | NULL | NO | MUL | 0 | | select,insert,update,references | |
| scheduled_downtime_depth | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| failure_prediction_enabled | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| process_performance_data | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| obsess_over_host | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| modified_host_attributes | int(11) | NULL | NO | | 0 | | select,insert,update,references | |
| event_handler | varchar(255) | utf8_general_ci | NO | | | | select,insert,update,references | |
| check_command | varchar(255) | utf8_general_ci | NO | | | | select,insert,update,references | |
| normal_check_interval | double | NULL | NO | | 0 | | select,insert,update,references | |
| retry_check_interval | double | NULL | NO | | 0 | | select,insert,update,references | |
| check_timeperiod_object_id | int(11) | NULL | NO | | 0 | | select,insert,update,references | |
+-------------------------------+--------------+-----------------+------+-----+---------------------+----------------+---------------------------------+---------+
+-------------------------------+--------------+-------------------+------+-----+---------------------+----------------+---------------------------------+---------+
| Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment |
+-------------------------------+--------------+-------------------+------+-----+---------------------+----------------+---------------------------------+---------+
| servicestatus_id | int(11) | NULL | NO | PRI | NULL | auto_increment | select,insert,update,references | |
| instance_id | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| service_object_id | int(11) | NULL | NO | UNI | 0 | | select,insert,update,references | |
| status_update_time | datetime | NULL | NO | MUL | 1970-01-01 00:00:01 | | select,insert,update,references | |
| output | varchar(255) | latin1_swedish_ci | NO | | | | select,insert,update,references | |
| long_output | text | utf8_general_ci | NO | | NULL | | select,insert,update,references | |
| perfdata | text | latin1_swedish_ci | NO | | NULL | | select,insert,update,references | |
| current_state | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| has_been_checked | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| should_be_scheduled | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| current_check_attempt | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| max_check_attempts | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| last_check | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| next_check | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| check_type | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| check_options | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| last_state_change | datetime | NULL | NO | MUL | 1970-01-01 00:00:01 | | select,insert,update,references | |
| last_hard_state_change | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| last_hard_state | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| last_time_ok | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| last_time_warning | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| last_time_unknown | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| last_time_critical | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| state_type | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| last_notification | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| next_notification | datetime | NULL | NO | | 1970-01-01 00:00:01 | | select,insert,update,references | |
| no_more_notifications | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| notifications_enabled | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| problem_has_been_acknowledged | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| acknowledgement_type | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| current_notification_number | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| passive_checks_enabled | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| active_checks_enabled | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| event_handler_enabled | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| flap_detection_enabled | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| is_flapping | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| percent_state_change | double | NULL | NO | MUL | 0 | | select,insert,update,references | |
| latency | double | NULL | NO | MUL | 0 | | select,insert,update,references | |
| execution_time | double | NULL | NO | MUL | 0 | | select,insert,update,references | |
| scheduled_downtime_depth | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| failure_prediction_enabled | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| process_performance_data | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| obsess_over_service | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| modified_service_attributes | int(11) | NULL | NO | | 0 | | select,insert,update,references | |
| event_handler | varchar(255) | latin1_swedish_ci | NO | | | | select,insert,update,references | |
| check_command | varchar(255) | latin1_swedish_ci | NO | | | | select,insert,update,references | |
| normal_check_interval | double | NULL | NO | | 0 | | select,insert,update,references | |
| retry_check_interval | double | NULL | NO | | 0 | | select,insert,update,references | |
| check_timeperiod_object_id | int(11) | NULL | NO | | 0 | | select,insert,update,references | |
+-------------------------------+--------------+-------------------+------+-----+---------------------+----------------+---------------------------------+---------+
+---------------+--------------+-------------------+------+-----+---------+----------------+---------------------------------+---------+
| Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment |
+---------------+--------------+-------------------+------+-----+---------+----------------+---------------------------------+---------+
| object_id | int(11) | NULL | NO | PRI | NULL | auto_increment | select,insert,update,references | |
| instance_id | smallint(6) | NULL | NO | | 0 | | select,insert,update,references | |
| objecttype_id | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
| name1 | varchar(128) | latin1_swedish_ci | NO | MUL | | | select,insert,update,references | |
| name2 | varchar(128) | latin1_swedish_ci | YES | MUL | NULL | | select,insert,update,references | |
| is_active | smallint(6) | NULL | NO | MUL | 0 | | select,insert,update,references | |
+---------------+--------------+-------------------+------+-----+---------+----------------+---------------------------------+---------+