Xymon Mailing List Archive search

Ping tests and alerts

3 messages in this thread

list Jeff Stuart · Wed, 19 Oct 2005 14:57:30 -0400 ·
Is there any way to modify the ping tests to only go red if a server is
not responding to ping tests for more than 15 minutes?  Some of the
servers I need to test are on the west coast and sometimes don't respond
right away to the first ping due to net conditions.  I only want it to
go red if it's been down for longer than 15 minutes.

P.S.
    Apologies if this is posted twice.

-- 
Jeff Stuart
Network Admin
MyInternetServices
1-800-300-HOST
X-XXX-XXX-XXXX


--
list Henrik Størner · Wed, 19 Oct 2005 21:37:17 +0200 ·
quoted from Jeff Stuart
On Wed, Oct 19, 2005 at 02:57:30PM -0400, Jeff Stuart wrote:
Is there any way to modify the ping tests to only go red if a server is
not responding to ping tests for more than 15 minutes?  Some of the
servers I need to test are on the west coast and sometimes don't respond
right away to the first ping due to net conditions.  I only want it to
go red if it's been down for longer than 15 minutes.
Put a "badconn:1:2:4" on these hosts. Then they'll go clear after one
failed ping, yellow after two, and red after four. Since the tests
run every 5 minutes, 4 failed tests is 15 minutes.
P.S.
    Apologies if this is posted twice.
Your first posting was sent from an unsubscribed e-mail address, so it
ended up in my moderator-approval mailbox. I rejected it, it it wasn't
posted twice.


Regards,
Henrik
list Bob Gordon · Wed, 19 Oct 2005 12:42:40 -0700 ·
quoted from Jeff Stuart
On 10/19/05, Jeff Stuart <user-2aec98d44f5e@xymon.invalid> wrote:
Is there any way to modify the ping tests to only go red if a server is
not responding to ping tests for more than 15 minutes? Some of the
servers I need to test are on the west coast and sometimes don't respond
right away to the first ping due to net conditions. I only want it to
go red if it's been down for longer than 15 minutes.
Not sure about changing the actual test, but if its the alerting that is the
issue, you could use DURATION>15m in the hobbit-alerts.cfg for the hosts in
question. That would delay the first page for the 15 minutes needed...

--
--==[ Bob Gordon ]==--