On 2/26/2013 2:22 PM, Emilio Campos wrote:
Farmguardian log says that there is a problem trying to run the script
/usr/local/zenloadbalancer/
app/libexec/perl, you have to copy your own perl script in the path
where farmguardian is looking for:
/usr/local/zenloadbalancer/app/libexec/ .
Be sure that you don't call the perl intepreter when you run your perl
script.
Regards
2013/2/26 James Pifer <[email protected] <mailto:[email protected]>>
I have a perl script for checking back end servers. I can run it fine
from the command line on my zen servers. When I try to have
FarmGuardian
run them I see this in the error log:
execution in Tue Feb 26 11:22:58 2013 ::
server[0]: 192.168.1.50:80 <http://192.168.1.50:80>
**execution error in ' /usr/local/zenloadbalancer/app/libexec/perl
test.pl <http://test.pl> http 192.168.1.50 ', output::**
server[1]: 192.168.1.53:80 <http://192.168.1.53:80>
**execution error in ' /usr/local/zenloadbalancer/app/libexec/perl
test.pl <http://test.pl> http 192.168.1.53 ', output::**
checking:
farmname: LB-Internal
timeout: 5
blacklist: 30
timetocheck: 60
portadmin: 13394
server[0]: 192.168.1.50:80 <http://192.168.1.50:80>
server[1]: 192.168.1.53:80 <http://192.168.1.53:80>
check: perl test.pl <http://test.pl> http HOST
Can I use a perl script for testing? The perl script sets the exit
code
as well, at least it works when I run from the command line.
Thanks,
James
------------------------------------------------------------------------------
I did not have any luck calling my perl scrirt directly. I added another
linux script to call the perl program and that seems to work.
I can see in the logs that zlb is seeing the backend down, but is there
someplace in the GUI that I should see it down?
execution in Wed Feb 27 13:27:58 2013 ::
server[0]: 192.168.1.56:443
Backend status 0: active
command: /usr/local/zenloadbalancer/app/libexec/test https 192.168.1.56 443
timedout: 0
errorcode: 0
No state changed for the backend.
server[1]: 192.168.1.54:443
Backend status 1: fgDOWN
command: /usr/local/zenloadbalancer/app/libexec/test https 192.168.1.54 443
ZLB is very cool. Keep up the nice work.
Thanks,
James
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support