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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc