Nagios NRPE Aagent on linux redhat

Aubin, Jean-Francois jean-francois.aubin at cgi.com
Thu Nov 7 14:28:33 UTC 2013


Hi,

 First, put your nrpe.cfg. Also, if you use RPM version of nagios/nrpe verify if you have nagios-plugins-nrpe. Because, this rpm have the chek_nrpe script. 
See my output

# rpm -ql nagios-plugins-nrpe
/usr/lib64/nagios/plugins/check_nrpe
/usr/share/doc/nagios-plugins-nrpe-2.14
/usr/share/doc/nagios-plugins-nrpe-2.14/Changelog
/usr/share/doc/nagios-plugins-nrpe-2.14/LEGAL
/usr/share/doc/nagios-plugins-nrpe-2.14/README


If you don't use rpm version, verify if you find check_nrpe plugins script files. Normally, this script is located in /<yourpath>/nagios/libexec/check_nrpe in.



-----Message d'origine-----
De : redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] De la part de Vvvvvvv
Envoyé : 7 novembre 2013 04:07
À : General Red Hat Linux discussion list
Objet : 答复: Nagios NRPE Aagent on linux redhat

Hi, I agree with Mark. U should check $PATH first and running the command with sudo :-) Or put the. .cof. File in right place.

Best wishes,
Levi

-----原始邮件-----
发件人: Abhilash Chittathukatil
发送时间: 2013/11/7 10:38
收件人: General Red Hat Linux discussion list
主题: Re: Nagios NRPE Aagent on linux redhat

Also please eloborate what all steps you have followed in client and server...
On 07-Nov-2013 7:53 AM, "Abhilash Chittathukatil" <abhilashck72 at gmail.com>
wrote:

> Have u installed the plugins...check under libexec directory whether 
> check_nrpe script s there On 07-Nov-2013 4:00 AM, <m.roth at 5-cent.us> 
> wrote:
>
>> jonathan jean-francois wrote:
>> > When i try to run this following command Check_Nrpe -H Localhost, i 
>> > get this error
>> > -bash: check_nrpe: command not found. also on the Nagios server  
>> > iget
>> this
>> > error :
>> > Command 'check_disk' not defined
>> >
>> > And i already configure my  NRPE.cfg file to match with the the 
>> > server that has the nagios Agent................
>> >
>> 1. Please don't top post.
>>
>> 2. Sounds like you have a path issue. Check $PATH before you run them.
>>
>>        mark
>> >
>> >
>> >
>> > On Wednesday, November 6, 2013 3:06:27 PM, Harry Hoffman 
>> > <hhoffman at ip-solutions.net> wrote:
>> >
>> > Would you mind detailing the problem you are having along with the 
>> > troubleshooting steps you've employed?
>> >
>> > Cheers,
>> > Harry
>> >
>> >
>> > On 11/06/2013 02:39 PM, jonathan jean-francois wrote:
>> >> Hi I have been trying to monitor a redhat server with Nagios, for 
>> >> the past 4 days, i don't seem to  be able to get through, can 
>> >> anyone
>> Assist.
>> >>
>> >
>> > --
>> > redhat-list mailing list
>> > unsubscribe 
>> > mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> > https://www.redhat.com/mailman/listinfo/redhat-list
>> > --
>> > redhat-list mailing list
>> > unsubscribe 
>> > mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> > https://www.redhat.com/mailman/listinfo/redhat-list
>> >
>>
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list