<p><strong>Service - max check attempts<br> </strong></p>
<p>This directive is used to define the number of times that Nagios will retry the service check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the service check again.</p>
<p><em>Parameter name:</em> max_check_attempts<br> <em>Required:</em> yes</p>