Log file monitoring
I have a question about log file monitoring. I have a file that i am
expecting to see the word "SIP" and if it is not there then I would
want to be paged and have it go red. But the only thing I can find is
to have it MATCH a certain phrase.
Josh
Can you explain the difference between "expecting to see" and "have it MATCH"? Thanks, Steve
On 9/24/07, Joshua Krause <joshuakrause at triad.rr.com> wrote:
I have a question about log file monitoring. I have a file that i am expecting to see the word "SIP" and if it is not there then I would want to be paged and have it go red. But the only thing I can find is to have it MATCH a certain phrase.
Josh
On 9/24/07, Steve Holmes <sholmes42 at mac.com> wrote:
Can you explain the difference between "expecting to see" and "have it MATCH"?
Reading Joshua's post it seems he wants to be alerted if the file DOES NOT contain the word "SIP" - an inverse match. The help does say that regex's are supported, but I don't know if that includes the not operator.
-- Please keep list traffic on the list.
Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche
Right. I missed the 'not'. Steve.
On 9/24/07, Rob MacGregor <rob.macgregor at gmail.com> wrote:
On 9/24/07, Steve Holmes <sholmes42 at mac.com> wrote:
Can you explain the difference between "expecting to see" and "have it MATCH"?
Reading Joshua's post it seems he wants to be alerted if the file DOES NOT contain the word "SIP" - an inverse match. The help does say that regex's are supported, but I don't know if that includes the not operator.
-- Please keep list traffic on the list.
Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- We who are strong ought to put up with the failings of the weak, and not to please ourselves. Each of us must please our neighbor for the good purpose of building up the neighbor. -Romans 15:1
Nonviolence means avoiding not only external physical violence but also internal violence of spirit. You not only refuse to shoot a man, but you refuse to hate him. -Martin Luther King, Jr., civil-rights leader (1929-1968)
My concern is when I stop seeing the word "SIP" then I have a problem.
So I need Hobbit to go red when the word "SIP" isn't seen.
On Sep 24, 2007, at 7:55 AM, Steve Holmes wrote:
Can you explain the difference between "expecting to see" and "have
it MATCH"? Thanks, SteveOn 9/24/07, Joshua Krause < joshuakrause at triad.rr.com> wrote: I have a question about log file monitoring. I have a file that i am expecting to see the word "SIP" and if it is not there then I would want to be paged and have it go red. But the only thing I can find is to have it MATCH a certain phrase.
Josh
participants (3)
-
joshuakrause@triad.rr.com
-
rob.macgregor@gmail.com
-
sholmes42@mac.com