Re: [Nagios-users] check_procs returning wrong data

2012-06-19 Thread Axel Amigo Arnold
I finally got it working but it was not that easy. As I am using CentOS 5, by default the requiretty value in the /etc/sudoers file is activated, so I had to edit it like this: #Defaultsrequiretty nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_procs And the command in the .cfg file

Re: [Nagios-users] check_procs returning wrong data

2012-06-19 Thread C. Bensend
I finally got it working but it was not that easy. As I am using CentOS 5, by default the requiretty value in the /etc/sudoers file is activated, so I had to edit it like this: #Defaultsrequiretty nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_procs And the command in the

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Andreas Ericsson
On 06/17/2012 03:47 PM, Axel Amigo Arnold wrote: Hello, I am using nagios plugins 1.4.15 and I have a question about the check_procs plugin. If I execute it as *root*: root@localhost[/usr/local/nagios/libexec]# ./check_procs -w 50 -c 100 PROCS CRITICAL: 126 processes Now if I do it as

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Axel Amigo Arnold
Hi Andreas, thank you for the response. I already have the suid bit activated in the check_procs binary as you can see here (I just copied the values of check_icmp) -r-sr-sr-x The user for this binary is root, and the group is nagios (just as check_icmp), but I still can't access the total

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Andreas Ericsson
On 06/18/2012 11:51 AM, Axel Amigo Arnold wrote: Hi Andreas, thank you for the response. I already have the suid bit activated in the check_procs binary as you can see here (I just copied the values of check_icmp) -r-sr-sr-x The user for this binary is root, and the group is nagios (just

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Steve Glasser
On 06/18/2012 06:30 AM, Andreas Ericsson wrote: The user for this binary is root, and the group is nagios (just as check_icmp), but I still can't access the total process list. In the command definition, should I make something like this?

[Nagios-users] check_procs returning wrong data

2012-06-17 Thread Axel Amigo Arnold
Hello, I am using nagios plugins 1.4.15 and I have a question about the check_procs plugin. If I execute it as *root*: root@localhost[/usr/local/nagios/libexec]# ./check_procs -w 50 -c 100 PROCS CRITICAL: 126 processes Now if I do it as *nagios user*: nagios@localhost[/usr/local/nagios/libexec]#

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

2012-05-23 Thread Alex Griffin
Okay, then it appears check_procs does not support that syntax. Negation of longer strings like that requires a backtracking implementation of regular expressions (the quotes are there because this kind of regular expression is actually NOT a regular expression in the strict computer science

[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

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:

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

[Nagios-users] check_procs question

2012-05-04 Thread bassem farouk
Hi i am asking regarding the Nagios plugin check_procs can i use this to check in the NOTEPAD.EXE is more than 5 instances in a server(windows box) and they are running for more than 1 hour if so , what is the parameters to do that if not , how can i do that? Thanks

Re: [Nagios-users] check_procs count going haywire on Ubuntu - still broken

2011-08-11 Thread Axel Rosenski
Hi, Am Mittwoch, 10. Aug. 11, 18:24:17 schrieb Kimberly McKinnis: Thank you for that observation. I was being dumb with the quoting. ButŠit's still not working correctly. The commands work properly on the command line on the host (admin1), but the Nagios server (monitor1) sees +1 count

Re: [Nagios-users] check_procs count going haywire on Ubuntu - still broken

2011-08-11 Thread Kimberly McKinnis
This worked. The man page for check_procs wasn't clear to me about that. Thank you! C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | k...@conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | On

Re: [Nagios-users] check_procs count going haywire on Ubuntu - still broken

2011-08-11 Thread Kimberly McKinnis
I spoke too soon. That broke all of my other more complex process checking and it now sees 0 procs for everything else. What are the other caveats for -C ? Looking for: /usr/sbin/pdns_server --config-name=private --daemon --guardian=yes by using: command[check_pdns_config_priv]=/bin/bash -c

Re: [Nagios-users] check_procs count going haywire on Ubuntu - still broken

2011-08-10 Thread Kimberly McKinnis
Thank you for that observation. I was being dumb with the quoting. ButŠit's still not working correctly. The commands work properly on the command line on the host (admin1), but the Nagios server (monitor1) sees +1 count again. I am very confused by this. Does Nagios server force it back to the

Re: [Nagios-users] check_procs count going haywire on Ubuntu - still broken

2011-08-10 Thread up
I have no idea, but that would seem unlikely. Have you tried my other suggestion?: command[check_pdns_config_pub]=/path/to/your/bash-script in bash-script: #!/bin/bash /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_recursor In effect creating a bash wrapper for the plugin.

Re: [Nagios-users] check_procs count going haywire on Ubuntu - still broken

2011-08-10 Thread Kimberly McKinnis
Yes, but that also made it worse :( There's only one process running, but Nagios now reports three. I am really stuck here. From /etc/nagios/nrpe.cfg on admin1 command[check_pdns_recursor]=/etc/nagios/pdns_recursor.sh root@admin1:/etc/nagios# less pdns_recursor.sh #!/bin/bash

[Nagios-users] check_procs count going haywire on Ubuntu

2011-08-09 Thread Kimberly McKinnis
After wondering why all of the processes I'm checking with check_procs were counting an extra, I discovered the bug with /bin/dash under Debian [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913] As a workaround (because I'm not interested in changing the default shell for the entire

Re: [Nagios-users] check_procs count going haywire on Ubuntu

2011-08-09 Thread up
After wondering why all of the processes I'm checking with check_procs were counting an extra, I discovered the bug with /bin/dash under Debian [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913] As a workaround (because I'm not interested in changing the default shell for the entire

[Nagios-users] check_procs

2011-07-25 Thread Jonathan Aquilina
is it possible to specify an ip with this check? -- Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization

Re: [Nagios-users] check_procs

2011-07-25 Thread Jim Avery
On 25 July 2011 10:34, Jonathan Aquilina eagles051...@gmail.com wrote: is it possible to specify an ip with this check? No, that plugin is only designed to run locally. You should be able to run it on the remote machine if you have nrpe installed though. See the NRPE manual which you will

Re: [Nagios-users] check_procs

2011-07-25 Thread Jonathan Aquilina
Thanks Jim, ended up finding what i needed and managed with check_snmp. Very hard to find the various types of ranges you can specify wiht nagios but i ended up finding them. On 25/07/2011 14:02, Jim Avery wrote: On 25 July 2011 10:34, Jonathan Aquilinaeagles051...@gmail.com wrote: is it

[Nagios-users] check_procs

2011-02-10 Thread Saj Ali
Hi I have installed nagios software to monitor my network, I want to know that if there is a plugin to monitor a specific process, for example I want to monitor the pmta or tcp or apache, please guide me as I have no idea how to do that, Thanks Regards Sajjad Ali Network Administrator

Re: [Nagios-users] check_procs

2011-02-10 Thread Jim Avery
On 10 February 2011 10:58, Saj Ali s...@247emaildata.com wrote: Hi I have installed nagios software to monitor my network, I want to know that if there is a plugin to monitor a specific process, for example I want to monitor the pmta or tcp or apache, please guide me as I have no idea how

Re: [Nagios-users] check_procs

2011-02-10 Thread James Pratt
service installed and configured for polling as well. Cheers, Jamie -Original Message- From: Jim Avery [mailto:j...@jimavery.me.uk] Sent: Thursday, February 10, 2011 8:21 AM To: Nagios Users List Subject: Re: [Nagios-users] check_procs On 10 February 2011 10:58, Saj Ali s

Re: [Nagios-users] check_procs

2011-02-10 Thread steve f
I assume you want check_procs -w ( warning value ) -c ( critical value ) -C ( NAME OF PROCESS TO CHECK) do check_procs --help to see all of the options From: s...@247emaildata.com To: nagios-users@lists.sourceforge.net Date: Thu, 10 Feb 2011 10:58:46 + Subject: [Nagios-users

Re: [Nagios-users] check_procs high frequency quot;P lugin timed out after 10 secondsquot;

2010-09-19 Thread Watanabe , Kazuo
Dorfman, Justin justin at mahalo.com writes: Have you tried adjusting your Check Frequency? http://nagios.sourceforge.net/docs/3_0/configmain.html#check_result_reaper_freq uency Regards,Justin DorfmanMahalo.com Inc. Jr. Systems Engineer818.485.1458 at jdorfman |  at MahaloSysops |

[Nagios-users] check_procs high frequency Plugin timed out after 10 seconds

2010-09-17 Thread Watanabe, Kazuo
Hi, I am using check_procs for crond processes monitoring via NRPE. The plugin has been reporting Plugin timed out after 10 senconds many times. Sometimes OK, Sometimes above. The target system resource: no high load The crond process: working normally Checking ps command manually: showing crond

Re: [Nagios-users] check_procs high frequency Plugin timed out after 10 seconds

2010-09-17 Thread Patrik Båt
Direct: +46 (0)8 545 87 326 Mobile: +46 (0)73 32 07 326 E-mail: patrik@cypoint.semailto:patrik@cypoint.se Från: Watanabe, Kazuo [deep.sea.odys...@gmail.com] Skickat: den 17 september 2010 08:01 Till: nagios-users@lists.sourceforge.net Ämne: [Nagios-users

Re: [Nagios-users] check_procs high frequency Plugin timed out after 10 seconds

2010-09-17 Thread Dorfman, Justin
Have you tried adjusting your Check Frequency? http://nagios.sourceforge.net/docs/3_0/configmain.html#check_result_reaper_frequency http://nagios.sourceforge.net/docs/3_0/configmain.html#check_result_reaper_frequency Regards, Justin Dorfman Mahalo.com Inc. Jr. Systems Engineer 818.485.1458

[Nagios-users] check_procs on a particular python script

2010-08-03 Thread Robert Swerdlow
I'm trying to get Nagios to monitor whether a particular background job is running on a particular server. I want to ensure that one and only one instance is running. I am using check_procs, but I can't seem to get the command name and args right. How should I do this? Details: I'm

Re: [Nagios-users] check_procs on a particular python script

2010-08-03 Thread Hendrix, Austin
: Tuesday, August 03, 2010 2:22 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_procs on a particular python script I'm trying to get Nagios to monitor whether a particular background job is running on a particular server. I want to ensure that one and only one instance

[Nagios-users] check_procs

2009-11-02 Thread pinoyskull
Hi, Is it possible to exclude process(es) in check_procs plugin? ex. I have 3 processes aaa aaa_monitor tail -f aaa_monitor.log then I monitor it in check_procs plugin check_procs -c 2:2 -a aaa in this case it will give me critical alert since it will detect the 3 processes, and the

[Nagios-users] check_procs time elapsed

2009-02-13 Thread Aaron McKinnon
I'm not getting the behavior I'd expect from some tests using check_procs for elapsed time. What I'm trying to accomplish is look for a process (string) and alert if it's been running for X time or more (from start time). For example: ./check_procs -m ELAPSED -a 'sshd' -w 0 -c 2 Time

Re: [Nagios-users] check_procs

2008-12-19 Thread Aaron Mills
A bit of color on the check_procs program: I had the same problem, and it was a permissions issue. The pst3 binary has to be setuid/owned by root: -r-sr-xr-x 1 root root 25064 Sep 29 16:15 /usr/local/nagios/libexec/pst3 HTH. -Aaron -- original message -- Date: Thu, 18 Dec

[Nagios-users] check_procs plugin

2008-09-18 Thread James
What is the default ps_format? Do I need to recompile the plugins to change the ps_format or can I specify it on the command line? I am pretty sure it doesn't have the right ps_format for Solaris10. - This SF.Net email is

Re: [Nagios-users] check_procs from Nagios plugins 1.4.12 is veeery slow on Solaris 10 5/08

2008-09-15 Thread Bernd Nies
Duncan Ferguson wrote: Can you please try a recent snapshot? The I rewrote the pst3 binary to enable to work faster and be zone aware (to allow use in in the global and sub zones). Its been fine for me, but I don't think there has been a release since the code was committed. CC'ing in

[Nagios-users] check_procs in reverse

2008-09-11 Thread Thomas Kinghorn - MWEB
Good morning List. Apologies if this is a dumb question. I am new to setting up nagios. I have a server running a Session Border Controller. It runs 8 processes for the SBC. If the number of processes drops to 4, I need to flag as a warning If it drops to 2, flag as critical. How would I get

Re: [Nagios-users] check_procs in reverse

2008-09-11 Thread Mikael Fridh
On Thu, Sep 11, 2008 at 11:55 AM, Thomas Kinghorn - MWEB [EMAIL PROTECTED] wrote: If the number of processes drops to 4, I need to flag as a warning If it drops to 2, flag as critical. -w 5:8 -c 3:8 Note that anything above 8 will be critical. Adjust your wmax and cmax values as appropriate.

[Nagios-users] check_procs from Nagios plugins 1.4.12 is veeery slow on Solaris 10 5/08

2008-09-04 Thread Bernd Nies
Hi, Something bad happened to the check_proc plugin between version 1.45 and v1991. For counting ca 1700 processes on a Sun Enterprise M4000 it takes 45 seconds and sometimes longer. An older version was much faster qirh 0.3 seconds. I compiled Nagios plugins 1.4.12 on a Solaris 9 with GCC

Re: [Nagios-users] check_procs from Nagios plugins 1.4.12 is veeery slow on Solaris 10 5/08

2008-09-04 Thread Duncan Ferguson
Can you please try a recent snapshot? The I rewrote the pst3 binary to enable to work faster and be zone aware (to allow use in in the global and sub zones). Its been fine for me, but I don't think there has been a release since the code was committed. CC'ing in the nagiosplug-devel list

[Nagios-users] check_procs argument-array via check_by_ssh

2008-06-23 Thread Dirk H. Schulz
Hi folks, I have a problem with the plugin check_procs (current version): I would like to use the argument-array (-a) to check the startup parameters of daemons, but that does not seem to work when used via check_by_ssh. For example: Testing locally with PATH/check_procs -w 1:10 -c

Re: [Nagios-users] check_procs with -a argument

2008-02-25 Thread Frost, Mark {PBG}
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Thursday, February 21, 2008 6:15 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] check_procs with -a argument -Original Message- From: [EMAIL PROTECTED

[Nagios-users] check_procs with -a argument

2008-02-21 Thread Frost, Mark {PBG}
I must admit I'm a little confused about using the check_procs plugin. The help shows that you can use the -a argument to match against args in the command as follows: -a, --argument-array=STRING Only scan for processes with args that contain STRING. I'm trying to trap a process that's

Re: [Nagios-users] check_procs with -a argument

2008-02-21 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Frost, Mark {PBG} Sent: Thursday, February 21, 2008 4:48 PM To: Nagios Users Mailinglist Subject: [Nagios-users] check_procs with -a argument I must admit I'm a little confused

Re: [Nagios-users] check_procs xend

2007-09-11 Thread Richard Mohr
On Sat, 2007-09-08 at 00:57 -0500, Terry L. Inzauro wrote: [EMAIL PROTECTED]:/etc/xen# ps -ef | grep xend root 2392 1 0 Sep07 ?00:00:00 python /usr/lib/xen-3.0.3-1/bin/xend start root 2394 2392 0 Sep07 ?00:00:11 python /usr/lib/xen-3.0.3-1/bin/xend start

[Nagios-users] check_procs xend

2007-09-07 Thread Terry L. Inzauro
list, i can't seem to get the check_procs plugin to look for the xend processes. [EMAIL PROTECTED]:/etc/xen# ps -ef | grep xend root 2392 1 0 Sep07 ?00:00:00 python /usr/lib/xen-3.0.3-1/bin/xend start root 2394 2392 0 Sep07 ?00:00:11 python

Re: [Nagios-users] check_procs timeout - Solaris 10

2007-07-25 Thread Esben Bach
Hi Sapon This issue has been address a multitude of times (with differenet solution suggestions). Someone has claimed that the check_procs plugin was fixed in the latest plugin version, however i have not found the time to try them out. You should search the mailinglist archives - your problem

Re: [Nagios-users] check_procs timeout - Solaris 10

2007-07-25 Thread kyle . odonnell
It has been fixed with 1.4.9 The previous workaround was to reformat the ps-format config option. --kyleo On 7/25/07, Esben Bach [EMAIL PROTECTED] wrote: Hi Sapon This issue has been address a multitude of times (with differenet solution suggestions). Someone has claimed that the

Re: [Nagios-users] check_procs timeout - Solaris 10

2007-07-24 Thread Sapon, Dimitry
: Tuesday, July 24, 2007 12:28 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_procs timeout - Solaris 10 A Dimarts 24 Juliol 2007, Sapon, Dimitry va escriure: Hi guys, Hi Dimitry, Hi All, this is my first email to the list, so I hope I can help somehow. I've run

Re: [Nagios-users] check_procs timeout - Solaris 10

2007-07-24 Thread Dani
A Dimarts 24 Juliol 2007, Sapon, Dimitry va escriure: Hi Dani, Thanks for the quick response. At first I ran into this problem when I added the new Solaris 10 box to monitor (current ones being monitored are all 8. The new box started timing out through NRPE. After investigating I figured

Re: [Nagios-users] check_procs through nrpe gives wrong results

2007-05-30 Thread M V Ajay (vMoksha)
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Costelloe Sent: Thursday, May 24, 2007 6:56 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_procs through nrpe gives wrong results

Re: [Nagios-users] Check_procs issue - Different Results

2007-05-30 Thread Thomas Guyot-Sionnest
On 29/05/07 05:41 PM, Sapon, Dimitry wrote: Hi there, I'm getting different results for the check_procs plugin from command line to the web interface of Nagios. In the command line, if I use the same command as Nagios is supposed to run (specified in the commands.cfg and I monitored the

[Nagios-users] Check_procs issue - Different Results

2007-05-29 Thread Sapon, Dimitry
Hi there, I'm getting different results for the check_procs plugin from command line to the web interface of Nagios. In the command line, if I use the same command as Nagios is supposed to run (specified in the commands.cfg and I monitored the commands passed to check_procs plugin), I get the

Re: [Nagios-users] check_procs through nrpe gives wrong results

2007-05-24 Thread M V Ajay (vMoksha)
:[EMAIL PROTECTED] On Behalf Of M V Ajay (vMoksha) Sent: Wednesday, May 23, 2007 6:41 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_procs through nrpe gives wrong results Hi, I am monitoring a Redhat enterprise Linux 4 server running oracle using Nagios and NRPE. When I

Re: [Nagios-users] check_procs through nrpe gives wrong results

2007-05-24 Thread Phil Costelloe
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of M V Ajay (vMoksha) Sent: 24 May 2007 12:28 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_procs through nrpe gives wrong results Hi, I found the reason for the behaviour. Oracle have

Re: [Nagios-users] check_procs through nrpe gives wrong results

2007-05-24 Thread Phil Costelloe
Subject: RE: [Nagios-users] check_procs through nrpe gives wrong results Hi, Exact process string is appearing in the ps output. oracle9882 1 0 May18 ?00:01:40 ora_pmon_orcldb Nagios: 2.7 on x86_64 (RHEL4) Nagios plugins: 1.4.5 check_procs : (nagios-plugins 1.4.5) 1.54 NRPE

[Nagios-users] check_procs through nrpe gives wrong results

2007-05-23 Thread M V Ajay (vMoksha)
Hi, I am monitoring a Redhat enterprise Linux 4 server running oracle using Nagios and NRPE. When I monitor Oracle PMON process (ora_pmon_orcldb) on the server I get the message that 'PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb''. I have confirmed that process

Re: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1

2007-05-22 Thread Hari Sekhon
work either. - Original Message From: Mies, Christian [EMAIL PROTECTED] To: abid dar [EMAIL PROTECTED]; Nagios- [EMAIL PROTECTED] Sent: Monday, May 21, 2007 2:50:52 PM Subject: AW: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 Hi, try it with the '-a' Parameter

Re: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1

2007-05-22 Thread abid dar
: Tuesday, May 22, 2007 5:07:36 AM Subject: Re: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 I'm not sure about your cases but when running check_procs on hardened gentoo servers, their hardened kernels stop user accounts from seeing all other users processes. The only user who can see

Re: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1

2007-05-22 Thread Sandor W. Sklar
Message From: Mies, Christian [EMAIL PROTECTED] To: abid dar [EMAIL PROTECTED]; Nagios- [EMAIL PROTECTED] Sent: Monday, May 21, 2007 2:50:52 PM Subject: AW: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 Hi, try it with the '-a' Parameter. Regards Christian

Re: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1

2007-05-22 Thread Sandor W. Sklar
, 2007, at 12:12 PM, abid dar wrote: That didn't work either. - Original Message From: Mies, Christian [EMAIL PROTECTED] To: abid dar [EMAIL PROTECTED]; Nagios- [EMAIL PROTECTED] Sent: Monday, May 21, 2007 2:50:52 PM Subject: AW: [Nagios-users] check_procs (nagios-plugins 1.3.1

Re: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1

2007-05-22 Thread Ford, Andy
. Sklar Sent: Tuesday, May 22, 2007 3:18 PM To: Christian Nilsson - op5 Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 Ah, yes, I think is exactly the problem: a bug in the check_procs command. I just wasn't sure

[Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1

2007-05-21 Thread abid dar
When I run check_procs I get: ../libexec/check_procs OK - 4 processes running ../libexec/check_procs -C nrpe OK - 0 processes running with command name nrpe ../libexec/check_procs -C /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d OK - 0 processes running with command name

Re: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1

2007-05-21 Thread Sandor W. Sklar
- [EMAIL PROTECTED] Sent: Monday, May 21, 2007 2:50:52 PM Subject: AW: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 Hi, try it with the '-a' Parameter. Regards Christian -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von abid dar

[Nagios-users] check_procs with multiple args

2007-03-26 Thread Hari Sekhon
I currently use check_procs a lot, but am finding a limitation in either the plugin or my knowledge of it. I want to check for a process with 3 args and the args can be in any order. I don't see how to do this as it takes a string after the -a switch this means that I have to have a predefined

[Nagios-users] check_procs - exclude processes

2006-03-21 Thread robban
Hello all! Is it posible to exclude processes in the check_procs? I want to monitor all my linux nodes for: check_procs -w 7 -c 15 --metric=CPU check_procs -w 5000 -c 1 --metric=VSZ But I want to exlude some processes (httpd and mysql). The reason for this setup is I want to create a

[Nagios-users] check_procs with spaces in their path?

2006-02-22 Thread Tom Healy
Is there a way to get check_procs to look for processes with spaces in them? I've got a series of custom unidata processes that have the bonus feature of having names like: PHANTOM FOOBAR.1.2.3 HQ PROC I've tried various methods to get it to read them but none seem to work: IE: # ps

RE: [Nagios-users] check_procs with spaces in their path?

2006-02-22 Thread C. Bensend
You are confusing the program name with its arguments. ./check_procs -c 1:1 -C '/usr/lib/sendmail' -a '-bd -q15m' IE, exactly one process, with command /usr/lib/sendmail, and arguments '-bd -q15m' !! While I'm not the OP, I was wrestling with one of my monitored servers, trying to pick

Re: [Nagios-users] check_procs with spaces in their path?

2006-02-22 Thread Tom Healy
Thanks Steve, that is what I was not grasping, it works like a charm now! ./check_procs -c 1:1 -C 'udt' -a 'PHANTOM HQ.PROCESS.1 OTD' PROCS OK: 1 process with command name 'udt', args 'PHANTOM HQ.PROCESS. 1 OTD' -Tom On Feb 22, 2006, at 4:30 PM, Steve Shipway wrote: # ./check_procs -c