When you say "if the plugin directory is in-correct" do you mean on the Nagios server or on the remote host? Please don't fill out this field. Connect with top rated Experts 18 Experts available now in Live! Alternatively, put the NagiosServerIP Check that the firewall isn't blocking your checks. check over here
after the command has run with: echo $? Beyond that, you're going to have to provide more specific information about the plugin, OS, etc. -- Marc Thread view [Nagios-users] (Return code of 255 is out of bounds) From: akp I'm forcing an immediate check of the service.  Warning: The results of service 'mem-freepct' on host 'xxxxxxxx' are stale by 0d 0h 0m 36s (threshold=0d 0h 35m 0s). Does Ohm's law hold in space?
Announcement Collapse No announcement yet. No, thanks MenuExperts Exchange Browse BackBrowse Topics Open Questions Open Projects Solutions Members Articles Videos Courses Contribute Products BackProducts Gigs Live Courses Vendor Services Groups Careers Store Headlines Website Testing Ask After a certain interval, Nagios notices that it has no recent data for the host, and tries to initiate a check. Any suggestions for a new writer?
Two things you need to check: Check that the server doing the checks has permission to access the client it is testing In this case, localhost is the server (& the Does debug mode for NRPE provide anything interesting? Does the plugin/script/whateveritis rely on external programs that rely on environment variables or $PATH that might not exist or be what you expect? Check_nrpe: Error Receiving Data From Daemon. Coprimes up to N Iteration can replace Recursion?
current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Nagios Check_nrpe Error Could Not Complete Ssl Handshake Word that means "to fill the air with a bad smell"? Did Mad-Eye Moody actually die? Updated over 1 year ago.
The plugin establishes an SSH connection using parameters specified in the sshperf config file (eg, /usr/local/nagios/etc/sshperf/xxxxxx01.cfg), and then runs a sequence of commands (uptime, df, vmstat, etc). https://sourceforge.net/p/nagios/mailman/message/23597276/ If you are using a check command which returns multi-line output you must use a recent version of nrpe that also supports multi-line output otherwise the check_nrpe script will not be Nagios Warning Return Code Of 255 For Check Of Service OK - load average: 1.56, 1.37, 1.29 CRITICAL - load average: 16.59, 19.41, 21.96 If NRPE were to return something like this: FOO: bar You're going to get a 'NRPE: Unable Check_by_ssh Return Code Of 255 Is Out Of Bounds I'm forcing an immediate check of the service.  Warning: The results of service 'swap-freepct' on host 'xxxxxxxx' are stale by 0d 0h 0m 36s (threshold=0d 0h 35m 0s).
Look at all the entries with messages like "Passive check result was received for host 'xxxxc5', but the host could not be found!". http://twaproductions.com/return-code/nagios-plugin-return-code-of-255-is-out-of-bounds.html I had to turn on debugging to find out, which checks were to blame. Does the plugin/ script/whateveritis rely on environment variables or $PATH that likely do not exist when run by NRPE? yields a 0, meaning OK/success. Nrpe.cfg File Location
I have been trying hard on this .. I am having my HP-UX guy fix the problem &I am monitoring to see if this resolves the issue. Using SSH to do this. this content I'm forcing an immediate check of the service.  Warning: Return code of 255 for check of service 'disk-usedpct-/pice/prdmisc' on host 'xxxxxxxx' was out of bounds.  SERVICE ALERT: xxxxxxxx;disk-usedpct-/pice/prdmisc;CRITICAL;HARD;1;(Return code
Cheng 3466 add a comment| up vote 0 down vote You should check that the nrpe client is accepting connections from the nagios server. Port 5666: Connection Refused Any ideas? 0 Comment Question by:someITGuy Facebook Twitter LinkedIn https://www.experts-exchange.com/questions/26697612/Nagios-Return-code-of-255-is-out-of-bounds-using-SSH.htmlcopy LVL 14 Best Solution byDeepak Kosaraju  Warning: The results of service 'load-5minave' on host 'xxxxxxxx' are stale by 0d 0h Powered by Redmine © 2006-2014 Jean-Philippe Lang
Critical: return code 255 is out of bounds Collapse X Collapse Posts Latest Activity Search Page of 1 Filter Time All Time Today Last Week Last Month Show All Discussions only so the ssh command wasnâ€™t able to return the result from the Nagios Disk Check plugin. Can you please help regards Re: [Nagios-users] (Return code of 255 is out of bounds) From: Morris, Patrick
Delete new kernels /boot full Why didn't the Roman maniple make a comeback in the Renaissance? Log in to Nagios, navigate to the SSH service on xxxxxx01. I personally haven't done the plugin execution via ssh, but what I can recommend is refer to the PDF I attached for more help. have a peek at these guys If your NRPE is wrapped by the xinetd service, you need to add the nagios server to the only_from directive on the client conf file(/etc/xinetd.d/nrpe) only_from = 127.0.0.1 NagiosServerHostName NagiosServerHostName needs
Wincheck is connecting to the Nagios server every 5 minutes and attempting to submit data, but Nagios doesn't know what to do with that data. If you are experiencing a similar issue, please ask a related question Suggested Solutions Title # Comments Views Activity Cisco MAC address finding 5 58 56d Wireshark 7 65 59d parse How can I slow down rsync? Join Now For immediate help use Live now!
Join & Ask a Question Need Help in Real-Time?