[Xymon] Changing Host Header

Henrik Størner henrik at hswn.dk
Mon Mar 28 17:46:48 CEST 2011


Den 28-03-2011 17:13, SEGLARD, Thomas skrev:
> First of all, I’m using Xymon 4.2.3 J I want to get the Apache
> performance graphs but to achieve that I need to send a specific host
> header due to my Apache configuration. This command is working thanks to
> curl :
>
> xymonServer:$ curl -H"Host: localhost" http://prdwatweb016:8090/sstatus
>
> If I specify any other host, I couldn’t get the Apache status. So my
> question is : how can I do that with Xymon ?

Use "apache=http://prdwatweb016:8090/sstatus" and make sure 
"prdwatweb016" resolves to the right IP. Worst case, add an entry to 
your Xymon servers' /etc/hosts file for it.

(With ordinary http checks, you could specify the IP to use as
    http://prdwatwab016=127.0.0.1:8090/sstatus
  but I'm not sure if that works for the "apache" test).


Regards,
Henrik



More information about the Xymon mailing list