[Xymon] Wildcard/regexes for hostnames in client-local.cfg
cleaver at terabithia.org
Fri Oct 4 22:51:00 CEST 2013
You can do that in analysis.cfg, but unfortunately not in
client-local.cfg. Client-local is doing simple textual matching first on
hostname, then hostclass, then hostos.
For analysis.cfg (and alerts.cfg), you'd use PCRE strings in a HOST= line,
LOAD 8.0 12.0
DISK /db 98 100
PROC mysqld 1
On Fri, October 4, 2013 11:42 am, Mike Burger wrote:
> Similarly, can I do so in analysis.cfg?
> Mike Burger
> "Once word leaks out that a pirate's gone soft, people begin to disobey
> you and then it's nothing but work, work, work, all the time."
> --Westley/The Dread Pirate Roberts
>> I've looked over the client-local.cfg man page, and don't see anything
>> either allowing or disallowing this, so I figured I'd ask before trying
>> I have a group of servers where I'm going to be doing file presence
>> monitoring (alarm if the file exists). These servers will have fairly
>> similar names, so I'd like to be able use a regex in the hostname field
>> [hostname] ) rather than have to create a separate entry for each
>> Is this possible?
>> Failing that, could I list the hostnames in one [...] similar to the
>> alerts.cfg file?
>> Thank you.
>> Mike Burger
>> "It's always suicide-mission this, save-the-planet that. No one ever
>> stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
>> Xymon mailing list
>> Xymon at xymon.com
> Xymon mailing list
> Xymon at xymon.com
More information about the Xymon