From bruce.e.howells at intel.com Mon Nov 1 11:47:27 2010 From: bruce.e.howells at intel.com (Howells, Bruce E) Date: Mon, 1 Nov 2010 08:47:27 -0700 Subject: Test against integer from TCP/URL request In-Reply-To: <21E92654447C56418B4186BC3E9C9A32208916B040@horus.h2.com> References: <21E92654447C56418B4186BC3E9C9A32208916B040@horus.h2.com> Message-ID: <3608CD331B387B48BB1C1EE1AD740FD1141BF39A77@azsmsx502.amr.corp.intel.com> When I've had to do something like this, I've either leveraged an external script (and run it through the Prog service) or used pluck. Unfortunately, I don't seem to have a pluck usage example in my current configurations to share with you. -----Original Message----- From: arguslist-bounces at tcp4me.com [mailto:arguslist-bounces at tcp4me.com] On Behalf Of Scott Hiemstra Sent: Monday, October 25, 2010 2:30 PM To: 'arguslist at tcp4me.com' Subject: Test against integer from TCP/URL request I'm attempting to read an integer from an http request where in a browser the page is displayed as "0", "155" or something like that. The mime type of the page is text/plain and I have verified there is no HTML being returned, just a number. I'm trying to setup the test using maxvalue: 3 but it doesn't appear to be using that test. Is it possible to test the value of returned http content against one of the extended tests? If so, how would I go about doing that? If you look at the most recent result below, you will see I only want to test against the "0" at the end of the result. If it isn't possible, how would you go about testing something like this if you were required to? Attempted config: Service TCP/URL { frequency: 3600 hostname: services.myhost.com label: CF Undeliverable maxvalue: 3 messagedn: Check crappy Coldfusion mail service for failed messages. messageup: Failed messages have been cleared from crappy Coldfusion mail service. uname: CF Undelierable url: http://services.myhost.com/cf_undeliverable.cfm } Most recent result = "HTTP/1.1 200 OK Connection: close Date: Mon, 25 Oct 2010 18:20:35 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-Type: text/plain 0" # argusctl status ARGUS/2.0 200 OK status: running version: dev-20100109 perlver: 5.8.8 osinfo: Linux 2.6.18-194.11.3.el5 i686 darpmode: master objects: 370 services: 244 notifies: 5 uptime: 0:01:42 idle: 97.96% 0.00% 0.00% monrate: 3.26 0.00 0.00 per second Thanks in advance, Scott _______________________________________________ http://argus.tcp4me.com/ Arguslist at tcp4me.com http://www.tcp4me.com/mailman/listinfo/arguslist From shiemstra at h2.com Mon Nov 1 14:01:46 2010 From: shiemstra at h2.com (Scott Hiemstra) Date: Mon, 1 Nov 2010 14:01:46 -0400 Subject: Test against integer from TCP/URL request In-Reply-To: <3608CD331B387B48BB1C1EE1AD740FD1141BF39A77@azsmsx502.amr.corp.intel.com> References: <21E92654447C56418B4186BC3E9C9A32208916B040@horus.h2.com> <3608CD331B387B48BB1C1EE1AD740FD1141BF39A77@azsmsx502.amr.corp.intel.com> Message-ID: <21E92654447C56418B4186BC3E9C9A32208916B095@horus.h2.com> The trick was to use pluck, Jeremy helped out with it. pluck: (\d+)$ Thanks, Scott -----Original Message----- From: arguslist-bounces at tcp4me.com [mailto:arguslist-bounces at tcp4me.com] On Behalf Of Howells, Bruce E Sent: Monday, November 01, 2010 11:47 AM To: Discussion about Argus Subject: RE: Test against integer from TCP/URL request When I've had to do something like this, I've either leveraged an external script (and run it through the Prog service) or used pluck. Unfortunately, I don't seem to have a pluck usage example in my current configurations to share with you. -----Original Message----- From: arguslist-bounces at tcp4me.com [mailto:arguslist-bounces at tcp4me.com] On Behalf Of Scott Hiemstra Sent: Monday, October 25, 2010 2:30 PM To: 'arguslist at tcp4me.com' Subject: Test against integer from TCP/URL request I'm attempting to read an integer from an http request where in a browser the page is displayed as "0", "155" or something like that. The mime type of the page is text/plain and I have verified there is no HTML being returned, just a number. I'm trying to setup the test using maxvalue: 3 but it doesn't appear to be using that test. Is it possible to test the value of returned http content against one of the extended tests? If so, how would I go about doing that? If you look at the most recent result below, you will see I only want to test against the "0" at the end of the result. If it isn't possible, how would you go about testing something like this if you were required to? Attempted config: Service TCP/URL { frequency: 3600 hostname: services.myhost.com label: CF Undeliverable maxvalue: 3 messagedn: Check crappy Coldfusion mail service for failed messages. messageup: Failed messages have been cleared from crappy Coldfusion mail service. uname: CF Undelierable url: http://services.myhost.com/cf_undeliverable.cfm } Most recent result = "HTTP/1.1 200 OK Connection: close Date: Mon, 25 Oct 2010 18:20:35 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-Type: text/plain 0" # argusctl status ARGUS/2.0 200 OK status: running version: dev-20100109 perlver: 5.8.8 osinfo: Linux 2.6.18-194.11.3.el5 i686 darpmode: master objects: 370 services: 244 notifies: 5 uptime: 0:01:42 idle: 97.96% 0.00% 0.00% monrate: 3.26 0.00 0.00 per second Thanks in advance, Scott _______________________________________________ http://argus.tcp4me.com/ Arguslist at tcp4me.com http://www.tcp4me.com/mailman/listinfo/arguslist _______________________________________________ http://argus.tcp4me.com/ Arguslist at tcp4me.com http://www.tcp4me.com/mailman/listinfo/arguslist From argus-02 at jeremykister.com Mon Nov 1 17:22:23 2010 From: argus-02 at jeremykister.com (Jeremy Kister) Date: Mon, 01 Nov 2010 17:22:23 -0400 Subject: TCP/HTTPS Error In-Reply-To: <21E92654447C56418B4186BC3E9C9A322084A7CEFB@horus.h2.com> References: <21E92654447C56418B4186BC3E9C9A322084A7CEFB@horus.h2.com> Message-ID: <4CCF2F8F.1090200@jeremykister.com> On 9/20/2010 3:04 PM, Scott Hiemstra wrote: >Argus actually says the site is up, then I look at the "most recent result". > > Most recent result: > HTTP/1.1 500 Internal Server Error > Connection: close the list mailman must have just been kicked. On 9/23/2010 2:28 PM, jeff weisberg answered: > it looks like your developers are trying to serve different content > based on user-agent and botched it. > > if your developers can't fix it, you can add to your argus config: > > browser: Mozilla/4.0 (compatible; MSIE 8.0) -- Jeremy Kister http://jeremy.kister.net./ From babydr at baby-dragons.com Mon Nov 29 20:06:35 2010 From: babydr at baby-dragons.com (Mr. James W. Laferriere) Date: Mon, 29 Nov 2010 16:06:35 -0900 (AKST) Subject: Is there a Method to clear the 'State transitions' ? Message-ID: Hello All , Since most of our statistics are acquired yearly & then we have to present a new statistics stack on the next year . I've been wondering if there is a Method to clear the 'State transitions' ? So we have our fresh look at this year . I also believe that it would be nice to have for clearing them up after the final device has been added , Maybe as long as several months later , so can begin monitoring with cleaned stats . Tia , JimL -- +------------------------------------------------------------------+ | James W. Laferriere | System Techniques | Give me VMS | | Network&System Engineer | 3237 Holden Road | Give me Linux | | babydr at baby-dragons.com | Fairbanks, AK. 99709 | only on AXP | +------------------------------------------------------------------+