[Xymon] Content check

germain1.malherbe at orange.com germain1.malherbe at orange.com
Tue Nov 13 10:12:53 CET 2012


Hi.

It's exact, the second test replace the first.
The group-except tag is not suitable because it doesn't merge several checks, I would have only the result of the first check because another will be suppressed. No ?
In fact, if it doesn't exist a solution, I will have to do en external script.

Thanks
Germain


De : Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]
Envoyé : mardi 13 novembre 2012 00:41
À : germain1.malherbe at orange.com
Cc : xymon at xymon.com
Objet : Re: [Xymon] Content check

On 13 November 2012 03:55, <germain1.malherbe at orange.com<mailto:germain1.malherbe at orange.com>> wrote:
Hi.

I want to do several content check for the same host.
Here my configuration in bb-hosts file:

0.0.0.0    foo.com<http://foo.com> # cont;http://foo.com;regexp1 cont;http://foo.com;regexp2

I get 2 columns (content and content1) but I would like have only one.
How can I merge the result of these 2 checks into only one column ?

What happens if you specify the column name, like this:

  0.0.0.0 foo.com#<http://foo.com> cont=content;http://foo.com;regexp1 cont=content;http://foo.com;regexp2

I'm guessing the second will replace the first, but might be worth a try.

Apart from this, I suggest either an external test, or to add a combo test with the "content" and "content1" suppressed via group-except. The external test is probably less cumbersome.

Cheers
Jeremy


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121113/e15b4d15/attachment.html>


More information about the Xymon mailing list