Michael Friedrich
|
f55d48cfb3
|
Fix compiler warnings (wip)
refs #4756
|
2013-10-03 18:58:48 +02:00 |
Michael Friedrich
|
157d06bc34
|
livestatus: Fix OneAccessor.
|
2013-10-03 03:48:12 +02:00 |
Michael Friedrich
|
bfa8cf789b
|
compat: Add more host attributes, refactor contacts getter.
|
2013-10-02 21:09:13 +02:00 |
Michael Friedrich
|
09cc7632e7
|
compatutility: Use User(Group) Ptr, not name.
refs #4735
|
2013-10-01 16:44:33 +02:00 |
Michael Friedrich
|
b2f13c37e4
|
compatutility: Add contact(group) getters.
refs #4735
|
2013-10-01 15:39:00 +02:00 |
Gunnar Beutner
|
f90d88aad5
|
Implement validator for LivestatusListener::socket_type.
Fixes #4751
|
2013-09-30 10:07:49 +02:00 |
Gunnar Beutner
|
2a051cdea4
|
Rename directory for Icinga socket files.
|
2013-09-30 09:42:27 +02:00 |
Michael Friedrich
|
a326ddbb9f
|
Revamp livestatus startup logging a bit.
|
2013-09-28 12:54:26 +02:00 |
Michael Friedrich
|
87fa063528
|
LivestatusListener: Set unix socket permissions to 0660.
refs #4444
|
2013-09-27 19:39:46 +02:00 |
Gunnar Beutner
|
21999fe51e
|
Refactor the livestatus library.
|
2013-09-25 09:33:59 +02:00 |
Gunnar Beutner
|
e766b4534f
|
config: Rename Host::hostcheck to Host::check.
|
2013-09-25 09:12:15 +02:00 |
Gunnar Beutner
|
bf1a800e39
|
Update copyright information.
|
2013-09-25 07:45:56 +02:00 |
Gunnar Beutner
|
93b3461f7c
|
livestatus: Fix macro priority.
|
2013-09-10 10:37:30 +02:00 |
Gunnar Beutner
|
86e2f3dd81
|
Windows build fix.
|
2013-09-01 06:01:27 +02:00 |
Gunnar Beutner
|
e93808a468
|
Fix "make dist".
Fixes #4489
|
2013-08-29 08:38:09 +02:00 |
Gunnar Beutner
|
2e2012c913
|
Clean up Makefiles.
|
2013-08-29 08:21:07 +02:00 |
Gunnar Beutner
|
f39f69d390
|
Refactor ASSERT macro.
|
2013-08-28 08:18:58 +02:00 |
Gunnar Beutner
|
f49bb3d150
|
Refactor JSON-RPC library and implement check-result messages.
|
2013-08-27 12:21:41 +02:00 |
Gunnar Beutner
|
e9e55cd8c0
|
Remove the replication feature and clean up the code.
|
2013-08-26 14:56:38 +02:00 |
Michael Friedrich
|
b89f72b552
|
Windows x64 build fix.
|
2013-08-20 12:50:24 +02:00 |
Gunnar Beutner
|
82b3b81b91
|
Windows build fix.
|
2013-08-20 08:29:38 +02:00 |
Michael Friedrich
|
0634847055
|
build fix on debian squeeze
|
2013-07-30 22:38:33 +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 |
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 |
Michael Friedrich
|
81b3b48998
|
livestatus: add = operator for lists comparison
refs #2743
|
2013-07-22 14:26:18 +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
|
669e3764bd
|
livestatus: add connections and extcmds to status table
refs #4372
|
2013-07-19 15:42:00 +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 |
Michael Friedrich
|
446d9ad7c6
|
livestatus: add last_time_* to host and service table
refs #4372
|
2013-07-18 18:17:25 +02:00 |
Michael Friedrich
|
369fe28acc
|
livestatus: add current_notification_number to host and service table
refs #4372
|
2013-07-18 17:32:09 +02:00 |
Michael Friedrich
|
26f1bf86f3
|
livestatus: finish timeperiods table
refs #4372
|
2013-07-18 15:30:39 +02:00 |
Michael Friedrich
|
c36ea86ac9
|
livestatus: add unix and tcp socket support
use socket_type and then either socket_path or address and port.
fixes #4376
|
2013-07-18 14:57:04 +02:00 |
Michael Friedrich
|
03a830c453
|
livestatus: add num_hosts|services to status table
refs #4372
|
2013-07-18 09:48:15 +02:00 |
Michael Friedrich
|
33e5a839db
|
livestatus: fix check_command_expanded for hosts table
refs #4372
|
2013-07-17 16:38:31 +02:00 |
Michael Friedrich
|
de6696f92b
|
livestatus: add more host table attributes
reduce TODOs to 16 of 112.
refs #4372
|
2013-07-17 16:10:49 +02:00 |
Michael Friedrich
|
ad83a51547
|
livestatus: add more service table attributes (90% done)
* macro resolving for _expanded
* notification*
* timeperiod*
* downtimes/comments (with info)
* custom variables
* contacts, contactgroups, servicegroups
refs #4372
|
2013-07-16 17:58:23 +02:00 |
Michael Friedrich
|
e9eb40c1f7
|
livestatus: fix missing object lock on array in attribute filter
|
2013-07-16 15:38:59 +02:00 |
Michael Friedrich
|
32a1f50116
|
livestatus: contacts table fixes (ignore special custom attr)
refs #4372
|
2013-07-16 14:56:32 +02:00 |
Michael Friedrich
|
2cc8ef17e1
|
livestatus: finish host|servicegroup table attributes
refs #4372
|
2013-07-16 13:26:16 +02:00 |
Michael Friedrich
|
df1d47a996
|
livestatus: finish contacts table attributes
refs #4372
|
2013-07-16 13:18:02 +02:00 |
Michael Friedrich
|
42dcd854fb
|
livestatus: add array delimiter based on level for csv output
... 0 uses comma, 1 uses the pipe for csv output. for json we do not
make any difference.
fixes #4412
|
2013-07-15 10:50:41 +02:00 |
Michael Friedrich
|
e81fd48bbd
|
livestatus: use Empty instead of Value()
fixes #4410
|
2013-07-12 19:20:12 +02:00 |
Michael Friedrich
|
358aa3a6a5
|
livestatus: use enum for error codes, fix empty line
refs #4372
|
2013-07-12 18:25:18 +02:00 |
Michael Friedrich
|
45db7e08a2
|
livestatus: finish commentstable attributes
refs #4372
|
2013-07-12 18:10:27 +02:00 |
Michael Friedrich
|
8c02c3a75a
|
livestatus: servicegroup members as host/service array
refs #4372
|
2013-07-12 17:50:41 +02:00 |
Michael Friedrich
|
9f9f3623fc
|
livestatus: add servicegroupstable attributes
refs #4372
|
2013-07-12 16:47:37 +02:00 |
Michael Friedrich
|
1b5f4dcde7
|
livestatus: join csv arrays into comma seperated string
refs #4374
|
2013-07-12 16:32:13 +02:00 |
Michael Friedrich
|
6dc88e770b
|
livestatus: add hostgroup attributes
refs #4372
|
2013-07-12 15:35:32 +02:00 |
Michael Friedrich
|
cfb3c9cf9f
|
livestatus: implement avg,min,max,std,invsum,invavg stats aggregators
fixes #4398
|
2013-07-12 12:07:32 +02:00 |
Michael Friedrich
|
2a3b41f948
|
livestatus: remove stop function again
|
2013-07-12 11:04:04 +02:00 |
Michael Friedrich
|
26cc0ecb02
|
livestatus: bugfixes.
|
2013-07-12 10:54:57 +02:00 |
Michael Friedrich
|
904830ee3e
|
livestatus: add sum aggregator, refactor Filter/Stats handling
refs #4398
|
2013-07-11 17:54:36 +02:00 |
Michael Friedrich
|
4f75ba03ff
|
livestatus: add basic aggregator support
refs #4398
|
2013-07-11 16:08:53 +02:00 |
Michael Friedrich
|
55d9eb3548
|
livestatus: log which table misses the column
|
2013-07-11 14:20:43 +02:00 |
Michael Friedrich
|
4731faea89
|
livestatus: add timeperiods table
refs #4372
|
2013-07-11 13:03:14 +02:00 |
Michael Friedrich
|
3184fee145
|
livestatus: fix host/servicegroup tables
add empty data providers for all requestable columns.
refs #4372
|
2013-07-11 12:43:27 +02:00 |
Michael Friedrich
|
f631304a23
|
livestatus: fix check_type (0..active, 1..passive)
refs #4372
|
2013-07-11 11:55:32 +02:00 |
Michael Friedrich
|
96e1935fb4
|
livestatus: add commandstable name/line
requires conversion of commandline (plain text or array).
refs #4372
|
2013-07-11 11:47:32 +02:00 |
Michael Friedrich
|
0a033b0f87
|
livestatus: add parentObjectAccessor to function prototypes
comments and downtimes where missing, even if unused.
|
2013-07-11 11:10:56 +02:00 |
Michael Friedrich
|
d6d61354ed
|
livestatus: time values must be integer seconds
fixes #4406
|
2013-07-11 10:57:21 +02:00 |
Gunnar Beutner
|
540e63c157
|
Make sure new comments/downtimes are added to the ID cache right away.
|
2013-07-11 08:58:11 +02:00 |
Gunnar Beutner
|
033389d243
|
Fix invalid function call.
|
2013-07-11 08:40:02 +02:00 |
Michael Friedrich
|
2a097d0b04
|
livestatus: more fixes on joins, ptrs
refs #4372
|
2013-07-10 16:11:40 +02:00 |
Michael Friedrich
|
8033586f66
|
livestatus: close socket on component Stop()
refs #4376
|
2013-07-10 14:19:01 +02:00 |
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 |