LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-10-2012, 09:35 AM   #1
melborden
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Rep: Reputation: 0
service checks in nagios not working


I recently set up nagios on my Fedora 14 virtual box running Vplayer 4.0.3 and configured nagios to monitor another Fedora 14 host and the status indicates it is up, but all the service status details (c:\ drive space, CPU load, memory usage, etc) are displaying a critical error. The status information statest that there is a socket timeout after 10 seconds. Can anyone guide me in the right direction on this?
 
Old 06-11-2012, 03:37 AM   #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
c:\ space? on Linux?? Hmm??

How are you trying to connect from the server to the client? Nagios is, IMHO, utter junk, and you have to externally provide a network mechanism to transfer that data. By default, people use NPRE, but that sucks big time too. I'd suggest using the check_by_ssh (i think it's called that) method instead of check_nrpe as at least that way you're not opening up another massively insecure service to the network.

Note that you should be able to run 1) the check plugin ON the client, and then 2) the check plugin on the server via your remote plugin, and then only then 3) checking from Nagios. make sure things work in that order and troubleshoot appropriately at each level.
 
Old 06-11-2012, 11:35 AM   #3
melborden
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you for your response. will try what you suggest and let you know.
 
Old 06-11-2012, 12:03 PM   #4
melborden
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Whoa, Chris, I did not mention to you that the client is not Unix or Linux, but Windows 2008R2 64-bit. I installed nsclient on the box. I can see on the status that it is up and my Nagios box is successfully showing the periodic ping results. I believe the Windows configuration file looks good for each of the service configurations. Sorry I did not include this information earlier.

Mel
 
Old 06-12-2012, 01:34 AM   #5
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
you said you configured a FC14 server to monitoring another fc14 host...

anyway.... so can you run the check script for the windows checker from the server directly? Is there a firewall? can you telnet to whatever port it's listening on? (I recall it's something like 50000?)
 
Old 06-18-2012, 10:37 AM   #6
melborden
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry I haven't responded sooner. Will check what you suggested. Also researching a little bit on NPRE. I am a somewhat Linux newbie and some of the items are a bit unfamilliar to me.
 
Old 06-20-2012, 11:23 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
What's the value of "allowed_hosts=" in NSC.INI?
 
  


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
Nagios Web Interface does not notify when nagios service is killed! learnerAlways Linux - Newbie 1 11-04-2011 12:23 AM
Nagios service divyashree Linux - Server 7 10-18-2010 07:55 PM
LXer: Nagios Training: Passive Checks with NSCA LXer Syndicated Linux News 0 09-15-2009 04:50 PM
LXer: Custom checks and notifications for Nagios LXer Syndicated Linux News 0 09-12-2008 11:40 AM
LXer: Complex service checks with Nagios LXer Syndicated Linux News 0 04-06-2007 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:53 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