Hi,
I add the following lines in snmpd.conf
logmatch test /var/adm/messages 1 GET.*HTTP.*
monitor -u _internal -r 2 -o logMatchFilename -o logMatchRegEx -o
logMatchCurrentCount "String found in logfile" logMatchCounter != 0
#snmptable -v 2c -c string 10.30.40.227 logMatchTable shows me the
fo
t: Thursday, October 29, 2009 2:04 PM
To: Mudassar
Cc: net-snmp users
Subject: Re: String monitoring
Hi,
I add the following lines in snmpd.conf
logmatch test /var/adm/messages 1 GET.*HTTP.*
monitor -u _internal -r 2 -o logMatchFilename -o logMatchRegEx -o
logMatchCurrentCount &quo
Hi,
I have the same understanding but it is not working.
Thanks
Original Message
Subject: Re: String monitoring
From: Haskins, Russell T.
To: Mudassar
Cc: "net-snmp users"
Date: 10/30/2009 3:30 AM
The String you are looking for uses 'Regular Expressions
> From: Haskins, Russell T. [mailto:russell.hask...@gd-ais.com]
> Sent: Thursday, October 29, 2009 2:30 PM
> The String you are looking for uses 'Regular Expressions', so
> GET.*HTTP.* would work for GET...HTTP The "*" means match the
> preceding element zero or more times, not match anything.
askins, Russell T.; Mudassar
Cc: net-snmp users
Subject: RE: String monitoring
> From: Haskins, Russell T. [mailto:russell.hask...@gd-ais.com]
> Sent: Thursday, October 29, 2009 2:30 PM
> The String you are looking for uses 'Regular Expressions', so
> GET.*HTTP.* would work f
> From: Haskins, Russell T. [mailto:russell.hask...@gd-ais.com]
> Sent: Thursday, October 29, 2009 3:21 PM
> The "." matches a single character so I don't believe his expression
> will work, something like
>
> GET[.]...HTTP[.]..
>
> Might work for his example below.
'.' - match
Hi,
Thanks all of you, i am still unable to get out put on opennms, is there
any way that i can generate mail on this trigger.
Thanks
M
Original Message
Subject: Re: String monitoring
From: Haskins, Russell T.
To: Mike Ayers , Mudassar
Cc: "net-snmp users"
D
snmp users
Subject: RE: String monitoring
> From: Haskins, Russell T. [mailto:russell.hask...@gd-ais.com]
> Sent: Thursday, October 29, 2009 3:21 PM
> The "." matches a single character so I don't believe his expression
> will work, something like
>
> GET[.]...HT
ave also used GET[^\.]HTTP[^\.], but it not generate trigger.
M
Original Message ----
Subject: Re: String monitoring
From: Mudassar
To: Haskins, Russell T.
Cc: Mike Ayers , Mudassar
, net-snmp users
Date: 10/30/2009 4:50 AM
> Hi,
>
> Thanks all of you, i am still u
--- Original Message ----
Subject: Re: String monitoring
From: Mudassar
To: Mudassar
Cc: "Haskins, Russell T." , Mike Ayers
, net-snmp users
Date: 10/30/2009 5:31 AM
> There is a little improvement, i have change the monitor parameters ,
> alternatively can i generate mail on
10 matches
Mail list logo