Changing the Test interval
list Trent Melcher
Is there a way to change the interval for either the content or http tests to 1 minute instead of the default 5 as everything else? Trent Melcher Unix/Linux Systems Administrator Securities America Financial Corporation (XXX) XXX-XXXX x2774 user-a7d23e07dd5c@xymon.invalid Securities America, Inc., a Registered Broker/Dealer, Member NASD/SIPC. Advisory services offered through Securities America Advisors, Inc., an SEC Registered Investment Advisory
list Henrik Størner
▸
On Thu, Feb 15, 2007 at 02:49:51PM -0600, Trent Melcher wrote:
Is there a way to change the interval for either the content or http tests to 1 minute instead of the default 5 as everything else?
Change the INTERVAL setting for the [bbnet] task in hobbitlaunch.cfg
Note that you should not do this if you have lots of systems that you
poll, since it's possible that it just won't be able to run all of the
network tests once a minute. In that case, you should pick out the
important ones that you do want to run every minute, flag them with a
"NET:1minutepoll" and setup an additional [bbnet2] task that runs a
script like this:
#!/bin/sh
BBLOCATION="1minutepoll"
export BBLOCATION
bbtest-net --ping --checkresponse
exit 0
Regards,
Henrik
list Massimo Morsiani
Hi all, I need to log/track how many access (users or IP) one MS IIS Web Server is currently receiving. Does anyone have suggestions/tips/scripts to share? Thank you. Regards. Massimo Morsiani Information Technology Dept. Gilbarco S.p.a. via de' Cattani, 220/G 50145 Firenze tel: +XX-XXX-XXXXX fax: +XX-XXX-XXXXXX email: user-32025d8bd22e@xymon.invalid web: http://www.gilbarco.it
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: venerdì 16 febbraio 2007 10.14
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Changing the Test interval
On Thu, Feb 15, 2007 at 02:49:51PM -0600, Trent Melcher wrote:Is there a way to change the interval for either the content or http tests to 1 minute instead of the default 5 as everything else?
Change the INTERVAL setting for the [bbnet] task in hobbitlaunch.cfg
Note that you should not do this if you have lots of systems that you poll, since it's possible that it just won't be able to run all of the network tests once a minute. In that case, you should pick out the important ones that you do want to run every minute, flag them with a "NET:1minutepoll" and setup an additional [bbnet2] task that runs a script like this:
#!/bin/sh
BBLOCATION="1minutepoll"
export BBLOCATION
bbtest-net --ping --checkresponse
exit 0
Regards,
Henrik
This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.
list Steve Aiello
One way to do this is to write a vbscript. You can query this data via the Windows Performance Libraries. A snippet of how to do this would be:
Set oPerfLib=GetObject("Winmgmts:{impersonationlevel=impersonate}!\Root\Cimv2").ExecQuery("Select * from Win32_PerfRawData_W3SVC_WebService where name='Default'")
CurAnonUsers=oPerfLib.CurrentAnonymousUsers
CurAuthUsers=oPerfLib.CurrentNonAnonymoususers
I have a script that I use that runs mostly on IIS5 servers, but I believe this will work on IIS6.
Thanks,
~Steve
▸
-----Original Message----- From: Morsiani, Massimo [mailto:user-32025d8bd22e@xymon.invalid] Sent: Friday, February 16, 2007 7:43 AM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] IIS access Hi all, I need to log/track how many access (users or IP) one MS IIS Web Server is currently receiving. Does anyone have suggestions/tips/scripts to share? Thank you. Regards. Massimo Morsiani Information Technology Dept. Gilbarco S.p.a. via de' Cattani, 220/G 50145 Firenze tel: +XX-XXX-XXXXX fax: +XX-XXX-XXXXXX email: user-32025d8bd22e@xymon.invalid web: http://www.gilbarco.it -----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: venerdì 16 febbraio 2007 10.14 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Changing the Test interval On Thu, Feb 15, 2007 at 02:49:51PM -0600, Trent Melcher wrote:Is there a way to change the interval for either the content or http tests to 1 minute instead of the default 5 as everything else?Change the INTERVAL setting for the [bbnet] task in hobbitlaunch.cfg Note that you should not do this if you have lots of systems that you poll, since it's possible that it just won't be able to run all of the network tests once a minute. In that case, you should pick out the important ones that you do want to run every minute, flag them with a "NET:1minutepoll" and setup an additional [bbnet2] task that runs a script like this: #!/bin/sh BBLOCATION="1minutepoll" export BBLOCATION bbtest-net --ping --checkresponse exit 0 Regards, Henrik This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.
list Trent Melcher
▸
-----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, February 16, 2007 3:14 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Changing the Test interval On Thu, Feb 15, 2007 at 02:49:51PM -0600, Trent Melcher wrote:Is there a way to change the interval for either the content or http > tests to 1 minute instead of the default 5 as everything else?Change the INTERVAL setting for the [bbnet] task in hobbitlaunch.cfg
I was hoping I didn't have to do this Could it be possible in the next release to have the option of testing different network tests at different intervals based on test or server? I would still like to test pings and most other net tests at 5 minute intervals but content or http I would like to be able to specify the interval per server. Trent
▸
Note that you should not do this if you have lots of systems that you poll, since it's possible that it just won't be able to run all of the network tests once a minute. In that case, you should pick out the important ones that you do want to run every minute, flag them with a "NET:1minutepoll" and setup an additional [bbnet2] task that runs a script like this:
#!/bin/sh
BBLOCATION="1minutepoll"
export BBLOCATION
bbtest-net --ping --checkresponse
exit 0
Regards,
Henrik
list Henrik Størner
▸
On Fri, Feb 16, 2007 at 01:50:58PM -0600, Trent Melcher wrote:
Change the INTERVAL setting for the [bbnet] task in hobbitlaunch.cfgI was hoping I didn't have to do this Could it be possible in the next release to have the option of testing different network tests at different intervals based on test or server? I would still like to test pings and most other net tests at 5 minute intervals but content or http I would like to be able to specify the interval per server.
I'll keep it in mind. I will be re-inventing how network tests run; there are several things on the "wishlist": * Different test schedules (your request) * The ability to request immediate testing of some service (e.g. to see if it's recovered without having to wait for the next test cycle). * Better dependencies, i.e. some form of network topology knowledge so we can better handle when a whole subnet disappears because of a router- or link-outage. I have an idea for a network test "daemon" which is fed test-requests from a kind of "test scheduler". The test daemon just reports the raw result of the network test, but feeds it into an analysis module that has the detailed knowledge of eg network topology and other kinds of dependencies - e.g. this could handle clustered or load-balanced network services intelligently. The analysis module would then generate the final status messages, not unlike how the client data are processed by hobbitd_client before it becomes the actual status you see on the webpage. Currently just an idea, and I'm probably rambling due to the fact that we had a major network outage yesterday and I was working until 3 AM ... Regards, Henrik
list Scott Walters
▸
* The ability to request immediate testing of some service (e.g. to see if it's recovered without having to wait for the next test cycle).
This would be really nice for two cases:
1) When a broken state is detected, it would be nice to be able to re-test
manually and confirm. Avoid trying to fix a "blip."
2) After something is fixed, it would be nice to re-test immediately to
confirm it really is fixed.
Scott
list Etienne Marganne
AS Trent I think I would be interested in some easier configuration of different time intervals for network test depending on the devices to poll. Thanks.
▸
-----Original Message-----
From: Trent Melcher [mailto:user-a7d23e07dd5c@xymon.invalid] Sent: vendredi 16 février 2007 20:51
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Changing the Test interval
-----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, February 16, 2007 3:14 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Changing the Test interval On Thu, Feb 15, 2007 at 02:49:51PM -0600, Trent Melcher wrote:Is there a way to change the interval for either the content or http > tests to 1 minute instead of the default 5 as everything else?Change the INTERVAL setting for the [bbnet] task in hobbitlaunch.cfg
I was hoping I didn't have to do this Could it be possible in the next release to have the option of testing different network tests at different intervals based on test or server? I would still like to test pings and most other net tests at 5 minute intervals but content or http I would like to be able to specify the interval per server. Trent
Note that you should not do this if you have lots of systems that you poll, since it's possible that it just won't be able to run all of the network tests once a minute. In that case, you should pick out the important ones that you do want to run every minute, flag them with a "NET:1minutepoll" and setup an additional [bbnet2] task that runs a script like this:
#!/bin/sh
BBLOCATION="1minutepoll"
export BBLOCATION
bbtest-net --ping --checkresponse
exit 0
Regards,
Henrik
The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.