Commit Graph

1650 Commits

Author SHA1 Message Date
Michael Friedrich 260b5f174f ido: add missing host/service config/status attributes
refs #4380
refs #4378
2013-07-31 18:06:54 +02:00
Gunnar Beutner 78b10102c1 ido: Add stubs for servicegroups. 2013-07-31 09:22:25 +02:00
Gunnar Beutner df28d1ac34 ido: Add stubs for hostgroups. 2013-07-31 09:20:06 +02:00
Gunnar Beutner 5fa398290b ido: Add stubs for contactgroups. 2013-07-31 09:17:54 +02:00
Gunnar Beutner 2dfd4e35a3 ido: Add stubs for timeperiods. 2013-07-31 09:14:58 +02:00
Gunnar Beutner a9ffe83f71 ido: Add stubs for contacts/contactstatus. 2013-07-31 09:09:39 +02:00
Gunnar Beutner c12b5fd698 Fix: Check results from the delegation component didn't work. 2013-07-31 08:35:13 +02:00
Gunnar Beutner a8f880e1b6 Fix compiler warning. 2013-07-31 08:29:45 +02:00
Michael Friedrich 0634847055 build fix on debian squeeze 2013-07-30 22:38:33 +02:00
Michael Friedrich 19c0925fa9 itl: fix http_ip plugin check_http (thx cropalato) 2013-07-30 20:45:09 +02:00
Michael Friedrich f83f029571 ido: more host/service config fields
refs #4378
2013-07-30 18:17:58 +02:00
Michael Friedrich 9f4edd1bda CompatUtility: add service config attributes getter 2013-07-30 18:17:13 +02:00
Michael Friedrich 370ba8075a ido: fix mem leak; don't invalidate dbref on object inactive 2013-07-30 14:34:54 +02:00
Michael Friedrich 30d4f509e9 update .gitignore 2013-07-30 13:14:54 +02:00
Michael Friedrich af772f2514 contrib: add flap.sh 2013-07-30 13:09:26 +02:00
Michael Friedrich 603ceb9927 livestatus: import test queries and script
refs #2762
2013-07-30 13:07:13 +02:00
Michael Friedrich 168dbbd28d livestatus: add separator support
fixes #4478
2013-07-29 19:43:12 +02:00
Michael Friedrich 2106322388 livestatus: make query exceptions debug only
fixes #4405
2013-07-29 11:22:56 +02:00
Michael Friedrich 5167626c92 livestatus: rename address to host (same as ido)
refs #2762
2013-07-29 11:18:41 +02:00
Michael Friedrich f72d73f719 add lib/ido/ido-type.cpp to .gitignore 2013-07-27 20:14:26 +02:00
Gunnar Beutner 73beb278cf compat: Fix timestamps. 2013-07-25 09:45:40 +02:00
Gunnar Beutner 70220e7375 ido: Properly implement program status updates. 2013-07-25 09:23:34 +02:00
Gunnar Beutner b2b1040090 ido: Update hosts when their host check is updated. 2013-07-25 08:30:02 +02:00
Gunnar Beutner 28726e5025 Implement status updates for services. 2013-07-24 10:55:04 +02:00
Gunnar Beutner 3a552403eb Implement support for timestamps. 2013-07-23 11:02:47 +02:00
Gunnar Beutner e894d24939 IDO: Use CompatUtility for hosts and services. 2013-07-23 09:50:42 +02:00
Gunnar Beutner 42cf9ea8d6 Move some of the compat functionality to the CompatUtility class. 2013-07-23 09:12:38 +02:00
Gunnar Beutner cab2b41e56 Implement shift operator for the Value class. 2013-07-23 09:11:53 +02:00
Gunnar Beutner ba92ab9460 Yet another build fix. 2013-07-22 14:55:35 +02:00
Gunnar Beutner 3f3ba16a31 Build fix. 2013-07-22 14:52:11 +02:00
Gunnar Beutner 3931529dd9 Another build fix. 2013-07-22 14:51:04 +02:00
Gunnar Beutner 711ef16474 Build fix. 2013-07-22 14:49:20 +02:00
Michael Friedrich 81b3b48998 livestatus: add = operator for lists comparison
refs #2743
2013-07-22 14:26:18 +02:00
Gunnar Beutner 4306264217 Add missing lock. 2013-07-22 13:54:24 +02:00
Gunnar Beutner a7548a5fae Fix: Don't activate/deactive objects when we don't have a database connection. 2013-07-22 13:44:08 +02:00
Gunnar Beutner 0829d8e17e IDO: (Partially) implement status updates. 2013-07-22 12:08:49 +02:00
Michael Friedrich a939cbfef8 livestatus: fix HostsTable::ContactGroupsAccessor()
refs #4372
2013-07-19 16:24:09 +02:00
Michael Friedrich 4bc4defc97 livestatus: add childs attribute to hosts table
refs #4372
2013-07-19 16:11:35 +02:00
Michael Friedrich f0f3412f2c add GetChildHosts() to host object 2013-07-19 16:11:17 +02:00
Michael Friedrich 669e3764bd livestatus: add connections and extcmds to status table
refs #4372
2013-07-19 15:42:00 +02:00
Michael Friedrich c2f43775b8 fix mkembedconfig path 2013-07-19 15:41:39 +02:00
Michael Friedrich a991fbe1b6 livestatus: add host/service staleness indicator
refs #4372
2013-07-19 14:19:09 +02:00
Michael Friedrich 734b08d858 livestatus: more attributes
refs #4372
2013-07-19 13:59:39 +02:00
Gunnar Beutner 511b052105 Only check escalations for problem notifications. 2013-07-19 11:02:43 +02:00
Gunnar Beutner dfda90f744 ido_mysql: Fix deadlock. 2013-07-19 10:34:46 +02:00
Gunnar Beutner 8a99019146 ido_mysql: Automatically reconnect when necessary. 2013-07-19 10:18:47 +02:00
Michael Friedrich f42f4fbdb2 compat: add last_time_* for status.dat 2013-07-18 18:28:43 +02:00
Michael Friedrich 15f88c9582 fix object lock 2013-07-18 18:28:23 +02:00
Michael Friedrich 446d9ad7c6 livestatus: add last_time_* to host and service table
refs #4372
2013-07-18 18:17:25 +02:00
Michael Friedrich 2ebf0822ac add LastState{OK,Warning,Critical,Unknown|Up,Down,Unreachable} time attributes 2013-07-18 18:16:39 +02:00