modGearman and Selenium GUI Firefox coexistence

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

modGearman and Selenium GUI Firefox coexistence

Post by dlukinski »

Hello XI support

We are looking into making modGearman coexist with Selenium server (has to be GUI install, right?) on the same Linux
- is there any known issues with having both installed on CentOS7 (should we opt for 6.8 instead?)

Thank you
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: modGearman and Selenium GUI Firefox coexistence

Post by mcapra »

dlukinski wrote:has to be GUI install, right?
You can do headless Selenium testing, but I personally never saw a point in it. We also don't offer documentation for such an environment.
dlukinski wrote:is there any known issues with having both installed on CentOS7 (should we opt for 6.8 instead?)
I just set my Selenium server up as a Mod-Gearman worker and didn't have any issues running test cases on it. Seems like it should be fine. However, as a gearman worker your server might be under additional stress if it's handling a lot of jobs. This could cause issues with your web browser or Selenium server.

If your goal is to distribute the test scripts to the Selenium server, it might be easier to just put the test scripts on the Selenium server and call them with check_by_ssh.
Former Nagios employee
https://www.mcapra.com/
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: modGearman and Selenium GUI Firefox coexistence

Post by dlukinski »

mcapra wrote:
dlukinski wrote:has to be GUI install, right?
You can do headless Selenium testing, but I personally never saw a point in it. We also don't offer documentation for such an environment.
dlukinski wrote:is there any known issues with having both installed on CentOS7 (should we opt for 6.8 instead?)
I just set my Selenium server up as a Mod-Gearman worker and didn't have any issues running test cases on it. Seems like it should be fine. However, as a gearman worker your server might be under additional stress if it's handling a lot of jobs. This could cause issues with your web browser or Selenium server.

If your goal is to distribute the test scripts to the Selenium server, it might be easier to just put the test scripts on the Selenium server and call them with check_by_ssh.
This is the case where modGearman workers and remote Selenium servers have to do essentially same tasks (testing same resources from multiple remote locations). Therefore makes sense to combine them into 1 server (2 CPU / 4 GB RAM to begin with - really not an issue in that respect). Asking you what is the best practice and which CentOS version would work best in a circumstance.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: modGearman and Selenium GUI Firefox coexistence

Post by mcapra »

That setup seems fine to me. We don't really have a "best practices" recommendation for a hybrid Selenium/gearman environment. While we do offer extensive support for those applications, Nagios does not maintain either of them directly. I have tested this for CentOS 7 and the environment seems stable.

My only concern, as I said, would be situations where the gearman jobs begin to generate significant performance issues. That could impact the results/performance of your Selenium environment. If the Selenium/gearman server is always under capacity, then performance considerations should be a non issue.
Former Nagios employee
https://www.mcapra.com/
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: modGearman and Selenium GUI Firefox coexistence

Post by dlukinski »

mcapra wrote:That setup seems fine to me. We don't really have a "best practices" recommendation for a hybrid Selenium/gearman environment. While we do offer extensive support for those applications, Nagios does not maintain either of them directly. I have tested this for CentOS 7 and the environment seems stable.

My only concern, as I said, would be situations where the gearman jobs begin to generate significant performance issues. That could impact the results/performance of your Selenium environment. If the Selenium/gearman server is always under capacity, then performance considerations should be a non issue.
Thank you for your opinion, we'll go with it and NRPE-monitor these installations. Please close the case
Locked