Hello There,
I am trying to setup Synthetic Monitoring using Selenium via NagiosXI following the link https://assets.nagios.com/downloads/nag ... 1524063342.
I am running into issues with getting the prerequisites installed. For example Selenium IDE: Perl Formatter is no more available for the current version of FireFox. Not sure if that is still a dependency.
Also, with respect to GUI installation on CentOS or Linux, I am not very familiar with this. My question though is, when GUI installed on CentOS, when launching GUI from my PC, does it launch the GUI like how a Windows Server is accessed via RDP?
Did anyone implement successfully this in your environments?
Any inputs are appreciated.
Thanks,
SB
Synthetic Monitoring via NagiosXI
-
- Posts: 252
- Joined: Wed Dec 14, 2016 12:30 pm
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Synthetic Monitoring via NagiosXI
Hello, @Sampath.Basireddy. Yes, looks like the "Selenium IDE: Perl Formatter" is no longer supported by the latest versions of Firefox. I will report this issue internally so we can fix the article.
To answer your second question, you'd need to enable RDP access separately on Linux. Another alternative is to use VNC, which also needs to be enabled.
To answer your second question, you'd need to enable RDP access separately on Linux. Another alternative is to use VNC, which also needs to be enabled.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 252
- Joined: Wed Dec 14, 2016 12:30 pm
Re: Synthetic Monitoring via NagiosXI
Thank You @npolovenko.
So the selenium script does run in the foreground? If that is the case, the session to Linux box should be active/open always as long as the script is running, right?
I used to do this with HP UFT Scripts and that was done via HP BSM using BPM Collectors.
So the selenium script does run in the foreground? If that is the case, the session to Linux box should be active/open always as long as the script is running, right?
I used to do this with HP UFT Scripts and that was done via HP BSM using BPM Collectors.
Re: Synthetic Monitoring via NagiosXI
The Selenium Server configuration used in the aforementioned documentation requires an active browser session mounted to a Window management system like X. It then points the appropriate webdriver (for Firefox, Safari, Chrome, whatever) at that browser session.Sampath.Basireddy wrote:So the selenium script does run in the foreground?
There are headless options for Selenium (that run "in the background") which aren't mentioned in the Nagios XI integration documentation. Most independent drivers have a flag you can set to run in "headless" mode.
As long as whatever system user is responsible for running the Selenium server has an active X session, and the Selenium Server process is running under that same (or elevated) user, that should be good enough. Your mileage may vary depending on the host operating system, but I believe this holds true for the recommended default CentOS 7 DVD installation that the documentation was written against. Additionally, there are line-items in the documentation for automatically logging in the user to establish an X session (see the "Configure CentOS 7 To Automatically Login" section).Sampath.Basireddy wrote:If that is the case, the session to Linux box should be active/open always as long as the script is running, right?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Synthetic Monitoring via NagiosXI
Thanks, @mcapra! @Sampath.Basireddy, Please let us know if you have any other questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.