adding service ssl to nagios
/usr/local/nagios/etc
file checkcommands.cfg
# ‘check_ssl’ command definition
define command{
command_name check_ssl
command_line /usr/local/nagios/libexec/check_tcp -H $HOSTADDRESS$ -p 443
}
then add the entries in services.cfg escalations.cfg
services.cfg
# Service definition
define service{
use generic-service ; Name of service template to use
host_name sun.inservers1.com
service_description SSL
is_volatile 0
check_period 24×7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups neutralweb-admins
notification_interval 120
notification_period 24×7
notification_options w,u,c,r
check_command check_ssl
}
Leave A Comment
You must be logged in to post a comment.