FUN WITH LINUX

check_seleniumtime

12 October 2015

Nagios-Check which loads a website in firefox and outputs the response-time of a website

Usage:

./check_seleniumtime -h
Usage: ./check_seleniumtime [options] -H 
    -h, --help This help screen
    -d, --debug Enable debug-output
    -p, --perf Performance Data on or off
    -w, --warn RESPONSETIME Warning. default 3.5sec
    -c, --crit RESPONSETIME Critical. default 4.5sec
    -H, --host URL Website
    -s, --ssl enable ssl
    -P, --port PORTNUMBER used port
    -u, --uri used uri. for example: /impressum.html

./check_seleniumtime -H tech.feedyourhead.at
OK: http://tech.feedyourhead.at 1.055

Requirements

  • apt-get install ruby firefox xvfb
  • gem install selenium-webdriver
  • gem install headless

Credits

This plugin is powered by Toscom

[ Nagios  Programming  Ruby  Download  Selenium  Nagios-Check  ]
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 Unported License.

Copyright 2015-present Hoti