monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File content matching


From: Paul Theodoropoulos
Subject: Re: File content matching
Date: Mon, 11 Jun 2018 14:09:47 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.0

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]