Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-09-2007, 11:49 PM   #1
LQ Newbie
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
Nagios--- NRPE

i am working on nagios and using Nrpe for my remote host now i am trying check_swap plugin

I am getting connection refused error in nagios web browser.

error:Connection refused by host and it is in critical state.


Last edited by unSpawn; 04-11-2007 at 02:16 AM. Reason: //Post question at LQ, get answer at LQ. Not something else.
Old 04-11-2007, 02:57 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,072
Blog Entries: 14

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
The most obvious thing to check would be to verify NRPE is actually running.

ps -ef |grep nrpe

If it is then run "lsof -p <pid of nrpe>" to see what port it is LISTENing on. The default port is 5666. (You could run lsof -i: 5666 to verify it is running if you didn't change port.)

If it is up and running then issue is likely firewall of some sort.
Check to see if iptables and/or SELinux is running on the Nagios host or the NRPE host.

If SELinux is running I'd suggest you disable it as it hard to configure so that is what most people do.

For iptables you can temporarily turn off iptables. If it works with iptables off then you know iptables is the problem.

Of course it may be a physical firewall/router between your Nagios host and your NRPE host. If so you need to look at opening it up for the port you're using.


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
Nagios Addon NRPE didnt start? dwarf007 Linux - Software 3 04-27-2011 02:38 AM
Nagios/nrpe: SSL Issues Killbot_5000 Linux - Security 18 09-21-2010 06:27 PM
Nagios - nrpe plugin configuration nitin-saxena Linux - Software 1 10-27-2006 02:50 PM
Nagios/NRPE issue JF1980 Linux - Security 1 05-18-2006 03:59 PM
Nagios NRPE twantrd Linux - Software 1 10-20-2004 09:24 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:44 AM.

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