More dynamic thresholds for warnings and alerts
Posted: Wed Jan 29, 2014 4:43 am
Hi,
Just wondering if Nagios is capable of being a bit more dynamic with it's warning and critical thresholds? We're using check_nrpe with the check_files command to count the number of files in a folder on one of our servers. It's currently set to 30 for warning and 40 for critical.
The problem with this is, it's not quite how the server operates... Every so often this folder will fill up with files and a windows service will process them, so what I really want to do is be alerted if the number of files in the folder over a period of time are never decreasing, and either staying constant or increasing, but once this period is over, the critical at 40 should be fine for the rest of the day (there's a surge of these files every morning).
Can't quite see how this would be accomplished.
Thanks
Just wondering if Nagios is capable of being a bit more dynamic with it's warning and critical thresholds? We're using check_nrpe with the check_files command to count the number of files in a folder on one of our servers. It's currently set to 30 for warning and 40 for critical.
The problem with this is, it's not quite how the server operates... Every so often this folder will fill up with files and a windows service will process them, so what I really want to do is be alerted if the number of files in the folder over a period of time are never decreasing, and either staying constant or increasing, but once this period is over, the critical at 40 should be fine for the rest of the day (there's a surge of these files every morning).
Can't quite see how this would be accomplished.
Thanks