Xymon Mailing List Archive search

Drop test using hostname Wildcard

list Malcolm Hunter
Wed, 04 Jan 2012 17:05:38 +0100
Message-Id: <user-8f47126cb93d@xymon.invalid>

----- Original Message -----
From: Ger Maguire
Sent: 01/04/12 01:07 PM
To: xymon at xymon.com
Subject: [Xymon] Drop test using hostname Wildcard

Is it possible to use wildcards to drop tests are no longer in use for multiple hosts ?

~/server/bin/xymon 127.0.0.1 "drop * ftp"

No, but you can script it using xymondboard:

for host in `bb 127.0.0.1 "xymondboard test=ftp fields=hostname"`; do
    bb 127.0.0.1 "drop $host ftp"
done

HTH
Malcolm
--
BBWin Development - The Windows client for Big Brother and Xymon

http://bbwin.sourceforge.net
http://xymon.sourceforge.net