Content check
list Kevin Hanrahan
I could use some assistance with the content check test. I ran the following according to the docs: curl -s https://172.25.6.5/ | ./bbdigest sha1 And got this back: sha1:4be32a2e3ae52ecdba7c66582b4f861a7cf2e17e So I made this entry: cont=WebCont;https://172.25.6.5/;Expected:sha1:4be32a2e3ae52ecdba7c66582b4f8 61a7cf2e17e But I always get: Content match failed What did I do wrong? KEvin Note: The information contained in this email and in any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. The recipient should check this email and any attachments for the presence of viruses. Sender accepts no liability for any damages caused by any virus transmitted by this email. If you have received this email in error, please notify us immediately by replying to the message and delete the email from your computer. This e-mail is and any response to it will be unencrypted and, therefore, potentially unsecure. Thank you. NOVA Information Systems, Inc.
list Kevin Hanrahan
Please excuse my ignorance and inability to read simple instructions!!! I followed the man pages And it is all working correctly KEvin -----Original Message----- From: user-fd47fec4b039@xymon.invalid [mailto:user-fd47fec4b039@xymon.invalid] Sent: Thursday, February 24, 2005 5:42 PM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Content check Importance: Low
▸
I could use some assistance with the content check test. I ran the following according to the docs: curl -s https://172.25.6.5/ | ./bbdigest sha1 And got this back: sha1:4be32a2e3ae52ecdba7c66582b4f861a7cf2e17e So I made this entry: cont=WebCont;https://172.25.6.5/;Expected:sha1:4be32a2e3ae52ecdba7c66582b4f8 61a7cf2e17e But I always get: Content match failed What did I do wrong? KEvin Note: The information contained in this email and in any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. The recipient should check this email and any attachments for the presence of viruses. Sender accepts no liability for any damages caused by any virus transmitted by this email. If you have received this email in error, please notify us immediately by replying to the message and delete the email from your computer. This e-mail is and any response to it will be unencrypted and, therefore, potentially unsecure. Thank you. NOVA Information Systems, Inc.
list Germain Malherbe
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 # 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 ? Thanks in advance. -- Germain Malherbe 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.
list Jeremy Laidman
▸
On 13 November 2012 03:55, <user-aa19f82329eb@xymon.invalid> 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 # 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# 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
list Germain Malherbe
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:user-71895fb2e44c@xymon.invalid]
Envoyé : mardi 13 novembre 2012 00:41
À : user-aa19f82329eb@xymon.invalid
Cc : xymon at xymon.com
Objet : Re: [Xymon] Content check
On 13 November 2012 03:55, <user-aa19f82329eb@xymon.invalid<mailto:user-aa19f82329eb@xymon.invalid>> 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.
list Jeremy Laidman
On 13 November 2012 20:12, <user-aa19f82329eb@xymon.invalid> wrote:
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 ?
That's what the combo test will do. The "group-except" is just to hide the two "content" columns, so that you don't end up with a total of three columns. J
list Germain Malherbe
Ok I understand. I didn't know the combo feature (combo.cfg). I will test that. Thanks
▸
De : Jeremy Laidman [mailto:user-71895fb2e44c@xymon.invalid]
Envoyé : mercredi 14 novembre 2012 00:04
À : user-aa19f82329eb@xymon.invalid
Cc : xymon at xymon.com
Objet : Re: [Xymon] Content check
On 13 November 2012 20:12, <user-aa19f82329eb@xymon.invalid<mailto:user-aa19f82329eb@xymon.invalid>> wrote:
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 ?
That's what the combo test will do. The "group-except" is just to hide the two "content" columns, so that you don't end up with a total of three columns.
J
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.