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

2011-08-14 Thread William Muriithi
- Original Message - From: Silver Salonen sil...@serverock.ee To: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net Sent: Fri Aug 12 10:09:37 2011 Subject: Re: [Nagios-users] checking service once a day On 12.08.2011 17:54, Mike Guthrie wrote: Silver Salonen wrote

[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