monitor any process/service which runs on linux box using nagios
Dennis Hünseler
dennis at huenseler.net
Thu Apr 24 09:37:22 CEST 2008
nagios nagios schrieb:
> Hi,
>
> i guess nrpe service is not running , i created the file as mentioned
> in the README file n placed it under/etc/xinetd.d/ , how we can make
> it run ???? yes port is opened n i entered in /etc/service file.
>
> thanks
> manju
>
>
> On Thu, Apr 24, 2008 at 12:55 PM, Dennis Hünseler
> <dennis at huenseler.net <mailto:dennis at huenseler.net>> wrote:
>
> nagios nagios schrieb:
>> Hi All,
>>
>> how we can monitor any process/service which runs on linux box
>> using nagios... i tried using NRPE by deploying on remote host..
>> but whenever i tired connecting remote machine from nagios using
>> check_nrpe it will give some error connection refuse .. i
>> followed the instrucation in README file but some where i missing
>> . please help me on this
>>
>> root at nagios-server libexec]# ./check_nrpe -H remotemachine -p 5666
>> Connection refused by host
>>
>>
>> thanks
>> manjunath A
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net <mailto: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
> Hi,
>
> do you have the nrpe-daemon running on the remote machine and did
> you open the needed ports on your firewalls?
>
> Kind regards, Dennis
>
>
Hi again,
like Marcus just wrote check if you did these steps, regarding the
documentation(especially restarting the xinetd):
##############
Install the NRPE daemon as a service under xinetd.
make install-xinetd
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>
Add the following entry for the NRPE daemon to the /etc/services file.
nrpe 5666/tcp # NRPE
Restart the xinetd service.
service xinetd restart
#############
Kind regards, Dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080424/822ca556/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------- 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