Xymon Mailing List Archive search

disable the ping test version 4.3.7

5 messages in this thread

list Rodney Simioni · Thu, 2 Oct 2014 19:59:28 +0000 ·
Hello,

How can I disable the ping test for the whole hosts.cfg file?

Thanks in advance.
list Mark Felder · Thu, 02 Oct 2014 15:03:37 -0500 ·
quoted from Rodney Simioni

On Thu, Oct 2, 2014, at 14:59, Simioni, Rodney wrote:
Hello,

How can I disable the ping test for the whole hosts.cfg file?

Thanks in advance.
at the top of your hosts.cfg file:

0.0.0.0 .default. # noping
list Ryan Novosielski · Thu, 2 Oct 2014 16:06:35 -0400 ·
There may be a better way, but I’d think a definition of “.default” with “noconn” associated. You’d have to check the hosts.cfg docs to see for sure if I have that right. There may be another way via a command line option to xymonnnet.
quoted from Mark Felder

On Oct 2, 2014, at 3:59 PM, Simioni, Rodney <user-3ffedc1f4d0c@xymon.invalid> wrote:
Hello,
 
How can I disable the ping test for the whole hosts.cfg file?
 
Thanks in advance.
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid - 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
     `'
list John Thurston · Thu, 02 Oct 2014 12:17:43 -0800 ·
quoted from Mark Felder
On 10/2/2014 12:03 PM, Mark Felder wrote:
On Thu, Oct 2, 2014, at 14:59, Simioni, Rodney wrote:
How can I disable the ping test for the whole hosts.cfg file?
at the top of your hosts.cfg file:

0.0.0.0 .default. # noping
Yes, this will do it.... until the next .default. line in the file. If you are going to use the .default. method, you need to append your 'noping' (or 'noconn', look up the difference) to every .default. line in your file.

Probably a better way to do this is to use the '--noping' option on the 'xymonnet' task in tasks.cfg. Look at the help file for xymonnet for the details.

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska
list Mark Felder · Fri, 03 Oct 2014 08:40:36 -0500 ·
quoted from John Thurston

On Thu, Oct 2, 2014, at 15:17, John Thurston wrote:
On 10/2/2014 12:03 PM, Mark Felder wrote:
On Thu, Oct 2, 2014, at 14:59, Simioni, Rodney wrote:
How can I disable the ping test for the whole hosts.cfg file?
at the top of your hosts.cfg file:

0.0.0.0 .default. # noping
Yes, this will do it.... until the next .default. line in the file. If you are going to use the .default. method, you need to append your 'noping' (or 'noconn', look up the difference) to every .default. line in your file.
I had a pretty large xymon install at my previous employer and we didn't
use the .default. method at all. Didn't even know it existed. Though
after I discovered it, I only used it for a day or two during some
maintenance. I guess I like verbosity :-)
Probably a better way to do this is to use the '--noping' option on the 'xymonnet' task in tasks.cfg. Look at the help file for xymonnet for the details.
Yes, this is probably better but in my opinion it's harder to track down
in the future. Make sure you document you changed this :-)