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
1628
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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
```