varnishadm backend.list missing IPs
Geoff Simmons
geoff at uplex.de
Wed Feb 10 10:13:26 CET 2016
On 02/05/2016 02:56 PM, Tim Little wrote:
>
> I have just upgraded to Varnish-4.1.1 from Varnish-4.0 and I have
> noticed that `varnishadm backend.list` no longer displays the IP
> address of the backend.
>
> We were using this to monitor the backends health in Nagios NRPE
> check but this no longer works.
What we do is name the backends in VCL so that the application and
hostname is human-readable and parseable -- for application "foobar"
running on host bar-baz-quux, the VCL backend name is FOOBAR_bar_baz_quux.
Your nagios check can then parse it from the output of backend.list,
and you're good.
HTH,
Geoff
--
** * * UPLEX - Nils Goroll Systemoptimierung
Scheffelstraße 32
22301 Hamburg
Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753
http://uplex.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160210/28974456/attachment.pgp>
More information about the varnish-misc
mailing list