Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-13-2013, 03:29 AM   #1
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
Senior Member
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,850
Blog Entries: 36

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
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?

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


nagios, nrpe

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 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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:45 PM.

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