NRPE and remote hosts - problem

Andreas Ericsson ae at op5.se
Fri Mar 11 11:37:47 CET 2005


Andre Loss wrote:
> Hi,
> 
> I have the same problem: as root the check_nrpe-command give an answer
> like "OK...", but as user 'nagios' the answer is "cannot map tcp to
> protocol number"
> 

chmod 644 /etc/protocols

Your distribution must be broken to have left it any other way.

> I think, this is not a nagios-problem, then a problem of permissions.
> But I don't know, which permissions are wrong... Can anybody help?
> 
> Thanx
> 
> Andre
> 
> 
> Arno Lehmann wrote:
> 
>> Hi.
>>
>> martin wrote:
>> ...
>>
>>> But from console: [root at gucci nagios]# 
>>> /usr/lib/nagios/plugins/check_nrpe -H ipaddress -c check_users
>>> USERS OK - 1 users currently logged in |users=1;5;10;0
>>>
>>> Pls help me, what is wrong?  some permission?
>>
>>
>>
>> Probably. You run nagios as user nagios, I assume, and your console 
>> check is run as root.
>> su to nagios and try it. Then setup sudo or chenge the file 
>> permissions and retry.
>>
>> Arno
>>
>>> Thanks Martin
>>>
>>> Sorry for my English
>>>
>>
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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