Re: [Nagios-users-br] Procura-se plugin para monitorar log de backup

2011-08-12 Thread Jose Oliveira
Diramos O script chama-se check_logs.pl Eis o cabeçalho do mesmo: # Log file regular expression detector for Nagios. # Written by Serge Sergeev (serge at ocslab.com) # Based on check_log2.pl written by Aaron Bostick (abost...@mydoconline.com) # Last modified: 06-07-2005 # # Usage: check_logs -c

[Nagios-users-br] Procura-se plugin para monitorar log de backup

2011-08-12 Thread benedito.ramos
Jotagera, Obrigado pelo pronto retorno. Analisei suas opções, mas é o seguinte: Minha idéia inicial é não usar o NSCA Já até instalei o NSCA e coloquei uma linha no final do .bat prá enviar ao Nagios a mensagem de retorno do script de backup. Mas, se, por exemplo, o servidor windows cair no meio

[Nagios-users-br] Problema com hosts cadastrados e deletados

2011-08-12 Thread Júnior Horta
Boa tarde. Estou usando Nagios® 2.12 e Centreon O problema é o seguinte. Quando cadastro ou removo um host ele não modifica no monitoramento. Já tentei de tudo as vezes o novo host fica aparecendo e sumindo do monitoramento. Olhei no arquivo: status.dat e a mesma coisa tem hora que aparece e tem

Re: [Nagios-users-br] Problema com hosts cadastrados e deletados

2011-08-12 Thread Jose Oliveira
Junior Tem uma chance de voce estar com duas copias do Nagios rodando no seu servidor... Pare o nagios (com service nagios srtop) e espere um tempo, digamos 5 minutos. Depois digite ps -ef | grep nagios e veja se não aparece nenhum processo do nagios... []s Em 12 de agosto de 2011 15:46,

[Nagios-users] checking service once a day

2011-08-12 Thread Silver Salonen
Hello. I want to check a service only once a day. So I tried this configuration: define timeperiod { timeperiod_name once-a-day alias On mornings monday 08:00-08:30 tuesday 08:00-08:30 wednesday 08:00-08:30 thursday08:00-08:30 friday

Re: [Nagios-users] checking service once a day

2011-08-12 Thread Jim Avery
On 12 August 2011 08:36, Silver Salonen sil...@serverock.ee wrote: Hello. I want to check a service only once a day. So I tried this configuration: define timeperiod {     timeperiod_name once-a-day     alias       On mornings     monday      08:00-08:30     tuesday     08:00-08:30    

Re: [Nagios-users] checking service once a day

2011-08-12 Thread Silver Salonen
On 12.08.2011 11:25, Jim Avery wrote: On 12 August 2011 08:36, Silver Salonensil...@serverock.ee wrote: Hello. I want to check a service only once a day. So I tried this configuration: define timeperiod { timeperiod_name once-a-day alias On mornings monday

Re: [Nagios-users] checking service once a day

2011-08-12 Thread Jim Avery
On 12 August 2011 10:37, Silver Salonen sil...@serverock.ee wrote: So I guess documentation is wrong then? That's what I would think, yes. I don't think what Nagios does is anything like as clever as the documentation would imply, although for checks with small check_interval values it might

Re: [Nagios-users] checking service once a day

2011-08-12 Thread Silver Salonen
On 12.08.2011 12:37, Silver Salonen wrote: On 12.08.2011 11:25, Jim Avery wrote: On 12 August 2011 08:36, Silver Salonensil...@serverock.ee wrote: Hello. I want to check a service only once a day. So I tried this configuration: define timeperiod { timeperiod_name once-a-day alias

Re: [Nagios-users] checking service once a day

2011-08-12 Thread Jim Avery
On 12 August 2011 15:03, Silver Salonen sil...@serverock.ee wrote: Ah yes, previously I just restarted Nagios every day (from crontab) so that the checks would be re-scheduled, but in the new installation Nagios does not re-schedule the checks on startup. Is there an option for that? I don't

Re: [Nagios-users] checking service once a day

2011-08-12 Thread Mike Guthrie
Silver Salonen wrote: On 12.08.2011 12:37, Silver Salonen wrote: On 12.08.2011 11:25, Jim Avery wrote: On 12 August 2011 08:36, Silver Salonen sil...@serverock.ee wrote: Hello. I want to check a service only once a day. So I tried this configuration: define timeperiod {

Re: [Nagios-users] checking service once a day

2011-08-12 Thread Silver Salonen
On 12.08.2011 17:48, Jim Avery wrote: On 12 August 2011 15:03, Silver Salonensil...@serverock.ee wrote: Ah yes, previously I just restarted Nagios every day (from crontab) so that the checks would be re-scheduled, but in the new installation Nagios does not re-schedule the checks on startup.

Re: [Nagios-users] checking service once a day

2011-08-12 Thread Silver Salonen
On 12.08.2011 17:54, Mike Guthrie wrote: Silver Salonen wrote: On 12.08.2011 12:37, Silver Salonen wrote: On 12.08.2011 11:25, Jim Avery wrote: On 12 August 2011 08:36, Silver Salonensil...@serverock.ee wrote: Hello. I want to check a service only once a day. So I tried this