Hello,
Using Xymon 4.3.7 does anyone know if it is possible to replace a xymonnet test with a local test of the same name? I want to replace the 'dns' test with one run as a script on clients.
Obviously I can disable the current 'dns' test, but I am a bit loathe to name a DNS test anything other than 'dns' :-)
John.
-- John Horne Tel: +44 (0)1752 587287 Plymouth University, UK Fax: +44 (0)1752 587001
Hello,
Using Xymon 4.3.7 does anyone know if it is possible to replace a xymonnet test with a local test of the same name? I want to replace the 'dns' test with one run as a script on clients.
Obviously I can disable the current 'dns' test, but I am a bit loathe to name a DNS test anything other than 'dns' :-)
Not really possible, AFAIK. Sounds like something that would somehow bite someone in the future, regardless :)
Your best bet is probably just to give your test a different name completely (eg, nslookup, bind, resolv, etc...). Just not 'dig', which is internally an an alias to 'dns'.
Regards,
-jc
I think you can call it DNS. The column titles are case sensitive. Or just call it clientdns or some such thing.
Scot Kreienkamp skreien at la-z-boy.com
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of cleaver at terabithia.org Sent: Monday, May 14, 2012 11:38 AM To: John Horne Cc: xymon at xymon.com Subject: Re: [Xymon] Replace test with script?
Hello,
Using Xymon 4.3.7 does anyone know if it is possible to replace a xymonnet test with a local test of the same name? I want to replace the 'dns' test with one run as a script on clients.
Obviously I can disable the current 'dns' test, but I am a bit loathe to name a DNS test anything other than 'dns' :-)
Not really possible, AFAIK. Sounds like something that would somehow bite someone in the future, regardless :)
Your best bet is probably just to give your test a different name completely (eg, nslookup, bind, resolv, etc...). Just not 'dig', which is internally an an alias to 'dns'.
Regards,
-jc
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
On 14-05-2012 16:04, John Horne wrote:
Using Xymon 4.3.7 does anyone know if it is possible to replace a xymonnet test with a local test of the same name? I want to replace the 'dns' test with one run as a script on clients.
You can, as long as you don't have "dns" test defined in the hosts.cfg. Without that definition, you won't have Xymon reporting any data into a "dns" status for that host; but there is nothing barring another script from reporting data and calling it "dns".
You might have a broken graph, unless your script puts a "Seconds: 1.234" line at the bottom of the status message, since the Xymon graph module will expect "dns" data to be in the normal network-test format. If that bothers you, then remove "dns" from the TEST2RRD and GRAPHS settings in xymonserver.cfg and restart Xymon.
Regards, Henrik
On Mon, May 14, 2012 at 10:04 AM, John Horne <john.horne at plymouth.ac.uk> wrote:
Hello,
Using Xymon 4.3.7 does anyone know if it is possible to replace a xymonnet test with a local test of the same name? I want to replace the
To me this falls into the category of "things that will confuse the heck out of the person who replaces me after I am hit by a bus" I try to avoid doing stuff like that and if I do, I try to document it in very bold letters...
Don't mean to sound flip, I'm old enough to have seen this happen a few times.
On Tue, 2012-05-15 at 10:59 -0400, Elizabeth Schwartz wrote:
On Mon, May 14, 2012 at 10:04 AM, John Horne <john.horne at plymouth.ac.uk> wrote:
Hello,
Using Xymon 4.3.7 does anyone know if it is possible to replace a xymonnet test with a local test of the same name? I want to replace the
To me this falls into the category of "things that will confuse the heck out of the person who replaces me after I am hit by a bus" I try to avoid doing stuff like that and if I do, I try to document it in very bold letters...
Oh we are way beyond that :-)
I have been complaining about the lack of additional Linux and UNIX support here for well over a decade! What has happened? Nothing at all. I am still the sole person dealing with the central Linux/UNIX boxes. So, I'm beyond worrying about doing things that may confuse others.
Having said that, I have opted for making the client script report as a 'dnsr' test (for DNS resolution), and leave the supplied 'dns' test alone.
John.
-- John Horne Tel: +44 (0)1752 587287 Plymouth University, UK Fax: +44 (0)1752 587001
participants (5)
-
betsy.schwartz@gmail.com
-
cleaver@terabithia.org
-
henrik@hswn.dk
-
john.horne@plymouth.ac.uk
-
SKreien@la-z-boy.com