can't get host to display in Host Detail panel

Jonathan Wiggins jwiggins at salon.com
Mon Sep 27 17:52:41 CEST 2010


any thoughts? I'm still struggling to resolve this..


> HI Assaf.
> 
> Thanks for replying to my email
> 
> this is the output of the command
> 
> $ ./check_users -w 5 -c 10
> USERS OK - 1 users currently logged in |users=1;5;10;0
> 
> On Sep 22, 2010, at 2:19 AM, Assaf Flatto wrote:
> 
>> On 22/09/10 02:09, Jonathan Wiggins wrote:
>>> 
>>> # The following examples use hardcoded command arguments...
>>> 
>>> command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
>>> command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
>>> command[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
>>> command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z
>>> command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200
>>>  
>>> 
>>> # The following examples allow user-supplied arguments and can
>>> # only be used if the NRPE daemon was compiled with support for
>>> # command arguments *AND* the dont_blame_nrpe directive in this
>>> # config file is set to '1'.  This poses a potential security risk, so
>>> # make sure you read the SECURITY file before doing this.
>>> 
>>> #command[check_users]=/usr/lib64/nagios/plugins/check_users -w $ARG1$ -c $ARG2$
>>> #command[check_load]=/usr/lib64/nagios/plugins/check_load -w $ARG1$ -c $ARG2$
>>> #command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
>>> #command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
>>> 
>>> 
>>> 
>>> that's the entry in the .cfg file, if I run this for example, you can see it does give me output:
>>> /usr/lib64/nagios/plugins/check_nrpe -H localhost
>>> NRPE v2.12
>>> 
>>> but other than that, I just run the command as below?
>>> /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_users    (I'm confused on this part - does this particular "check_users" need this at the end? " -w 5 -c 10"   when that's done, I get Unable To read output )
>>> 
>>> i've checked permissions also on the /usr/lib64/nagios/plugins/* directories and only the ../nagios/ directory has nagios.nagios as the owner, the rest have root.root  -- i've seen permissions listed in other forums as the possible culprit, but my permissions seem right?  I've only got "nagios" listed as the nrpe_user and the nrpe_group  in the nrpe.cfg file -- do I need to add "nrpe" and/or "root" to this?
>>> 
>> 
>> when you try running one of the command localy on the remote machine what is the output ?
>> 
>> "/usr/lib64/nagios/plugins/check_users -w 5 -c 10 " - what does this command return ?
>> 
>> Assaf
>> 
>> 
>> -- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100927/3056aaf0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
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