Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check varnish backend health
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
How to run the script:
```
usage: check_varnish_health [-h] path args
./check_backend_health.py [varnishadm path] [backend cmd (backend.list)]
```
Example Nagios Configuration:
```
command[check_backend_health]=/usr/lib/nagios/plugins/check_backend_health.py /usr/bin/varnishadm backend.list
```
Example Output:
```
~# /usr/lib/nagios/plugins/check_nrpe -u -H [IP Address/Hostname] -c check_backend_health
OK: All 4 backends are healthy
```
```
usage: check_varnish_health [-h] path args
./check_backend_health.py [varnishadm path] [backend cmd (backend.list)]
```
Example Nagios Configuration:
```
command[check_backend_health]=/usr/lib/nagios/plugins/check_backend_health.py /usr/bin/varnishadm backend.list
```
Example Output:
```
~# /usr/lib/nagios/plugins/check_nrpe -u -H [IP Address/Hostname] -c check_backend_health
OK: All 4 backends are healthy
```
Reviews (0)
Be the first to review this listing!