Skip to content

benprew/nagios-checks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nagios-checks

Build

Various Nagios check scripts.

check_haproxy

Checks haproxy stats and reports errors if any of the servers for a proxy are down.

Usage: check_haproxy.rb [options]

Specific options:
    -u, --url URL                    Statistics URL to check (e.g. http://demo.1wt.eu/)
    -p, --proxies [PROXIES]          Only check these proxies (eg proxy1,proxy2,proxylive)
    -U, --user [USER]                Basic auth user to login as
    -P, --password [PASSWORD]        Basic auth password
    -w, --warning [WARNING]          Threshold for number of sessions as a percentage of the limit
    -c, --critical [CRITICAL]        Threshold for number of sessions as a percentage of the limit
    -h, --help                       Display this screen

Example: check_haproxy.rb -u "http://demo.1wt.eu/" -w 80 -c 95

check_solr_slave

Usage: check_solr_slave [options]
-H, --hostname [hostname]        Host to connect to [localhost]
-p, --port [port]                Port to connect to [8983]
-w, --warn [minutes]             Threshold for warning [15]
-c, --crit [minutes]             Threshold for critical [30]
-h, --help                       Display this screen

License

GPL https://www.gnu.org/licenses/gpl.html

About

Various Nagios check scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •