check_procs (nagios-plugins 1.3.1) 1.9.2.1

Hari Sekhon hpsekhon at googlemail.com
Tue May 22 11:07:36 CEST 2007


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 other user's 
processes is the root user.

Therefore I run my proc checks with sudo and then it works.

Are you running check_procs as the nagios user? Have you tried running 
it as root?

-h

Hari Sekhon



Sandor W. Sklar wrote:
> This is not useful, but I reported an identical problem on Solaris 8,  
> and got no replies.
>
> 	-s-
>
> On May 21, 2007, at 12:12 PM, abid dar wrote:
>
>   
>> That didn't work either.
>>
>> ----- Original Message ----
>> From: "Mies, Christian" <c.mies at itnovum.de>
>> To: abid dar <snyper9311 at yahoo.com>; Nagios- 
>> users at lists.sourceforge.net
>> 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: nagios-users-bounces at lists.sourceforge.net
>>> [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag
>>> von abid dar
>>> Gesendet: Montag, 21. Mai 2007 20:04
>>> An: Nagios-users at lists.sourceforge.net
>>> Betreff: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1
>>>
>>> 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
>>> /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d
>>>
>>> This is on a Tru64 (alpha) box.
>>>
>>> Why doesnt is show the process that I specify (no matter how I
>>> call it) is running?
>>>
>>> suggestions?
>>>
>>> TIA
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________________________
>>> _____________________Get the Yahoo! toolbar and be alerted to
>>> new email wherever you're surfing.
>>> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
>>>
>>> ---------------------------------------------------------------
>>> ----------
>>> This SF.net email is sponsored by DB2 Express Download DB2
>>> Express C - the FREE version of DB2 express and take control
>>> of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> Nagios-users mailing list
>>> Nagios-users at 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
>>>
>>>       
>>
>>
>>
>>
>> ______________________________________________________________________ 
>> ______________
>> Finding fabulous fares is fun.
>> Let Yahoo! FareChase search your favorite travel sites to find  
>> flight and hotel bargains.
>> http://farechase.yahoo.com/promo-generic-14795097
>>
>> ---------------------------------------------------------------------- 
>> ---
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>     
>
> --
> Sandor W. Sklar
> Unix Systems Administrator
> Stanford University Libraries & Academic Information Resources
> Digital Libraries Systems & Services
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list