[Nagios-users] Nagios - can it send email when leaving a service comment?

2012-05-21 Thread Ajay Jethani
I'd like nagios to send an email after I leave a service comment through the web dashboard. The purpose of this would be that it would send a mail to the contact list that someone is working on the issue at hand and to track this information over time (how long it takes to resolve and issue and wha

Re: [Nagios-users] check_procs and negating regex in --ereg-argument-array

2012-05-21 Thread Camron W. Fox
On 12/05/21 11:29 AM, Alex Griffin wrote: > To get around the issue of bash interpreting your regex characters as > something else, simply wrap the regex in single quotes: > > ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array='^((?!john).)*$' > > Alex Griffin Alex, I already tr

Re: [Nagios-users] check_procs and negating regex in --ereg-argument-array

2012-05-21 Thread Alex Griffin
To get around the issue of bash interpreting your regex characters as something else, simply wrap the regex in single quotes: ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array='^((?!john).)*$' Alex Griffin --- Tech Team agrif...@nagios.com On 05/21/2012 03:04 PM, Camron W. Fox wrote: >

[Nagios-users] check_procs and negating regex in --ereg-argument-array

2012-05-21 Thread Camron W. Fox
All, Is it possible to negate the regular expression used in --ereg-argument-array with check_procs? We want to ignore one of the processes running on a machine but when we try to use negative lookahead the regex is not processed correctly because it reads ! as a bash internal com