Home Directory Plugins Web Servers Others Check varnish backend health

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check varnish backend health

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2022-05-15
Owner
License
GPL
Hits
2443
Nagios CSP

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!
Python script to check the health status of each backend.
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
```