LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-04-2010, 03:59 PM   #1
naw_deepak
Member
 
Registered: Aug 2008
Posts: 35

Rep: Reputation: 15
Nagios problem


Hi All,

I have configured a Nagios server which is working well with all king of clients. But when I added a new windows machine to monitor, it gives a error message "connection refused". I have set everything as prior machines.

Now, I just wanted to know the process by which we can check if server is able to communicate with the client's NSclient daemon. In Linux, we simply issue "./check_nrpe -H hostname" and if ok, it gives the NRPE version which indicates the status ok.

Thanks,
Deepak
 
Old 05-04-2010, 04:28 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I'm not familiar with Nagios, but Connection Refused suggests that at the basic network level you are not connecting, so either nothing is listening on that port, or it is being blocked. run "netstat -plunt" to see what's listening on your server (i wouldn't know which port specifically to check for, as i've not used it) If something is listening, check "iptables -L -n -v" for anything blocking it, and if there's still no joy, run a tcpdump on that server interface to watch for connection attempts from the source IP in question.
 
Old 05-04-2010, 04:36 PM   #3
Blue_Ice
Member
 
Registered: Jul 2006
Location: Belgium
Distribution: Debian, Fedora, CentOS, Windows
Posts: 361

Rep: Reputation: Disabled
NRPE runs by default on port 5666/tcp.
 
Old 05-04-2010, 06:58 PM   #4
naw_deepak
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
The above command works. I mean:

Quote:
#./check_nrpe -H windowsIP
I (0.3.7.493 2009-10-12) seem to be doing fine...

Actually, there was some problem with configuration. Thanks for responding me so quickly.

Thanks,
Deepak
 
  


Reply



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
LXer: Nagios and Oreon (Nagios web front end) installation and Configuration LXer Syndicated Linux News 1 05-31-2016 07:26 AM
Nagios 3.1.2 + RHEL 5.3 You don't have permission to access /nagios/ on this server psix Linux - Server 13 08-04-2015 02:25 AM
cannot find Nagios web interface (Nagios 3.2.0) and O/S = Fedora 10 gutiojj Linux - Newbie 7 02-04-2010 08:55 AM
Nagios Daemon, PID not found but rc.nagios runs agentc0re Slackware 1 07-03-2007 02:47 PM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:31 PM.

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
Open Source Consulting | Domain Registration