[Nagiosplug-help] plugin check_selenium

Björn Wouters s5052418 at stu.khk.be
Fri Apr 15 07:52:10 CEST 2011


Hi

i'm a student from Belgium, so my english isn't perfect but I do hope you'll
understand what I'm trying to ask.
I don't know if you're familiar with the plugin check_selenium?
But still I'll try to explain what I'm trying to do.

With Selenium I made some test cases to check my website (can I login, can I
connect to it, so basically checking if I can do stuff).
With the plugin check_selenium I can get results (like OK or WARNING or
CRITICAL) but I don't want to use webbrowsers... so i use MOCK , like so

CMD
./check_selenium.sh -c "com.example.tests.Login" -b "http://website.com" -t
"*mock"

Nagios
$USER1$/check_selenium -c "com.example.tests.Login" -b "http://website.com"
-t "*mock"

So everything is working, but then I've put my website offline, so I
normally should get a CRITICAL but i get an OK status in Nagios (or in the
CMD - command line)

So actually my question is, do you know how i can get this to work in Nagios
without using a webbrowser?

Thanks in advance

Kind regards

Björn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20110415/612b72b6/attachment.html>


More information about the Help mailing list