[Xymon] Enable/disable by class
Galen Johnson
Galen.Johnson at sas.com
Fri Feb 7 15:08:48 CET 2014
Oh my god...I didn't even see that. Glad you caught it. Unfortunately, that didn't fix it...grrr....
=G=
________________________________
From: Jeremy Laidman <jlaidman at rebel-it.com.au>
Sent: Thursday, February 6, 2014 11:36 PM
To: Galen Johnson
Cc: Galen Johnson; xymon at xymon.com
Subject: Re: [Xymon] Enable/disable by class
Galen
On 6 February 2014 04:49, Galen Johnson <solitaryr at gmail.com<mailto:solitaryr at gmail.com>> wrote:
Even with fresher eyes, I'm not seeing anything obvious...I'm fairly certain the issue is in the headfoot.c code...possibly in the fetch_board or wanted function.
I'm not a coder either - I just dabble. But let's see what the patch looks like.
Ah, this might be the problem:
- if (hostpattern || pagepattern || ippattern)
- sethostenv_filter(hostpattern, pagepattern, ippattern);
+ if (hostpattern || pagepattern || ippattern, classpattern)
+ sethostenv_filter(hostpattern, pagepattern, ippattern, classpattern);
In the third line above, you have a comma instead of a double-pipe "||".
Everything else looks just fine.
Cheers
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140207/21d4101c/attachment.html>
More information about the Xymon
mailing list