Please send me your configuration farm file in:

/usr/local/zenloadbalancer/config/ZLB-EXCH-HUB_pen.cfg

confirm that your zlb version is v2 stable, also be sure that the
configuration farm includes  farmguardian configured with the issue that
you write below.

Regards


2012/7/17 tibz <[email protected]>

> Hello,
>
> We are about to put the ZLB into production but we would like to receive
> alerts when a backend server is not reachable.
> For this I wanted to use our monitoring system and check the logs
> generated by Farmguardian.
> For the http checks it works OK, i'm using the "-e" switch and when the
> text is not detected I see in the logs "execution error" instead of
> "execution: OK".
>
> However for the SMTP check, it doesnt seems to work. I've created a
> wrong server and intentionnaly misconfigured a backend server to port
> 2552 instead of 25, however farmguardian keeps saying it's OK.
>
>                  farmname: ZLB-EXCH-HUB
>                  timeout: 5
>                  blacklist: 30
>                  timetocheck: 10
>                  portadmin: 18828
>                  server[0]: 192.168.135.5:2552
>                  server[1]: 192.168.135.6:25
>                  check: check_smtp -h HOST -p PORT -t 2
>
> execution in Tue Jul 17 10:56:13 2012 ::
>                  server[0]: 192.168.135.5:2552
> **execution OK in server 0
> errorcode: 0
>                  server[1]: 192.168.135.6:25
> **execution OK in server 1
> errorcode: 0
>                  server[2]: 1.2.3.4:25
> **execution OK in server 2
> errorcode: 0
>
>
> In CLI however, it says it detects it's CRITICAL because connection fails
>
> root@VMWZLB001:/usr/local/zenloadbalancer/logs#
> ../app/libexec/check_smtp -H 192.168.135.5 -p 2552 -t 2
> Connexion refusée
> SMTP CRITICAL - 0,004 sec. de temps de réponse|time=0,003530s;;;0,000000
>
> root@VMWZLB001:/usr/local/zenloadbalancer/logs#
> ../app/libexec/check_smtp -H 192.168.135.6 -p 25 -t 2
> SMTP OK - 0,005 sec. de temps de réponse|time=0,004987s;;;0,000000
>
> root@VMWZLB002:~# /usr/local/zenloadbalancer/app/libexec/check_smtp -H
> 1.2.3.4 -t2
> CRITICAL - Socket timeout after 2 seconds
>
>
> Any idea what i'm doing wrong?
>
> Thanks
> tibz
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Zenloadbalancer-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>



-- 
Load balancer distribution - Open Source Project
http://www.zenloadbalancer.com
Distribution list (subscribe): [email protected]
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to