Hi<br><br>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.<br>I don't know if you're familiar with the plugin check_selenium?<br>But still I'll try to explain what I'm trying to do.<br>
<br>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).<br>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<br>
<br>CMD<br>./check_selenium.sh -c "com.example.tests.Login" -b "<a href="http://website.com">http://website.com</a>" -t "*mock"<br><br>Nagios<br>$USER1$/check_selenium -c "com.example.tests.Login" -b "<a href="http://website.com">http://website.com</a>" -t "*mock"<br>

<br>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)<br><br>So actually my question is, do you know how i can get this to work in Nagios without using a webbrowser?<br>
<br>Thanks in advance<br><br>Kind regards<br><br>Björn<br><br>
<div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>