Hola Rodrigo, Quita el "-H cvbuilder" de la linea check_command y déjala así:
"check_command check_mysql -P 3306 -u root_passwd" En "check_command" no es necesario indicar el host ya que ya que en la definición del servicio hay una linea para ello: "host_name cvbuilder" Saludos. -- Francesc Guitart Service DSI (33) 4 77 43 84 32 ENISE Le 07/08/2013 20:20, Rodrigo Pichiñual Norin a écrit : > 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