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

[Bigsister-general] Re: Debian, SNMP and regexp


Niels Baggesen wrote:
> On Sun, Dec 18, 2005 at 08:20:46AM +0200, Gil Freund wrote:
> 
>>interface=sis.*
> 
> 
> Almost right, but you need to a a ~ to make it a regexp match:
> 
> interfaces=~sis.*
> 
> Actually, interfaces=~sis would do just the same.
> 
> /Niels
> 

Thanks.


Would multiple selection would still need something like:
pfsense         interface=~sis. network
pfsense         interface=~ath.* network
pfsense         interface=~ng.* network

The above works for me.

Gil



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.