[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Changing the frequency of a specific test



Ill be very generic and vague here, because I don't have much time, but I
hope it helps point you in the right direction.

What I have done is create a "high-flow xxx" new test, because, you have to
re-do the RRD file with the different step interval.

I would then copy the existing http test, and then write a wrapper that
throws the script into an infinite loop like:

while true; do
/usr/local/hobbit/client/ext/httptest.sh
sleep 1
done

and put that wrapper script into the hobbitclient conf. script in the etc
dir.

Then you'll have to configure the custom test on the server, the same way
you would any other. (Following Henrik's guide he has posted to the group
before)

Just make sure you create the RRD file yourself FIRST. As Henrik has stated,
hobbit will happily update a pre-existing RRD file. If you let hobbit create
the RRD, it will do it at a 5 minute step rate.

-Jeff


On 3/9/06, Marsh, Ian <ian.marsh (at) hants.gov.uk> wrote:
>
>
>   We're currently experiencing a problem with httpd on one of our servers
> that isn't being caught by hobbit. Is it possible to specify a custom test
> interval for just one test on one server? The hope is that it'll stand a
> better chance of catching the problem if it runs, say, every minute rather
> than every 5 minutes.
>
> Thank you,
> Ian Marsh
>
> IT Services, Network Services
> Hampshire County Council
> Telephone: 01962 845235
> HPSN: 200 5235
> email: *ian.marsh (at) hants.gov.uk* <ian.marsh (at) hants.gov.uk>
>