[Nagios-users] TEST to Nagios

2012-07-18 Thread Camron W. Fox
TEST TEST TEST

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com
Phone:  (808) 934-4102
Cell:   (808) 937-5026


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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


[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 command:

./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array=^((?!john).)*$
./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array=^((?john
--show passwd.ldap).)*$
bash: syntax error near unexpected token `('

And the Nagios web output shows: NRPE: Unable to read output

Does anyone have any suggestions?

Best Regards,
Camron

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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


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 tried that and this was the error:

/usr/lib64/nagios/plugins/check_procs -w 25 -c 35 -m CPU -v
--ereg-argument-array='^((?!john).)*$'
PROCS UNKNOWN: Could not compile regular expression - Invalid preceding
regular expression

with the message on the web output being: PROCS UNKNOWN: Could not
compile regular expression - Invalid preceding regular expression

Best Regards,
Camron

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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


[Nagios-users] TEST to Nagios Users List

2010-07-23 Thread Camron W. Fox
Alle,

This is just a test. I haven't received any mail from the list in
almost a month.

Best Regards,
Camron

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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


[Nagios-users] Exclusions to check_procs plugin?

2010-02-03 Thread Camron W. Fox
Alle,

I've searched and found this question has been asked before, but there
don't seem to have been any responses.
Is it possible to exclude a process with the check_procs plugin. I have
John the Ripper running on one of my machines which consistently uses
100% of one of the four CPUs:

Cpu0  :  0.3%us,  0.3%sy,  0.0%ni, 93.0%id,  6.3%wa,  0.0%hi,  0.0%si,
0.0%st
Cpu1  :  0.7%us,  0.7%sy,  0.0%ni, 97.0%id,  1.3%wa,  0.0%hi,  0.3%si,
0.0%st
Cpu2  :  0.3%us,  0.3%sy,  0.0%ni, 99.3%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Cpu3  :*100.0%us*,  0.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,
 0.0%st
Mem:   3912852k total,  3761780k used,   151072k free,   180016k buffers
Swap:  8388600k total,  112k used,  8388488k free,  2994944k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
11066 root  25   0 12376 7012  644 R 100.1  0.2  70505:06 john

I'd like to ignore this if possible.

Best Regards,
Camron

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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


Re: [Nagios-users] NRPE vs. check_by_ssh

2009-03-29 Thread Camron W. Fox
Charlie Reddington wrote:
 
 +1 on the control master. We have about 1000 checks over 300 hosts and  
 using control master made the box much more stable and quite frankly  
 usable. Saved a lot of plug in time outs as well.
 
 Think about 1000 checks every 5 or 10 minutes. That's 1000 encrypted  
 tunnels that are going up and down. That's a lot of overhead for a  
 quick check, let along if your server is checking say 5 or 10 things  
 back to back.
 
 http://www.torchbox.com/blog/ssh_tips_2.html
 
 Charlie
 
Charlie,

Sounded interesting so I gave this a try on our test environment, with 
the following config:

Host *
  ControlMaster auto
  ControlPath ~/.ssh/master...@%h:%p

Initially, all looked well, but then we started to see these:

Remote command execution failed: Control socket 
connect(/var/log/nagios/.ssh/master-r...@192.168.100.100:22): Connection 
refused

So you see this as well in your environment?

Best Regards,
Camron

Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com


--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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