nrpe installation
asam30 at gmail.com
asam30 at gmail.com
Sat Aug 30 13:29:44 CEST 2008
run the same command from the nagios server to see if the nrpe working
between nagios server and client.
on the nagios server, if the nagios is installed at /usr/local/nagios then
/usr/local/nagios/libexec/check_nrpe -H <ip-of-the-nagios-client> -c
check_users
if you get the output then, it compiled and working fine.
On Fri, Aug 29, 2008 at 3:16 PM, Krishna Chandra Prajapati <
prajapatikc at gmail.com> wrote:
> I have executed on remote server
>
> [root at edventures76 ~]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
> NRPE v2.12
> [root at edventures76 ~]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
> -n
> CHECK_NRPE: Error receiving data from daemon.
> [root at edventures76 ~]# vi /usr/local/nagios/etc/nrpe.cfg
> [root at edventures76 ~]# /usr/local/nagios/libexec/check_users -w 5 -c 10
> USERS WARNING - 5 users currently logged in |users=5;5;10;0
>
>
>
> On Fri, Aug 29, 2008 at 3:06 PM, <narendran.neelamegam at wipro.com> wrote:
>
>> only_from = 127.0.0.1 <nagios_ip_address>(here nagios server
>> ip address given or Monitoring server)
>>
>>
>>
>> Only allow access to nrpe deamon from localhost and the IP of the Nagios
>> server ( You don't want other systems to connect nrpe deamon)
>>
>>
>>
>> ( Run the below commands and send check the error message)
>>
>>
>>
>> /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
>>
>>
>>
>> usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -n
>>
>>
>>
>> Also enable logging in nrpe.cfg and check the log.
>>
>>
>>
>> Regards,
>>
>> Naren
>>
>>
>>
>> *From:* Krishna Chandra Prajapati [mailto:prajapatikc at gmail.com]
>> *Sent:* Friday, August 29, 2008 3:01 PM
>> *To:* Narendran Neelamegam (WT01 - TECHNOLOGY INFRASTRUCTURE SERVICES
>> (GS))
>> *Cc:* nagios-users at lists.sourceforge.net
>> *Subject:* Re: [Nagios-users] nrpe installation
>>
>>
>>
>> Hi,
>>
>> nrpe daemon is running on the remote box. One thing is not clear to me (
>> from nrpe docs)
>>
>> Edit the /etc/xinetd.d/nrpe file and add the IP address of the monitoring
>> server to the only_from directive.
>> only_from = 127.0.0.1 <nagios_ip_address>(here nagios server
>> ip address given or Monitoring server)
>>
>> After executing on remote server
>> netstat -at | grep nrpe
>>
>> tcp 0 0 *:nrpe *:* LISTEN
>>
>> (below check_nrpe is not working)
>> Next, check to make sure the NRPE daemon is functioning properly. To do
>> this, run the check_nrpe plugin that
>> was installed for testing purposes.
>> /usr/local/nagios/libexec/check_nrpe -H localhost
>> You should get a string back that tells you what version of NRPE is
>> installed, like this:
>> NRPE v2.8
>> could not complete ssl handshake
>>
>>
>>
>> On Fri, Aug 29, 2008 at 2:22 PM, <narendran.neelamegam at wipro.com> wrote:
>>
>> You don't need nrpe on both the monitoring and the remote sever.
>>
>>
>>
>> You need check_nrpe –on monitoring server and nrpe on the remote/monitored
>> server.
>>
>>
>>
>> I hope you have read the relevant section of the nrpe installation
>> document.
>>
>>
>>
>> Do you have additional information on the remote server such as OS etc.
>>
>>
>>
>> What trouble shooting steps you carried out?
>>
>>
>>
>> Naren
>>
>>
>>
>> *From:* nagios-users-bounces at lists.sourceforge.net [mailto:
>> nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Krishna
>> Chandra Prajapati
>> *Sent:* Friday, August 29, 2008 2:07 PM
>>
>>
>> *To:* nagios-users at lists.sourceforge.net
>> *Subject:* [Nagios-users] nrpe installation
>>
>>
>>
>> I have setup nagios server its working properly. Now i need to add remote
>> server. So i have to install nrpe on monitoring server and remote server.
>> But i am not able to configure nrpe properly on remote and monitoring server
>> although installed.properly
>>
>>
>> Any body please tell me how to configure nrpe on both remote and
>> monitoring server
>>
>>
>> --
>> Krishna Chandra Prajapati
>>
>> *Please do not print this email unless it is absolutely necessary. *
>>
>> The information contained in this electronic message and any attachments
>> to this message are intended for the exclusive use of the addressee(s) and
>> may contain proprietary, confidential or privileged information. If you are
>> not the intended recipient, you should not disseminate, distribute or copy
>> this e-mail. Please notify the sender immediately and destroy all copies of
>> this message and any attachments.
>>
>> WARNING: Computer viruses can be transmitted via email. The recipient
>> should check this email and any attachments for the presence of viruses. The
>> company accepts no liability for any damage caused by any virus transmitted
>> by this email.
>>
>> www.wipro.com
>>
>>
>>
>>
>> --
>> Krishna Chandra Prajapati
>> MySQL DBA,
>> Ed Ventures e-Learning Pvt.Ltd.
>> 1-8-303/48/15, Sindhi Colony
>> P.G.Road, Secunderabad.
>> Pin Code: 500003
>> Office Number: 040-66489771
>> Mob: 9912924044
>> URL: ed-ventures-online.com
>> Email-id: prajapatikc at gmail.com
>>
>> *Please do not print this email unless it is absolutely necessary. *
>>
>> The information contained in this electronic message and any attachments
>> to this message are intended for the exclusive use of the addressee(s) and
>> may contain proprietary, confidential or privileged information. If you are
>> not the intended recipient, you should not disseminate, distribute or copy
>> this e-mail. Please notify the sender immediately and destroy all copies of
>> this message and any attachments.
>>
>> WARNING: Computer viruses can be transmitted via email. The recipient
>> should check this email and any attachments for the presence of viruses. The
>> company accepts no liability for any damage caused by any virus transmitted
>> by this email.
>>
>> www.wipro.com
>>
>
>
>
> --
> Krishna Chandra Prajapati
> MySQL DBA,
> Ed Ventures e-Learning Pvt.Ltd.
> 1-8-303/48/15, Sindhi Colony
> P.G.Road, Secunderabad.
> Pin Code: 500003
> Office Number: 040-66489771
> Mob: 9912924044
> URL: ed-ventures-online.com
> Email-id: prajapatikc at gmail.com
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>
--
Shankar Asam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080830/9c3c179e/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- 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