Re: File content matching

Paul Theodoropoulos <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
As a related  followup, in the interim until I figure this out, I can 
run a program status check on the following script, and it provides the 
result I'd expect:

#!/bin/sh
tail -100 /var/log/servercomm.log|grep "100\.109" >/dev/null 2>&1


On 6/11/18 13:50, Paul Theodoropoulos wrote:
> I'm suffering a bit of confusion! I'm using a file content match rule 
> to try to ensure that a specific string is regularly showing up in a 
> specific logfile, but the results and output don't make sense to me.
>

-- 
Paul Theodoropoulos
www.anastrophe.com

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.