Hello,
I am having some trouble with the monitoring scripts.
If I use a simple send expect everything works as expected.
However, if I use a sending program, it is never executed.
here is an extract from my lvs.cf :
expect = "PONG"
use_regex = 1
send_program = "/tmp/monitoring_https %h"
the nanny then runs as foolows :
root 14417 14404 0 11:46 ? 00:00:00 /usr/sbin/nanny -c -h
10.1.1.1 -p 443 -r 443 -e /tmp/monitoring_https %h -x PONG -q --regex -a 15
-I /sbin/ipvsadm -t 7 -w 1 -V X.X.X.X -M m -U none --lvs
here is the extremely simple script /tmp/monitoring_https :
#/bin/sh
IP=$1
echo "`date`, $IP" >> /tmp/https.log
wget --no-check-certificate --quiet -O /dev/stdout https://
$IP/monitoring/ping.php
I can see in my debug log file /tmp/https.log that the script is actually
never, ever called.
However I get these errors :
Oct 26 11:48:31 lvs1 nanny[14417]: The following exited abnormally:
Oct 26 11:48:31 lvs1 nanny[14417]: Ran the external sending program to (
10.1.1.1:443) but didn't get anything back
Oct 26 11:48:31 lvs1 nanny[14418]: The following exited abnormally:
Oct 26 11:48:31 lvs1 nanny[14418]: Ran the external sending program to (
10.1.1.3:443) but didn't get anything back
every few seconds.
The rights on the scripts are extremely permissive, everyone can execute it.
I am running piranha-0.8.5-19.el6.x86_64 on a CentOS 6.3
, 2.6.32-279.9.1.el6.x86_64
Any help would be much appreciated.
Best regards,
--
Xavier Pajona
IT Architect
HEXALIFE SAS
Sophia-Antipolis
+33 6 16 82 60 37
xavier.pajona@xxxxxxxxxxxx
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|