Caros, Consegui resolver o problema com os seguintes passos: Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. resposta acima so ocorrerá se se a opção external_commands Estiver habilitada, 1 (ativo) 2 (desativada): external_commands=1 Para corrigir esse problema, usaremos os seguintes comandos: dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3 Após roda-los, basta restartar o nagios /etc/init.d/nagios3 restart Att. Leandro Moreira 2009/5/6 Leandro Moreira <[email protected]> > Caros, > Ao rodar um comando externo no nagios, recebo a seguinte mensagem: > > Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'! > The external command file may be missing, Nagios may not be running, and/or > Nagios may not be checking external commands. > An error occurred while attempting to commit your command for processing. > > Já verifiquei no nagios.conf e a opção external_commands esta como 1 > (ativada), algume pode me ajudar. > > Desde já agradeço a ajuda. > > Att. > > -- > Leandro Moreira > Linux Administrator: LPIC-1 > e-mail/msn: [email protected] > Tel.: + 55(32) 9906-5713 > -- Leandro Moreira Linux Administrator: LPIC-1 e-mail/msn: [email protected] Tel.: + 55(32) 9906-5713

