NRPE and remote hosts - problem

Werner Flamme Werner.Flamme at ufz.de
Fri Mar 11 11:42:39 CET 2005


Andre Loss schrieb am 11.03.2005 11:02:
> 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"
> 
> 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

Hi Andre,

I understand this text so that there may be no entry in /etc/services for
nrpe. Otherways you would get "Failed to obtain socket" or likewise.

HTH,
Werner

> 
> 
> 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
>>>


-- 
Werner Flamme, Abt. WKDV
UFZ Umweltforschungszentrum Leipzig-Halle GmbH,
Permoserstr. 15, 04318 Leipzig - http://www.ufz.de
eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500






-------------------------------------------------------
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