depends - is it working?
What is the official status on using depends?
I need to make sure all my http content checks, ssh checks, etc depends on an outside host since the ISP xymon is hosted on is very up and down.
Where can I find documentation on how to implement depends?
I have tested ROUTE but it only seems to work on conn's . is this true?
tia.
Well it doesn't seem like it does work.
I have the following setup in hosts.cfg: 74.125.226.7 GOOGLE # conn <--- a simple Google ping connectivity test. 1.2.3.4 site-wiki # ssh ssh-tunnel conn https://site.sitetest.com route:GOOGLE depends=(mysql:GOOGLE/conn) depends (ssh:GOOGLE/conn) depends (http:GOOGLE/conn) <--- runs a conn, ssh, mysql and http test.. with a route dependancy for the conn to google.com and a mysql, ssh and http dependency on GOOGLE/coon. " " " " many of these lines end with "depends=(mysql:GOOGLE/conn) depends (ssh:GOOGLE/conn) depends (http:GOOGLE/conn)" I even tried depends=(mysql:GOOGLE/conn,ssh:GOOGLE/conn,http:GOOGLE/conn) does not help.
The problem is, there is about 25 hosts+ using this exact dependency and only about 50% of the time it actually works. The "route:" option only helps with the hosts 'conn' status which is good. But the 'depends' barely works half the time. At least by the 'mysql' test (a simple telnet to 3306) almost never works. (but yet sometimes it does). No idea why.
Is this documented somewhere which states this option hasn't worked properly for a while now?
thanks!
On Mon, Mar 12, 2012 at 10:28 AM, Tom S <tsztur at gmail.com> wrote:
What is the official status on using depends?
I need to make sure all my http content checks, ssh checks, etc depends on an outside host since the ISP xymon is hosted on is very up and down.
Where can I find documentation on how to implement depends?
I have tested ROUTE but it only seems to work on conn's . is this true?
tia.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
There is evidence in the form of conversations about it on the mailing list in the past. I'm not sure that I've ever seen Henrik chime in about it though. I would hope that he does on this thread.
On 03/13/2012 11:23 AM, Tom S wrote:
Well it doesn't seem like it does work.
I have the following setup in hosts.cfg: 74.125.226.7 GOOGLE # conn <--- a simple Google ping connectivity test. 1.2.3.4 site-wiki # ssh ssh-tunnel conn https://site.sitetest.com route:GOOGLE depends=(mysql:GOOGLE/conn) depends (ssh:GOOGLE/conn) depends (http:GOOGLE/conn) <--- runs a conn, ssh, mysql and http test.. with a route dependancy for the conn to google.com and a mysql, ssh and http dependency on GOOGLE/coon. " " " " many of these lines end with "depends=(mysql:GOOGLE/conn) depends (ssh:GOOGLE/conn) depends (http:GOOGLE/conn)" I even tried depends=(mysql:GOOGLE/conn,ssh:GOOGLE/conn,http:GOOGLE/conn) does not help.
The problem is, there is about 25 hosts+ using this exact dependency and only about 50% of the time it actually works. The "route:" option only helps with the hosts 'conn' status which is good. But the 'depends' barely works half the time. At least by the 'mysql' test (a simple telnet to 3306) almost never works. (but yet sometimes it does). No idea why.
Is this documented somewhere which states this option hasn't worked properly for a while now?
thanks!
On Mon, Mar 12, 2012 at 10:28 AM, Tom S <tsztur at gmail.com> wrote:
What is the official status on using depends?
I need to make sure all my http content checks, ssh checks, etc depends on an outside host since the ISP xymon is hosted on is very up and down.
Where can I find documentation on how to implement depends?
I have tested ROUTE but it only seems to work on conn's . is this true?
tia.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9fa5cACgkQmb+gadEcsb70OQCdHwXrSESO/zCZvdVX0LRJj4E+ 9MMAoJad6B16U/IeRiKZzFVd9kv6fFjW =F0OI -----END PGP SIGNATURE-----
participants (2)
-
novosirj@umdnj.edu
-
tsztur@gmail.com