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, 04: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, 10:38 PM   #2
Senior Member
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,657
Blog Entries: 36

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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 09:57 AM
nagios configuration with NRPE aocferreira Linux - Networking 2 05-24-2011 09:45 AM
Installing Nagios agent nrpe, problems following nrpe install steps rfreiberger Linux - Newbie 3 04-19-2010 09:43 AM
Nagios--- NRPE lazylark Linux - Software 1 04-11-2007 02:57 PM
Nagios NRPE twantrd Linux - Software 1 10-20-2004 09:24 AM

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