check_newest_file_age problem with excluding
Posted: Tue Jun 03, 2014 2:29 pm
Hi.
Im having problem with this plugin. I hope someone will help me out
The problem is I'm having problems excluding file types,
example in backup directory (backup root directory bac2014) I have backup files witch I need to monitor (backup file name:0001,0002,0003,0004)
the problem is I also have logs from backups in root directory witch are getting changed every minute (backup.log)
So if I run this plugin, plugin will say no warning no critical becouse he is checking logs witch have last time of 1min.
Is there any way to exclude file types from plugin search? like to exclude *.log etc..? So that plugin will search only backups not logs...
the plugin im using is:
http://exchange.nagios.org/directory/Pl ... ge/details
Best ragards
Im having problem with this plugin. I hope someone will help me out
The problem is I'm having problems excluding file types,
example in backup directory (backup root directory bac2014) I have backup files witch I need to monitor (backup file name:0001,0002,0003,0004)
the problem is I also have logs from backups in root directory witch are getting changed every minute (backup.log)
So if I run this plugin, plugin will say no warning no critical becouse he is checking logs witch have last time of 1min.
Is there any way to exclude file types from plugin search? like to exclude *.log etc..? So that plugin will search only backups not logs...
the plugin im using is:
http://exchange.nagios.org/directory/Pl ... ge/details
Best ragards