Hello,
Do MOD-GEARMANS cache data in case they lose connectivity with Nagios and send data when the conneciton comes back up?
Thanks!
Quick MOD-GEARMAN question
Re: Quick MOD-GEARMAN question
It's actually the Gearman job server you'd need to worry about, in this case. The NEB module on the Nagios side of things simply consumes messages from the check_results queue on that Gearman job server.
http://gearman.org/manual/job_server/
If Nagios is unable to reach the Gearman job server for some reason, it simply can't consume anything. Your check results wait in the check_results queue on that job server until such a time when Nagios is able to consume them. Gearman job server queues, by default, exist only in memory and are not durable -- if the Gearman job server process dies, your check results go poof. You can leverage the --queue-type argument for the Gearman job server to store the queue in mysql instead, if durability is desired.
http://gearman.org/manual/job_server/
If Nagios is unable to reach the Gearman job server for some reason, it simply can't consume anything. Your check results wait in the check_results queue on that job server until such a time when Nagios is able to consume them. Gearman job server queues, by default, exist only in memory and are not durable -- if the Gearman job server process dies, your check results go poof. You can leverage the --queue-type argument for the Gearman job server to store the queue in mysql instead, if durability is desired.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/