LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2011, 05:59 AM   #16
urikndla
LQ Newbie
 
Registered: May 2011
Location: Montblanc, Spain
Distribution: Ubuntu 10.10
Posts: 10

Original Poster
Rep: Reputation: Disabled

Well, I finally got to connect executing nrpe as standalone daemon.

What I had wrong is server_adress in the /etc/nrpe.cfg file on the remote host. I just updated it and it works fine now.

It also works without -n flag:

Code:
/usr/local/nagios/libexec/check_nrpe -H 192.168.5.110
NRPE v2.12
I still can't connect executing xinetd.
 
Old 05-30-2011, 07:27 AM   #17
urikndla
LQ Newbie
 
Registered: May 2011
Location: Montblanc, Spain
Distribution: Ubuntu 10.10
Posts: 10

Original Poster
Rep: Reputation: Disabled
I was taking the wrong server address, I was taking the ip from eth0 instead of eth1. Once I changed that, check_nrpe start working also under xinetd and without -n flag.

Code:
/usr/local/nagios/libexec/check_nrpe -H 192.168.5.110
NRPE v2.12
Also nagios plugins are working perfectly.

Code:
/usr/local/nagios/libexec/check_nrpe -H 192.168.5.110 -c check_total_procs
PROCS CRITICAL: 38 processes
Thanks a lot for your time and patience MensaWater.
I hope this post could help someone in the future.

urikndla
 
1 members found this post helpful.
Old 05-31-2011, 11:48 AM   #18
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,043
Blog Entries: 14

Rep: Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213
Glad I could help.

If you don't mind can you go to Thread Tools at top of the thread and mark this Solved. That way anyone searching future will find it more quickly and perhaps save time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not connect to host 127.0.0.1 - connection refused adrian2009 Slackware 1 12-07-2010 07:53 AM
Sendmail connection refused by host cloudno9 Linux - Newbie 2 01-14-2010 03:21 AM
Nagios - Connection Refused by host jack.deselms Linux - Newbie 6 01-05-2010 09:12 AM
NFS problem - connection refused from distant host Agrouf Linux - Networking 4 10-17-2005 03:24 PM
Router connection refused Remphor Linux - Wireless Networking 2 08-02-2005 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration