[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problemas no monitoramento do servidor windows com o NRPE



Caros,
Instalei o nagios com suporte ao NRPE, quanto entro com o comando no console, ele executa sem problemas conforme abaixo:
 
/usr/lib/nagios/plugins/check_nrpe -H 192.168.0.101 -c check_nrpe_win_over_nrpe_mssqlprocs -a 192.168.0.201
OK: sqlservr.exe: 1
 
Mas no services ele nao roda nem a porrete, ele me retorna o seguinte erro:
 
UNKNOWN: No handler for that command
 
Abaixo segue a configuração do meu services se alguem puder me ajuda fico agradecido
 
define  service {
        host_name                       srv
     service_description             AD server
        is_volatile                     0
        check_command                   check_nrpe_over!192.168.0.101!check_nrpe_ad!192.168.0.202
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            5
        active_checks_enabled           1
        passive_checks_enabled          1
        check_period                    24x7
        parallelize_check               1
        obsess_over_service             1
        check_freshness                 0
        event_handler_enabled           1
        flap_detection_enabled          1
        failure_prediction_enabled      1
        process_perf_data               0
        retain_status_information       1
        retain_nonstatus_information    1
        contact_groups                  monitoracao
        notification_interval           30
        notification_period             24x7
        notification_options            w,u,c,r,f
        notifications_enabled           1
        register                        1
}
 
 
O mais interessante e que o servidor onde o nagios esta rodando funcionou sem problema algum so os servidores remotos e que estou tendo problemas.
 
 Att.
 
Leandro Moreira

Reply to: