Noah Hilverling
f935fc9b40
IDO-Logging: Increase logging threshold for nearly empty queue
2020-10-13 08:21:03 +02:00
Noah Hilverling
bd8339ed46
IDO-Logging: Don't log when not connected
2020-10-13 08:21:03 +02:00
Noah Hilverling
070c42acab
IDO-Logging: Remove useless ETA
2020-10-13 08:21:03 +02:00
Noah Hilverling
74aa99f575
IDO-Logging: Add log timeout to log every 5 minutes
2020-10-13 08:20:58 +02:00
Noah Hilverling
51c343630f
IDO: Make sure to insert program status during reconnect()
2020-10-09 12:52:27 +02:00
Alexander A. Klimov
b6b3ac0ab8
Make ApiListener::m_ConfigSyncStageLock a SpinLock
2020-10-02 17:54:36 +02:00
Alexander A. Klimov
0abcf7ea6f
Introduce SpinLock
2020-10-02 17:54:36 +02:00
Noah Hilverling
06d2117945
Revert "IDO: customvariables: fix duplicate entry error"
...
This reverts commit bd2b565a1c6a76cc5fdc479ce8e816a7386ed193.
2020-10-01 10:28:37 +02:00
Alexander A. Klimov
0a1a286913
Don't send reminder notifications before suppressed ones
...
refs #8201
2020-09-30 10:30:21 +02:00
Alexander A. Klimov
6430eef72b
IDO MySQL: actually COMMIT after 25000 async queries
2020-09-29 16:34:26 +02:00
Alexander A. Klimov
b24f438daa
Add timeout for boost::asio::ssl::stream#async_shutdown()
...
refs #7203
2020-09-28 15:39:33 +02:00
Alexander A. Klimov
186a9e95f7
Generalize I/O timeout emulation
2020-09-28 15:39:29 +02:00
Henrik Triem
d9e453fe8a
IDO: Implement more accurate logging for query stats
2020-09-22 14:36:00 +02:00
Henrik Triem
3468191450
WorkQueue: Allow choosing stats log level
2020-09-22 14:35:51 +02:00
Noah Hilverling
b1e52be8f0
Merge pull request #8241 from Icinga/bugfix/duplicate-entry
...
IDO: customvariables: fix duplicate entry error
2020-09-21 13:57:39 +02:00
Alexander A. Klimov
bd2b565a1c
IDO: customvariables: fix duplicate entry error
2020-09-17 10:35:44 +02:00
Noah Hilverling
198090d072
Merge pull request #8230 from Icinga/bugfix/open-connections-2116
...
Fix open connections when agent waits for CA approval
2020-09-14 09:32:31 +02:00
Alexander A. Klimov
a3626d8980
Buildfix
2020-09-11 17:07:40 +02:00
Alexander Aleksandrovič Klimov
b5123e3c25
Merge pull request #8226 from Icinga/bugfix/downtime-checkable-getname
...
Check !!downtime->GetCheckable() before downtime->GetCheckable()->GetName()
2020-09-11 16:44:02 +02:00
Alexander A. Klimov
89c188996b
RequestCertificateHandler(): don't disconnect nodes already integrated into the cluster
...
... not to cause a reconnect loop.
2020-09-11 16:19:43 +02:00
Michael Insel
0ed108bfa2
Fix open connections when agent waits for CA approval
...
This closes the agent connection when the certificate sign requests
waits for CA approval.
refs #7680
2020-09-11 16:17:37 +02:00
Noah Hilverling
124d52f0b7
Merge pull request #8227 from Icinga/bugfix/logrotate-crash-8050
...
Ensure the daemon doesn't get killed by logrotate
2020-09-11 15:29:26 +02:00
Alexander A. Klimov
8b0ba2275a
Check !!downtime->GetCheckable() before downtime->GetCheckable()->GetName()
...
... not to crash while removing a downtime from a disappeared checkable.
2020-09-11 14:47:46 +02:00
Noah Hilverling
6701db4dba
Merge pull request #8225 from Icinga/bugfix/last-zone-sync-stage-validation-failed-7642-2116
...
Clear ApiListener#last_failed_zones_stage_validation on config::Update if config not changed
2020-09-11 14:24:50 +02:00
Alexander A. Klimov
9632d3f634
Clear ApiListener#last_failed_zones_stage_validation on config::Update if config not changed
...
refs #7642
2020-09-11 13:50:32 +02:00
Alexander A. Klimov
dcc3c32dcd
Close connections w/o sucessful TLS handshakes during 10s
...
refs #7805
2020-09-11 11:07:50 +02:00
Alexander A. Klimov
ffdaf134c9
Ensure the daemon doesn't get killed by logrotate
...
refs #8050
2020-08-11 16:13:03 +02:00
Noah Hilverling
a5370f7d15
Merge pull request #8097 from Icinga/bugfix/don-not-close-connection-on-missing-heartbeat-8095
...
Don't close connection on missing heartbeat
2020-07-29 14:12:07 +02:00
Yonas Habteab
a0a5348895
Remove all codes related to the heartbeat timeout
...
until now, if the timeout is exceeded, the connection is immediately terminated.
But since we do not want to disconnect even if the timeout is exceeded, it is
better to send the messages without timeout and have deleted everything that
related to the heartbeat timeout. We also have another mechanism in
JRPC::CheckLiveness that does the disconnect.
2020-07-29 14:10:42 +02:00
Noah Hilverling
a5d4b5797a
Merge pull request #8121 from Icinga/bugfix/include
...
Fix missing include
2020-07-21 09:10:24 +02:00
Noah Hilverling
5911879ffa
Merge pull request #8120 from Icinga/feature/shared-t
...
Introduce Shared<T>
2020-07-21 09:10:13 +02:00
Alexander A. Klimov
21895c92fa
Fix missing include
2020-07-17 16:58:49 +02:00
Alexander A. Klimov
2138480704
Introduce Shared<T>
2020-07-17 16:50:18 +02:00
Noah Hilverling
3c28c55421
Merge pull request #8103 from Icinga/bugfix/send-heartbeat-less-often-8098
...
Send heartbeat every 20s and not 10s
2020-07-16 09:53:08 +02:00
Yonas Habteab
cf5ec5e341
Send heartbeat every 20s and not 10s
2020-07-09 13:22:08 +02:00
Noah Hilverling
d6a007cd27
Merge pull request #8094 from Icinga/bugfix/jsonrpcconnection-m_seen
...
Consider a JsonRpcConnection being seen on a single byte of TLS payload, not only a whole message
2020-07-08 09:59:22 +02:00
Alexander A. Klimov
67b04fae69
ApiListener::HandleConfigUpdate(): make the whole process mutually exclusive
...
refs #7742
2020-07-07 16:11:21 +02:00
Alexander A. Klimov
4d80903c47
ApiListener::ConfigUpdateHandler(): block as less as possible
...
refs #7742
2020-07-07 16:11:21 +02:00
Noah Hilverling
e59c2e896f
Merge pull request #8054 from Icinga/bugfix/segfault-map-reduce-filter-null-8047
...
Ensure the custom function is not null in Array#{sort,map,reduce,filter,any,all}()
2020-06-15 16:16:30 +02:00
Noah Hilverling
949da2bc6b
Merge pull request #8043 from Icinga/bugfix/unify-application-start-times-v2114
...
Fix timing point for Application::GetStartTime() (related to command endpoint grace period)
2020-06-09 14:04:07 +02:00
Noah Hilverling
3628d7ffa8
Merge pull request #8044 from Icinga/bugfix/catch-exception-in-node-setup-v2114
...
Catch exception when trusted cert is not readable during node setup on agent/satellite
2020-06-09 14:02:32 +02:00
Alexander A. Klimov
9c85401914
Ensure the custom function is not null in Array#{sort,map,reduce,filter,any,all}()
...
refs #8047
2020-06-09 12:35:04 +02:00
Michael Insel
3b1f9a938a
Fix Build
...
I have no idea how this got lost.
2020-06-03 16:37:40 +02:00
Michael Insel
18cf314480
CLI: Catch exception when trusted cert is not readable
...
This catches an exception when the trusted cert is not readable during
node setup.
2020-06-03 16:37:39 +02:00
Michael Friedrich
18fdc1457a
Unify Application::GetStartTime() and drop GetMainTime()
...
This essentially moves the start time into the scope when main
starts to "do something", after the reload and configuration handling
is done.
2020-06-03 16:25:53 +02:00
Michael Friedrich
4878daff44
Introduce Application::GetUptime()
2020-06-03 16:21:01 +02:00
Alexander Aleksandrovič Klimov
13df2fc067
Merge pull request #7997 from Icinga/bugfix/jsonrpcconnection-handleandwriteheartbeats-m_endpoint-getname
...
JsonRpcConnection#HandleAndWriteHeartbeats(): check !!#m_Endpoint
2020-05-11 11:39:19 +02:00
Alexander A. Klimov
5e7a675009
JsonRpcConnection#HandleAndWriteHeartbeats(): check !!#m_Endpoint
2020-03-18 11:58:27 +01:00
Noah Hilverling
2a130df80f
Merge pull request #7848 from Icinga/bugfix/coroutine-exception-211x
...
IoEngine#SpawnCoroutine(): always terminate coroutines cleanly
2020-03-02 11:25:22 +01:00
Noah Hilverling
c02eb62ac5
Merge pull request #7846 from Icinga/bugfix/revert-notification-result-211x
...
Revert NotificationResult
2020-03-02 10:46:05 +01:00