Page 1 of 2
Add selenium check over Nagios XI.
Posted: Tue Aug 04, 2015 6:30 am
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
Re: Add selenium check over Nagios XI.
Posted: Tue Aug 04, 2015 10:30 am
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.
Re: Add selenium check over Nagios XI.
Posted: Tue Aug 04, 2015 1:54 pm
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
Re: Add selenium check over Nagios XI.
Posted: Wed Aug 05, 2015 7:31 am
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
Re: Add selenium check over Nagios XI.
Posted: Wed Aug 05, 2015 11:52 am
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
Re: Add selenium check over Nagios XI.
Posted: Wed Aug 05, 2015 3:16 pm
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.
Re: Add selenium check over Nagios XI.
Posted: Thu Aug 06, 2015 12:54 am
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.
Re: Add selenium check over Nagios XI.
Posted: Thu Aug 06, 2015 10:58 am
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.
Re: Add selenium check over Nagios XI.
Posted: Mon Aug 10, 2015 12:56 am
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
Re: Add selenium check over Nagios XI.
Posted: Mon Aug 10, 2015 10:24 am
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