Page 1 of 1

More dynamic thresholds for warnings and alerts

Posted: Wed Jan 29, 2014 4:43 am
by jodeygrist
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

Re: More dynamic thresholds for warnings and alerts

Posted: Wed Jan 29, 2014 11:21 am
by tmcdonald
There's an agent I wrote some documentation for called bischeck. Basically it does exactly what you want - follow trends. It can be fairly difficult to get working at first, but it will do what you need. The documentation is not quite finished yet (needs to go through final review) but I can PM you what I have.

http://www.bischeck.org/ for some basic info