Rodrigo, yo monitoreo el puerto del mysql de la siguiente manera:
##3. Disponibilidad MySQL define service{ service_description Disponibilidad MySQL check_command check_tcp!3306 max_check_attempts 5 check_interval 5 retry_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups admins,adminsBD host_name Servlinux02 } Espero te sirva. Carlos R. El 12 de agosto de 2013 09:26, Rodrigo Pichiñual Norin < rodrigo.pichin...@gmail.com> escribió: > Así es .. ejecutando en comando por si solo ...funciona. > > > =) > > > El 11 de agosto de 2013 21:10, Jordi Rodriguez > <j.rodriguez314...@gmail.com>escribió: > > > Ejecutando a mano "check_mysql -H cvbuilder -P 3306 -u root -ppasswd" > > funciona? > > > > > > El 7 de agosto de 2013 20:20, Rodrigo Pichiñual Norin < > > rodrigo.pichin...@gmail.com> escribió: > > > > > Hola a todos: > > > > > > necesito de su ayuda. > > > > > > Tengo instalado nagios en nuestra red local y necesito monitorear los > > > servicios *http y mysql*. > > > > > > tengo definido el host y el servicio httpd de esta manera: > > > > > > define host { > > > use linux-server > > > host_name cvbuilder > > > alias client > > > address 192.168.10.113 > > > max_check_attempts 3 > > > check_period 24x7 > > > check_interval 3 > > > notification_interval 10 > > > notification_period 24x7 > > > } > > > > > > > > > define service{ > > > use generic-service > > > host_name cvbuilder > > > service_description WWW > > > check_command check_http > > > notifications_enabled 1 > > > } > > > > > > y funciona. > > > > > > > > > pero estoy agregando el servicio mysql de esta manera > > > > > > > > > define host { > > > use linux-server > > > host_name cvbuilder > > > alias client > > > address 192.168.10.113 > > > max_check_attempts 3 > > > check_period 24x7 > > > check_interval 3 > > > notification_interval 10 > > > notification_period 24x7 > > > } > > > > > > > > > define service{ > > > use generic-service > > > host_name cvbuilder > > > service_description WWW > > > check_command check_http > > > notifications_enabled 1 > > > } > > > > > > define service{ > > > use generic-service > > > host_name cvbuilder > > > service_description Mysql > > > check_command check_mysql -H cvbuilder -P > 3306 > > -u > > > root -ppasswd > > > notifications_enabled 1 > > > } > > > > > > > > > pero no me funciona...estoy recien aprendiendo e investigando de > nagios. > > > > > > > > > Agradeceria su orientación. > > > > > > Saludos > > > _______________________________________________ > > > CentOS-es mailing list > > > CentOS-es@centos.org > > > http://lists.centos.org/mailman/listinfo/centos-es > > > > > _______________________________________________ > > CentOS-es mailing list > > CentOS-es@centos.org > > http://lists.centos.org/mailman/listinfo/centos-es > > > _______________________________________________ > CentOS-es mailing list > CentOS-es@centos.org > http://lists.centos.org/mailman/listinfo/centos-es > -- Carlos R!. _______________________________________________ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es