Hi, you can try using use the NKTIME tag in hosts.cfg to control this. Note these options will be dropped in Xymon 5.
Alan
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Taylor Lewick Sent: Tuesday, 1 November 2011 6:40 AM To: xymon at xymon.com Subject: [Xymon] http test question
Hi all. Is it possible to control the times an HTTP URL test is performed?
I know I can add http://www.sample.com and use regexs to look for an occurrence of the word Fail, but we would only like it to check once or twice per day, say at 7:45 and then once more at 8:25. I know its easy to control the timing of when the alert is sent. But can I limit when the test is run? Short of creating an ext-script, not sure how I do that in xymon.
Thanks, Taylor
This email is to be read subject to the email disclaimer located at http://www.stanwell.com/email-disclaimer.aspx
According to the docs, the NKTIME controls when the alert is displayed on the webpage, but I don't think it keeps the test from running. I'd like to be able to tell the test to run only once or twice. I'm guessing I'll need to just write a custom script and control it via cron or the ext and xymon framework...
From: FORD Alan [mailto:Alan.FORD at stanwell.com] Sent: Monday, October 31, 2011 6:12 PM To: Taylor Lewick; xymon at xymon.com Subject: RE: http test question
Hi, you can try using use the NKTIME tag in hosts.cfg to control this. Note these options will be dropped in Xymon 5.
Alan
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Taylor Lewick Sent: Tuesday, 1 November 2011 6:40 AM To: xymon at xymon.com Subject: [Xymon] http test question
Hi all. Is it possible to control the times an HTTP URL test is performed?
I know I can add http://www.sample.com and use regexs to look for an occurrence of the word Fail, but we would only like it to check once or twice per day, say at 7:45 and then once more at 8:25. I know its easy to control the timing of when the alert is sent. But can I limit when the test is run? Short of creating an ext-script, not sure how I do that in xymon.
Thanks, Taylor
This email is to be read subject to the email disclaimer located at http://www.stanwell.com/email-disclaimer.aspx
You will also have to deal with the purple that will result if you don't keep reporting the test to the server. Steve
On Tue, Nov 1, 2011 at 8:45 AM, Taylor Lewick <tlewick at tradebotsystems.com>wrote:
According to the docs, the NKTIME controls when the alert is displayed on the webpage, but I don’t think it keeps the test from running. I’d like to be able to tell the test to run only once or twice. I’m guessing I’ll need to just write a custom script and control it via cron or the ext and xymon framework…****
*From:* FORD Alan [mailto:Alan.FORD at stanwell.com] *Sent:* Monday, October 31, 2011 6:12 PM *To:* Taylor Lewick; xymon at xymon.com *Subject:* RE: http test question****
Hi, you can try using use the NKTIME tag in hosts.cfg to control this.****
Note these options will be dropped in Xymon 5.****
Alan****
*From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On Behalf Of *Taylor Lewick *Sent:* Tuesday, 1 November 2011 6:40 AM *To:* xymon at xymon.com *Subject:* [Xymon] http test question****
Hi all. Is it possible to control the times an HTTP URL test is performed?
I know I can add http://www.sample.com and use regexs to look for an occurrence of the word Fail, but we would only like it to check once or twice per day, say at 7:45 and then once more at 8:25. I know its easy to control the timing of when the alert is sent. But can I limit when the test is run? Short of creating an ext-script, not sure how I do that in xymon.****
Thanks,****
Taylor****
This email is to be read subject to the email disclaimer located at http://www.stanwell.com/email-disclaimer.aspx****
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- If they give you ruled paper, write the other way. -Juan Ramon Jimenez, poet, Nobel Prize in literature (1881-1958)
Truth never damages a cause that is just. -Mohandas Karamchand Gandhi (1869-1948)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
There is an option for setting the data lifetime -- that does not have to happen (though it is one fixed value).
On 11/01/2011 10:36 AM, Steve Holmes wrote:
You will also have to deal with the purple that will result if you don't keep reporting the test to the server. Steve
On Tue, Nov 1, 2011 at 8:45 AM, Taylor Lewick <tlewick at tradebotsystems.com <mailto:tlewick at tradebotsystems.com>> wrote:
According to the docs, the NKTIME controls when the alert is displayed on the webpage, but I don’t think it keeps the test from running. I’d like to be able to tell the test to run only once or twice. I’m guessing I’ll need to just write a custom script and control it via cron or the ext and xymon framework…____ __ __ *From:*FORD Alan [mailto:Alan.FORD at stanwell.com <mailto:Alan.FORD at stanwell.com>] *Sent:* Monday, October 31, 2011 6:12 PM *To:* Taylor Lewick; xymon at xymon.com <mailto:xymon at xymon.com> *Subject:* RE: http test question____ __ __ Hi, you can try using use the NKTIME tag in hosts.cfg to control this.____ Note these options will be dropped in Xymon 5.____ __ __ Alan____ __ __ __ __ *From:*xymon-bounces at xymon.com <mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com <mailto:xymon-bounces at xymon.com>] *On Behalf Of *Taylor Lewick *Sent:* Tuesday, 1 November 2011 6:40 AM *To:* xymon at xymon.com <mailto:xymon at xymon.com> *Subject:* [Xymon] http test question____ __ __ Hi all. Is it possible to control the times an HTTP URL test is performed?____ __ __ I know I can add http://www.sample.com and use regexs to look for an occurrence of the word Fail, but we would only like it to check once or twice per day, say at 7:45 and then once more at 8:25. I know its easy to control the timing of when the alert is sent. But can I limit when the test is run? Short of creating an ext-script, not sure how I do that in xymon.____ __ __ Thanks,____ Taylor____ __ __ __ __ This email is to be read subject to the email disclaimer located at http://www.stanwell.com/email-disclaimer.aspx____ _______________________________________________ Xymon mailing list Xymon at xymon.com <mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon-- If they give you ruled paper, write the other way. -Juan Ramon Jimenez, poet, Nobel Prize in literature (1881-1958)
Truth never damages a cause that is just. -Mohandas Karamchand Gandhi (1869-1948)
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6wC2oACgkQmb+gadEcsb4oKQCgneFRHDSTbrF3yMzwSx3ED3gS T/QAoIDZaQ4JNxBa12aur2cI7tsYWW5C =cwI4 -----END PGP SIGNATURE-----
participants (4)
-
Alan.FORD@stanwell.com
-
novosirj@umdnj.edu
-
sholmes42@mac.com
-
tlewick@tradebotsystems.com