Re: [Nagios-users] check_log and check_logfiles

2006-06-30 Thread jorgecab
Thanks for your reply Gerhard, yes I meant that check_logfiles. You see I have an application running on a linux server and I want to search the logs for a specific error message but I only want it to raise an alarm (status change to critical) if in a single check it finds more than five of that ty

Re: [Nagios-users] check_log and check_logfiles

2006-06-30 Thread Gerhard Lausser
Hi Jorge, do you mean _this_ check_logfiles? http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1%5Bp_view%5D=5 38 > to do is that when the pattern repeats itself 5 times (for > example) then give an alert not just with one time, I can't > figure out how to do this with nagios plugin

[Nagios-users] check_log and check_logfiles

2006-06-30 Thread jorgecab
Hi, I want to monitor a certain pattern in a log file so I've been testing check_logfiles and check_log but what I want it to do is that when the pattern repeats itself 5 times (for example) then give an alert not just with one time, I can't figure out how to do this with nagios plugins. Has anyone