Hi Fred,

 

thanks for the hint, but to check the timestamp of a logfile I would have to 
create one and even if CRON is running doesn’t guarantee that a job was 
executed successfully.

 

So far we added little wrappers in CRON which are responsible for the error 
handling and in case everything was executed successfully we send the result 
with NSCA, if no new result is sent the check will change into CRITICAL.

 

Thanks

Best regards

Philip

 

Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Frederic Jacquet
Gesendet: Dienstag, 3. November 2009 19:16
An: Opsview Users
Betreff: Re: [opsview-users] set freshness

 

Hi Philip,

Here we check the date of modification of the log file for a similar purpose.
It is easy to do with perl.

Another way is to check if crond is running : it is its reponsability to take 
care of correct scheduling. Opsview can check process + restart if needed 
thanks to action handlers

regards
fred
 

On Tue, Nov 3, 2009 at 18:46, SCHÖGLER Philip <[email protected]> 
wrote:

Hello Ton,

 

We are monitoring different CRON jobs - a system backup for example will be 
triggered only once per week another job must be execute every 60 minutes for 
example, so it would be nice to set different freshness values to change into a 
critical state.

 

Best regards

Philip

 

Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Ton Voon
Gesendet: Dienstag, 3. November 2009 18:09
An: Opsview Users
Betreff: Re: [opsview-users] set freshness

 

Hi Philip,

 

On 3 Nov 2009, at 09:46, SCHÖGLER Philip wrote:

 

I'm just wondering if there is a possibility to set different freshness
values for several checks?
As there is no option in the web frontend I suppose not - is there
probably something planed for the future?

No, this is not planned for the immediate future.

 

What is it you are trying to do?

 

Ton

 


_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

 

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to