LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-13-2013, 03:29 AM   #1
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Rep: Reputation: 30
Nagios NRPE DISK CRITICAL - is not accessible: No such file or directory


Hi there - I'm trying to setup my Nagios to monitor via nrpe in my remote linux machine.

Here's my nagios service definition:
define service{
use local-service ; Name of service template to use
host_name remotelinux
service_description sd1 status
check_command check_nrpe!check_sd1
}

Here's my nrpe command definition:
command[check_sd1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/sd1

Error I'm getting in Nagios portal:
CHECK_NRPE: Error - Could not complete SSL handshake.

Please advise.
Cheers - DB
 
Old 01-13-2013, 09:38 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
A quick google search shows that you have to set the IP of the Nagios server connecting to nrpe by modifying the "allowed_hosts" section of nrpe.cfg. Have you done that? If so, what does dmesg say? Have you tried running the nrpe check command from the terminal directly?

Code:
/usr/local/nagios/libexec/check_nrpe -H remotehostIP
There's a sample for how you could do it.
 
  


Reply

Tags
nagios, nrpe



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Nagios/NRPE jrb328 Linux - Software 3 05-30-2012 08:57 AM
nagios configuration with NRPE aocferreira Linux - Networking 2 05-24-2011 08:45 AM
Installing Nagios agent nrpe, problems following nrpe install steps rfreiberger Linux - Newbie 3 04-19-2010 08:43 AM
Nagios--- NRPE lazylark Linux - Software 1 04-11-2007 01:57 PM
Nagios NRPE twantrd Linux - Software 1 10-20-2004 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:50 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
Open Source Consulting | Domain Registration