Re: [Nagios-users] Creating a criteria:

2012-08-02 Thread Paul Dubuc
Aravinth Anto Intern wrote: On Wed, Aug 1, 2012 at 10:24 PM, Paul Dubuc w...@paul.dubuc.org wrote: Alex Griffin wrote: Aravinth Anto Intern wrote: Hi all, I'm new to nagios. And trying to figure out how do I do this : Response time 2s for 10 continuous requests in a 5 minutes. If this

[Nagios-users] Creating a criteria:

2012-08-01 Thread Aravinth Anto Intern
Hi all, I'm new to nagios. And trying to figure out how do I do this : Response time 2s for 10 continuous requests in a 5 minutes. If this is the case then I need to create a alert. I defined a template for this : define host{ host_nametest ;other

Re: [Nagios-users] Creating a criteria:

2012-08-01 Thread Alex Griffin
No, this will only check once every 5 minutes. The max_check_attempts directive is for retrying after a failed check. You need to find or write a plugin that does all 10 requests itself and then set it up as a *passive* check in Nagios. I believe it must be passive, otherwise Nagios will kill

Re: [Nagios-users] Creating a criteria:

2012-08-01 Thread Paul Dubuc
Alex Griffin wrote: Aravinth Anto Intern wrote: Hi all, I'm new to nagios. And trying to figure out how do I do this : Response time 2s for 10 continuous requests in a 5 minutes. If this is the case then I need to create a alert. I defined a template for this : define host{

Re: [Nagios-users] Creating a criteria:

2012-08-01 Thread Aravinth Anto Intern
Thanks for replying. So doing this : define host{ host_nametest ;other stufs ;check command so that response time is less than 2s check_interval 0.5 retry_interval 1