Hello,
We use Nagios XI 2014R2.0 and Mod Gearman 1.5.
We see an issue when we configure two gearman workers, 1 local and 1 remote. The worker configuration files are exactly the same. No host or service groups are enabled. The gearmand (neb) conf is untouched. We would expect that gearman distributes the load between the 2 workers evenly. This is not the case. The local worker is getting almost ALL of the Nagios checks.
I understand that distributing the load is available but any help in understanding why load balancing is not working would really help?
Thanks
Nagios XI and Mod Gearman Load Balancing
Re: Nagios XI and Mod Gearman Load Balancing
Is the remote worker running any checks?
Is the main XI server experiencing high load at the moment?
Is the main XI server experiencing high load at the moment?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios XI and Mod Gearman Load Balancing
I do not believe there is any way other than host or service groups to direct what checks should go to what worker. As far as I know, gearman does not allow much if any manipulation of that, and does it based off a variety of things such as remote system load, connection overhead, running checks on that worker, etc to determine what system gets your checks. Often time, due to connection overhead, gearman does seem to side with the local machine. I would suggest working towards logical groupings of devices or check types, and have certain workers do certain checks or certain machines. I don't know of another alternative at this time.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Nagios XI and Mod Gearman Load Balancing
For abrist...
- Yes, the remote worker ran checks, albeit a very small amount compared to the local worker
- Yes, XI server was under high load
For sreinhardt...
I will follow your guidelines using local groupings.
Thanks guys!
- Yes, the remote worker ran checks, albeit a very small amount compared to the local worker
- Yes, XI server was under high load
For sreinhardt...
I will follow your guidelines using local groupings.
Thanks guys!
Re: Nagios XI and Mod Gearman Load Balancing
brdr,
Is it safe to lock this topic?
Is it safe to lock this topic?
Be sure to check out our Knowledgebase for helpful articles and solutions!