Perfect! Thank you! Though it's irrelevant in our particular case because we have a policy to cluster / failover everything, I'd like the script to take these things in consideration!
I'll make them available here when they're finished, tested, and have been running well for a while. Mit freundlichen Grüßen / With best regards Andreas Iwanowski - IT Administrator / Software Developer www.awato.de<http://www.awato.de> | [email protected]<mailto:[email protected]> T: +49 (0)2133 2969 28 | F: +49 (0)2133 2969 69 awato Software GmbH | Salm Reifferscheidt Allee 37 | D-41540 Dormagen avisor-Support | T: +49 (0)621 6094 043 | F: +49 (0)621 6071 447 [awato Software GmbH] [cid:qrCode-63e3864e-f744-4ad2-aae3-38aaf37b4110bad045] Geschäftsführer: Ursula Iwanowski | HRB: Neuss 7208 | VAT-no.: DE 122796158 From: Emilio Campos [mailto:[email protected]] Sent: Thursday, August 09, 2012 3:13 PM To: [email protected] Subject: Re: [Zenloadbalancer-support] cluster.conf format HI if the cluster isn't configured (standalone) then the file /usr/local/zenloadbalancer/config/cluster.conf doesn't exist. if the cluster is in configuration proccess then the file /usr/local/zenloadbalancer/config/cluster.conf has the next content: MEMBERS:::: IPCLUSTER:172.16.0.11:eth0:cl: TYPECLUSTER: CABLE: IDCLUSTER: this last situation it's not usual, because it means that the system administrator forgot to conclude the task but you cuold find it Regards! 2012/8/9 Andreas M. Iwanowski <[email protected]<mailto:[email protected]>> Emilio, Could you please also tell me what this line looks like if clustering is not configured? I.e. on a standalone host. Thanks! -Andy Mit freundlichen Grüßen / With best regards Andreas Iwanowski - IT Administrator / Software Developer www.awato.de<http://www.awato.de> | [email protected]<mailto:[email protected]> T: +49 (0)2133 2969 28<tel:%2B49%20%280%292133%202969%2028> | F: +49 (0)2133 2969 69<tel:%2B49%20%280%292133%202969%2069> awato Software GmbH | Salm Reifferscheidt Allee 37 | D-41540 Dormagen avisor-Support | T: +49 (0)621 6094 043<tel:%2B49%20%280%29621%206094%20043> | F: +49 (0)621 6071 447<tel:%2B49%20%280%29621%206071%20447> [cid:[email protected]] Geschäftsführer: Ursula Iwanowski | HRB: Neuss 7208 | VAT-no.: DE 122796158 From: Emilio Campos [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, August 07, 2012 9:03 AM To: [email protected]<mailto:[email protected]> Subject: Re: [Zenloadbalancer-support] cluster.conf format TYPECLUSTER:equal:UP The UP value doesn't show that the service is working fine, the UP value shows that the service has to be configured as running, it is a tag used in the start proccess. If you are interested on run your own nagios script to know if your cluster is running fine it's not the value. A possible way is to run a wget to your zen web gui (section cluster) and parse the html output to know that all is working fine. Regards 2012/8/6 Andreas M. Iwanowski <[email protected]<mailto:[email protected]>> Dear Zen Support Team, I have a quick question about the cluster.conf format since I'm trying to extract some information from it for a custom nagios monitoring script. The line "TYPECLUSTER:<host1>-<host2>:UP" is what I'm interested in. I want to determine whether the configuration is "Fail back to primary machine" or "Either can be master". The line above is from a system in Master/Slave config (case 1). Since it's production, I can't switch it in the GUI, so I wish to ask here, what does that line look like in case of "Either can be master"? Mit freundlichen Gr??en / With best regards Andreas Iwanowski - IT Administrator / Software Developer www.awato.de<http://www.awato.de> | [email protected]<mailto:[email protected]> T: +49 (0)2133 2969 28<tel:%2B49%20%280%292133%202969%2028> | F: +49 (0)2133 2969 69<tel:%2B49%20%280%292133%202969%2069> awato Software GmbH | Salm Reifferscheidt Allee 37 | D-41540 Dormagen avisor-Support | T: +49 (0)621 6094 043<tel:%2B49%20%280%29621%206094%20043> | F: +49 (0)621 6071 447<tel:%2B49%20%280%29621%206071%20447> Gesch?ftsf?hrer: Ursula Iwanowski | HRB: Neuss 7208 | VAT-no.: DE 122796158 ------------------------------------------------------------------------------ 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]<mailto:[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]<mailto:[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]<mailto:[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]<mailto:[email protected]>
<<inline: image001.png>>
<<inline: qrCode-63e3864e-f744-4ad2-aae3-38aaf37b4110bad045>>
------------------------------------------------------------------------------ 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
