Add selenium check over Nagios XI.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
njain213

Add selenium check over Nagios XI.

Post by njain213 »

Hi,

I have completed integration of Nagios XI with selenium.

For demo I want to add selenium related checks on nagios XI.

For example : I want to add a web age check so that I can monitor whether particular URL is down or up.

Can you please guide me how to add it?

Please give me the link to download plugin for the same and how to monitor it.

Please explain in detail as I have integrated nagios XI with selenium and want to give demo on it.

Thanks
Naman
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Add selenium check over Nagios XI.

Post by jdalrymple »

I'm sure you've already seen our documentation on the matter?

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

This covers all aspects. Any additional documentation we could provide would just be repeated amounts of the information in that document.
njain213

Re: Add selenium check over Nagios XI.

Post by njain213 »

Yes, I have saw the document but I want to monitor applications through it.

I want to check home page for any application.

So, could you please let me know about adding any application monitoring through it?

Thanks
Naman
njain213

Re: Add selenium check over Nagios XI.

Post by njain213 »

Hi,

I have deleted services from nagios webpage but hostname is still showing.

Can you please let me know how to remove it?

I have tried everything but unable to delete it.

Below is the example for this issue:

Host
Status
Duration
Attempt
Last Check
Status Information
imrdev.xchanging.comNotifications are disabled for this hostView service status details for this host Up 27m 0s 1/5 05/08/2015 07:56:32 HTTP OK: HTTP/1.1 302 Found - 505 bytes in 0.834 second response time
localhostPassive Only CheckNotifications are disabled for this hostView service status details for this host Up 16d 9h 45m 4s 1/10 05/08/2015 07:37:48 OK - 127.0.0.1: rta

0.096ms, lost 0%
First Page Previous Page Page of 1 Next Page Last Page

Thanks
Naman
njain213

Re: Add selenium check over Nagios XI.

Post by njain213 »

Hi,

Please give the solution asap so that I will present a demo to my management and after that we will plan to purchase it as per your policy.

Thanks
Naman
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Add selenium check over Nagios XI.

Post by tmcdonald »

njain213 wrote:I want to check home page for any application.

So, could you please let me know about adding any application monitoring through it?
I am not 100% sure what you are trying to accomplish. Are you just checking to see if a web page is displayed? If so you do not need to use Selenium - the standard Web URL Wizard will be fine.

Also, your issue about being unable to delete a service is unrelated to the Selenium issue at hand. Please open a new topic for the service deletion issue and we will address it there. we try to keep topics related to one issue so they don't get out of hand.

Please also keep in mind that "bumping" your topic with another post will not get an answer faster, quite the opposite. We sort the topics according to time of last post, so by posting again you are moving your issue to the bottom of our queue.
Former Nagios employee
njain213

Re: Add selenium check over Nagios XI.

Post by njain213 »

I am using Selenium because I want to check application related all the things through Nagios XI.

I have added on URL for this. After that I am going to add login credentials in it so that I can check everything inside the application.

Issue right now I am facing is that I have added one server URL and and applied service to it but I want to remove that host and its services.

I have successfully able to remove the services but unable to remove the host.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Add selenium check over Nagios XI.

Post by lmiltchev »

I have successfully able to remove the services but unable to remove the host.
Are you getting error messages when you try to delete the host? Is there any dependencies in place? Go to the Core Config Manager->Hosts, click on the "Relationship Info" actions button next to the host you are trying to remove, and show us a screenshot of the message that pops up.
Be sure to check out our Knowledgebase for helpful articles and solutions!
njain213

Re: Add selenium check over Nagios XI.

Post by njain213 »

Hi,

Host deleting issue is solved now.

Through website option I have successfully applied check on login into application through login credentials.

I want to search particular string after login into any application through Nagios.

Can you please let me know how can I check the string?

Basically I am performing user journey like Websitepulse monitoring tool is providing.

Thanks
Naman
spurrellian
Posts: 43
Joined: Tue Jan 06, 2015 6:26 am
Location: Bath, UK

Re: Add selenium check over Nagios XI.

Post by spurrellian »

Hi njain213,

Are you trying to check a string exists within a webpage? If so you don't necessarily need to use selenium.

You can do that with the following plugin if you require a ntlm login?

https://exchange.nagios.org/directory/P ... on/details

I used the following to check content of a page

$USER1$/check_ntlmauth.pl -u websiteaddress.com -l "USERNAME" -p "PASSWORD" -c 30 -w 20 -v -e STRINGYOURSEARCHINGFOR

We also use selenium for web checks so if you need more information let me know

Thanks

Paul
Paul S - Using Nagios XI, Network Analyzer, Log Server
Locked