did you mean "^*.some string.*$" notice the period before the second *
Greg Pangrazio [email protected] On Thu, Dec 10, 2009 at 9:18 AM, shadih rahman <[email protected]> wrote: > List, > I am trying to use check_snmp plugin with the following regular > expression and I am getting an error, can someone point out what am I doing > wrong. Thanks > > > > /usr/lib64/nagios/plugins/check_snmp -H hostname -C community -o > .1.3.6.1.2.1.1.6.0 -r "^*.some string*$" > > Could Not Compile Regular Expressioncheck_snmp: Could not parse arguments > > > > > -- > Cordially, > Shadhin Rahman > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
