Search found 7 matches

by joedebattista
Tue Sep 23, 2014 1:42 pm
Forum: Open Source Nagios Projects
Topic: Passing an argument containing a minus sign
Replies: 22
Views: 9933

Re: Passing an argument containing a minus sign

I think I'll go with the suggestion about doing the check_procs with --metric=CPU option, as that will check any process that uses too much CPU. Thanks to all for the suggestions and assistance.

Joe DeBattista
by joedebattista
Fri Sep 19, 2014 6:08 pm
Forum: Open Source Nagios Projects
Topic: Passing an argument containing a minus sign
Replies: 22
Views: 9933

Re: Passing an argument containing a minus sign

Thanks for the information. The reason I was trying to monitor the number of nrpe processes was that, occasionally, the nrpe processes on some of my AIX hosts don't seem to complete. When I do a "top" or "topas" the processes are taking up the majority of the CPU. Killing the mul...
by joedebattista
Wed Sep 17, 2014 2:08 pm
Forum: Open Source Nagios Projects
Topic: Passing an argument containing a minus sign
Replies: 22
Views: 9933

Re: Passing an argument containing a minus sign

Hmm.. It looks like my posting from yesterday didn't get here. Here's the results of my ps on the nagios server: [joed@vx8 ~]$ ps -aef | grep nrpe nagios 28205 28204 0 12:00 ? 00:00:00 usr/local/nagios/libexec/check_nrpe -H 64.54.134.47 -c check_disk -a c: 4% 2% nagios 28208 28207 0 12:00 ? 00:00:00...
by joedebattista
Tue Sep 16, 2014 2:06 pm
Forum: Open Source Nagios Projects
Topic: Passing an argument containing a minus sign
Replies: 22
Views: 9933

Re: Passing an argument containing a minus sign

Here's the results of the ps on the nagios server. [joed@vx8 ~]$ hostname vx8 [joed@vx8 ~]$ ps -aef | grep nrpe nagios 24281 24280 0 12:03 ? 00:00:00 usr/local/nagios/libexec/check_nrpe -H 64.54.141.12 -c check_local_disk -a 10% 5% /var nagios 24290 24289 0 12:03 ? 00:00:00 usr/local/nagios/libexec/...
by joedebattista
Mon Sep 15, 2014 6:49 pm
Forum: Open Source Nagios Projects
Topic: Passing an argument containing a minus sign
Replies: 22
Views: 9933

Re: Passing an argument containing a minus sign

Thanks. I appreciate the information and your patience with me. I've gone back to trying things with check_procs. In my nrpe.cfg on the remote host, I created command[check_4nrped2]=/usr/local/nagios/libexec/check_procs -c "$ARG1$" -C "$ARG2$" -a "$ARG3$" In checkcomman...
by joedebattista
Thu Sep 11, 2014 8:31 pm
Forum: Open Source Nagios Projects
Topic: Passing an argument containing a minus sign
Replies: 22
Views: 9933

Re: Passing an argument containing a minus sign

Hi, I appreciate all the help. However, I'm still having some issues, now with the count of nrpe daemons when I run the command on the remote host and when I run it on the nagios server. To simplify things for myself, I created a simple ksh script on the remote host called check_4nrped and placed it...
by joedebattista
Tue Sep 09, 2014 8:30 pm
Forum: Open Source Nagios Projects
Topic: Passing an argument containing a minus sign
Replies: 22
Views: 9933

Passing an argument containing a minus sign

Greetings, We have had an issue where we occasionally get multiple nrpe daemons running on an AIX client. I want to only have a single daemon running. On the AIX client, I have the following in the nrpe.cfg: command[check_local_procs_range]=/usr/local/nagios/libexec/check_procs -c $ARG1$ -a $ARG2$ F...