Quick MOD-GEARMAN question

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Quick MOD-GEARMAN question

Postby coitop » Mon Nov 29, 2021 3:40 am


Do MOD-GEARMANS cache data in case they lose connectivity with Nagios and send data when the conneciton comes back up?

Posts: 36
Joined: Fri Jul 17, 2020 7:35 am

Re: Quick MOD-GEARMAN question

Postby mcapra » Mon Nov 29, 2021 9:50 am

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.



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
User avatar
Posts: 3734
Joined: Thu May 05, 2016 3:54 pm

Return to Community Support

Who is online

Users browsing this forum: Fess [Nagios Bot] and 21 guests