Hi<br><br>I am a newbie to Nagios, If i have to monitor SMTP and HTTP services using Nagios <br><br><pre>define service{<br> host_name linux-server<br> service_description check-disk-sda1<br> check_command check-disk!/dev/sda1<br>
max_check_attempts 5<br> check_interval 5<br> retry_interval 3<br> check_period 24x7<br> notification_interval 30<br> notification_period 24x7<br> notification_options w,c,r<br> contact_groups linux-admins<br> }</pre>If i have to check_http check_smtp so will the directive check_command look like<br>
<br>check_command check_http check_smtp<br><br><pre>define service{<br> host_name linux-server<br> service_description check-disk-sda1<br> check_command check_http check_smtp<br> max_check_attempts 5<br> check_interval 5<br>
retry_interval 3<br> check_period 24x7<br> notification_interval 30<br> notification_period 24x7<br> notification_options w,c,r<br> contact_groups linux-admins<br> }</pre><br>Thanks and Regards<br><br>Kaushal<br>