<br><font size=2 face="sans-serif">RHEL AS4 U6</font>
<br><font size=2 face="sans-serif">Nagios        v3.2.0
</font>
<br><font size=2 face="sans-serif">check_snmp v1.4.14</font>
<br>
<br><font size=2 face="sans-serif">A small and annoying problem, that I'm
hoping will have some whizzy easy fix.</font>
<br>
<br><font size=2 face="sans-serif">I use check_snmp to get the location
and contact details of my servers. Something like this</font>
<br>
<br><font size=2 face="sans-serif">        ./check_snmp
-H localhost -o sysLocation.0 -l ""</font>
<br><font size=2 face="sans-serif">        OK
- London XX YYY</font>
<br>
<br><font size=2 face="sans-serif">This, of course, assumes snmpd.comf
has been populated correctly. If it hasn't I get something like this</font>
<br>
<br><font size=2 face="sans-serif">        ./check_snmp
-H localhost -o sysLocation.0 -l ""</font>
<br><font size=2 face="sans-serif">         OK
- Unknown (edit /etc/snmp/snmpd.conf) |</font>
<br>
<br><font size=2 face="sans-serif">I'd like this to produce a warning,
and thought I could achieve this with a regular expression, but haven't
been able to yet. Is there any way I can invert a regex, or use thresholds
to force a NOTOK status.</font>
<br>
<br><font size=2 face="sans-serif">This doesn't work</font>
<br>
<br><font size=2 face="sans-serif">        ./check_snmp
-H localhost -o sysLocation.0 -l "" -r "!etc"</font>
<br><font size=2 face="sans-serif">        -bash:
!etc: event not found</font>
<br>
<br><font size=2 face="sans-serif">Not urgent, but any help much appreciated.</font>
<br>
<br><font size=2 face="sans-serif">Regards</font>
<br><font size=2 face="sans-serif">Nigel</font><pre>
___________________________________________________________
This communication is confidential, may be privileged and is meant only for the intended recipient. If you are not the intended recipient, please notify the sender by reply and delete the message from your system. Any unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, BNP Paribas Commodity Futures Limited, BNP Paribas Asset Management UK Limited and Investment Fund Services Limited are authorised and regulated by the Financial Services Authority.

BNP Paribas London Branch and BNP Paribas Wealth Management London Branch are authorised by the CECEI and supervised by the Commission Bancaire.  

BNP Paribas London Branch is authorised and subject to limited regulation by the Financial Services Authority. Details about the extent of our authorisation and regulation by the Financial Services Authority are available from us on request. BNP Paribas is also a member of the London Stock Exchange.

BNP Paribas Wealth Management London Branch is subject to limited regulation by the Financial Services Authority.  Details about the extent of our authorisation and regulation by the Financial Services Authority are available from us on request.  

BNP Paribas Securities Services London Branch is authorised by the CECEI and supervised by the AMF, and subject to limited regulation by the Financial Services Authority. Details on the extent of our regulation by the Financial Services Authority are available from us on request. BNP Paribas Securities Services is also a member of the London Stock Exchange.

BNP Paribas Trust Corporation UK Limited is registered in England and Wales (registered no. 4042668) at registered office 55 Moorgate, London EC2R 6PA.

BNP Paribas UK Limited is registered in England and Wales (registered no. 1488108) at registered office 10 Harewood Avenue, London NW1 6AA.

BNP Paribas Commodity Futures Limited is registered in England and Wales (registered no. 2391477) at registered office 10 Harewood Avenue, London NW1 6AA.

BNP Paribas Asset Management UK Limited is registered in England and Wales (registered no. 2474627) at registered office 10 Harewood Avenue, London NW1 6AA.

Investment Fund Services Limited is registered in England and Wales (registered no. 6110770) at registered office 55 Moorgate, London EC2R 6PA.

BNP Paribas London Branch is registered in England and Wales (registered no. FC13447) at registered office 10 Harewood Avenue, London NW1 6AA.

BNP Paribas Wealth Management London Branch is registered in England and Wales (registered no. FC023926) at registered office 10 Harewood Avenue, London NW1 6AA.

BNP Paribas Securities Services London Branch is registered in England and Wales (registered no. BR006393) at registered office 55 Moorgate, London, EC2R 6PA.

BNP Paribas Lease Group Plc  is registered in England and Wales (registered no. 2341989) at registered office Northern Cross, Basing View, Basingstoke, Hampshire RG21 4HL.
____________________________________________________________

</pre>