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 it for running too long.
Alex Griffin --- Tech Team agrif...@nagios.com 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{ > > host_name test > > ;other stufs > > ;check command so that response time is less than 2s > > check_interval 5 > > retry_interval 1 > > max_check_attempts 10 > > check_period 24x7 > > } > > For my criteria : > > Response time> 2s for 10 continuous requests in a 5 minutes. > > Is that correct? > > Thanks in advance. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null