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

Responder a