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

Nagios



Bom dia amigos,
    Estou implantando o Nagios aqui na empresa e estou tentando monitorar o serviço dhcp de um de nossos servidores com o plugin "check_dhcp". Já verifiquei a existência deste plugin em "/usr/lib/nagios/plugins". E no /var/log/nagios/nagios.log ele me trás a seguinte mensagem:

"[1134996140] Warning: Return code of 127 for check of service 'DHCP' on host 'lua' was out of bounds. Make sure the plugin you're trying to run actually exists."

Para chamar este serviço eu simplesmente o incluí no services.cfg junto ao servidor que tento monitorar:
# Service DHCP
define service{
        use                             generic-service         ; Name of service template to use

        host_name                       lua
        service_description             DHCP
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   "check_dhcp -i eth0"
        }

Alguém sabe como devo fazer para colocar isso em funcionamento?


Yahoo! doce lar. Faça do Yahoo! sua homepage.
Reply to: