check_procs (nagios-plugins 1.3.1) 1.9.2.1
Sandor W. Sklar
ssklar at stanford.edu
Tue May 22 19:14:20 CEST 2007
thanks for the tip, but I tried as both root and an unprivilaged
user, with the same result. On Solaris, it can't match against a
process name, but it works fine on AIX 5.2 and RHEL4.
-s-
On May 22, 2007, at 2:07 AM, Hari Sekhon wrote:
> 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
>>
>>
--
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
More information about the Users
mailing list