Commit Graph

49 Commits

Author SHA1 Message Date
Michael Friedrich ff61df9d71 livestatus: use generic Value() as row accessor instead of Object()
This will allow comments/downtimes to be stashed as string (id) while
existing objects will still be available as Value().

refs #4372
2013-07-10 14:11:03 +02:00
Michael Friedrich 540489e408 livestatus: add host and service group getters
refs #4372
2013-07-09 18:33:27 +02:00
Michael Friedrich 6ce71489c8 livestatus: add commands table (thruk now shows extinfo)
refs #4372
2013-07-09 18:09:03 +02:00
Michael Friedrich 82ae632389 livestatus: fix typo 2013-07-09 18:05:47 +02:00
Michael Friedrich c4aae5bdba livestatus: add empty logtable
refs #4372
2013-07-09 17:46:48 +02:00
Michael Friedrich aefda9f124 livestatus: add contact*, status, service table attributes
comments and downtimes require special object treatment -> linked to
services?

refs #4372
2013-07-09 17:15:38 +02:00
Gunnar Beutner 0f56513087 Merge remote-tracking branch 'origin/master' 2013-07-09 08:46:02 +02:00
Gunnar Beutner 4961523e91 Add DECLARE_PTR_TYPEDEFS macro for Ptr/WeakPtr typedefs. 2013-07-09 08:43:52 +02:00
Michael Friedrich 0d3bf55e46 livestatus: add service table accessors
not yet complete, but the same level as host table accessors.

refs #4372
2013-07-08 17:09:15 +02:00
Michael Friedrich 16adc9a0c5 livestatus: add more hosttable todos
refs #4372
2013-07-05 19:14:10 +02:00
Michael Friedrich ec3e8cfe1c livestatus: move host attribute getter into host->service again
refs #4372
2013-07-05 13:42:40 +02:00
Michael Friedrich 03c18367ff livestatus: hosttable: fix checkperiod null ptr
refs #4372
2013-07-05 11:46:20 +02:00
Michael Friedrich 7b0c27acc5 livestatus: hosttable: check if custom dictionary exists
refs #4372
2013-07-05 11:32:19 +02:00
Michael Friedrich 69cb48242f livestatus: hoststable: lock service object for acknowledgement getters
refs #4372
2013-07-05 11:28:05 +02:00
Michael Friedrich e448374674 livestatus: fix missing symbols
refs #4372
2013-07-05 10:51:09 +02:00
Michael Friedrich 88197d216a livestatus: add first part of host data providers
refs #4372
2013-07-05 09:35:49 +02:00
Michael Friedrich 1db349df18 livestatus: stop reading data if stream was closed
fixes #4371
2013-07-04 09:45:44 +02:00
Michael Friedrich 80c91aa91e stream/livestatus: refactor ReadLine with context saving 2013-07-03 16:16:38 +02:00
Gunnar Beutner 8e880a3f39 Fix include directory for ltdl.h. 2013-07-02 16:56:01 +02:00
Michael Friedrich c9fb309200 tools: move mkembedconfig into subdir
preparation for moving the conversion script into tools/

refs #4337
2013-06-24 16:05:18 +02:00
Gunnar Beutner 0fcbfdb236 Windows build fix. 2013-04-19 15:28:34 +02:00
Gunnar Beutner 09f395a7de Refactor the socket subsystem. 2013-04-04 16:08:40 +02:00
Gunnar Beutner 734f76af96 Windows build fix. 2013-03-18 22:40:40 +01:00
Gunnar Beutner c3975af6ec Refactor #includes (Part 4). 2013-03-18 11:02:18 +01:00
Gunnar Beutner 9d076c3c03 Refactor #includes (Part 3). 2013-03-17 20:19:29 +01:00
Gunnar Beutner 0bb0711d72 Refactor #includes (Part 2). 2013-03-16 21:18:53 +01:00
Gunnar Beutner 3073200b53 Cleaned up #includes (Part 1). 2013-03-15 18:21:29 +01:00
Gunnar Beutner 27e1d311de Fix dependencies for mkembedconfig. 2013-03-15 13:35:39 +01:00
Gunnar Beutner 4d5e924bc6 Add mkembedconfig as a dependency for the .conf -> .cpp build step. 2013-03-15 11:56:30 +01:00
Gunnar Beutner 49620ef0ed XNU build fixes. 2013-03-14 15:14:07 +01:00
Gunnar Beutner 98ab009b91 Cleaned up VS project files. 2013-03-12 19:49:24 +01:00
Gunnar Beutner d15a21a0d2 Windows build fix. 2013-03-12 18:42:35 +01:00
Gunnar Beutner 5fcdc51e3c Windows build fix. 2013-03-12 15:35:51 +01:00
Gunnar Beutner 3c363499bb Eliminate the Component class.
Fixes #3832
Fixes #3840
2013-03-12 13:45:54 +01:00
Gunnar Beutner d8edd98e41 Add more information to exceptions. 2013-03-11 13:47:17 +01:00
Gunnar Beutner f34778eb86 *NIX build fix. 2013-03-10 22:55:57 +01:00
Gunnar Beutner 7274d4680e Implement some more tables. 2013-03-10 22:20:13 +01:00
Gunnar Beutner ed912b0e23 Prepare support for table joins. 2013-03-10 18:50:22 +01:00
Gunnar Beutner 6c7af283c0 Add missing files in Makefile.am. 2013-03-10 17:57:49 +01:00
Gunnar Beutner fbf08257ad Implement the "Stats" header. 2013-03-10 17:54:46 +01:00
Gunnar Beutner fd6deeeee6 Implement "Negate" header. 2013-03-10 15:27:55 +01:00
Gunnar Beutner dc27ddaada Combine all top-level filters into a single filter (with operator "and"). 2013-03-10 15:23:41 +01:00
Gunnar Beutner 79579e9bb1 *NIX build fix. 2013-03-10 15:14:14 +01:00
Gunnar Beutner c728e85c8c Implement attribute filters. 2013-03-10 15:11:32 +01:00
Gunnar Beutner ad77c873ba Implement filters for "and" and "or". 2013-03-10 12:24:03 +01:00
Gunnar Beutner 8bda3bc63c Added dummy tables: contactgroups and contacts. 2013-03-10 09:55:46 +01:00
Gunnar Beutner d7efa9e24c Implement basic livestatus GET queries. 2013-03-10 09:23:13 +01:00
Gunnar Beutner a38263b3c8 Implement livestatus commands. 2013-03-10 05:10:51 +01:00
Gunnar Beutner 27505536f9 Add livestatus component. 2013-03-10 03:09:01 +01:00