thx again Monday, June 11, 2012 Anonymous said... I have tested making changes to other NRPE command names to confirm that my config updates and restarts are in fact potent just to eliminate complete bone-headed-ness and I have proved The permissions of check_mountpoints.sh had to be changed to 755. That was the problem.
up vote 2 down vote favorite I have a working Nagios setup where I e.g. Validate Random Die Tippers How would people living in eternal day learn that stars exist? For the given server I can change it, but what would be better would be to just configure the nrpe instance to log debug output to another log file. linux nagios nrpe share|improve this question asked May 23 '11 at 16:38 Antonio 48521027 2 One of the best things to try first is to run check_nrpe -H hostname to
This is unnecessary (and would have spared you this trouble). I run in on solaris in debug mode and I get gobs of wonderful > debug logging, but for CentOS I get bupkiss. Please don't fill out this field. Nrpe Sudo Update check to explicitly set HOME in the environment and restart nrpe: command[check_ui_s3_backup]=HOME=~nagios /usr/lib/nagios/plugins/herbie/check_ui_s3_backupRestart nrpe: [[email protected]]% sudo service nagios-nrpe-server restart * Stopping nagios-nrpe nagios-nrpe ...done. * Starting nagios-nrpe nagios-nrpe ...done.Check: [[email protected]]%
How to use LINQ to find a sum? Test Nrpe Command Line Is this sentence 'I know him a teacher.' acceptable? Writing a recommendation letter for a student I reported for academic dishonesty What does HR do for me? http://serverfault.com/questions/596614/nagios-nrpe-unable-to-read-output I wasn't sure it would work, but I put 2>&1 on the end of my command (in nrpe.d/command.cfg) and started getting output when I ran check_nrpe from the nagios server.After that,
Verify that the command definition in your NRPE configuration file is correct. – The plugin that is specified in the command line is malfunctioning. Nrpe Unable To Read Output Nagios Followers Tags perl iron man (66) modern perl (49) perl (46) perl mongers (41) social coding (41) cpan (27) perl 5 (22) perl5 (22) git (18) hadoop (13) management (13) vim We were about to confirm our suspicions. share|improve this answer edited May 20 '14 at 21:09 answered May 19 '14 at 17:00 Keith 3,591819 I have Defaults:nrpe !requiretty inside of my /etc/sudoers file. –alexus May 19
Not the answer you're looking for? https://sourceforge.net/p/nagios/mailman/message/23527092/ Surprise, nothing useful. Return Code: 1, Output: Nrpe: Unable To Read Output Browse other questions tagged sudo nagios or ask your own question. Nrpe Unable To Read Output Centos Help, my office wants infinite branch merges as policy; what other options do we have?
What is the difference between perspective distortion and barrel or pincushion distortion? this contact form STDERR seems to be ignored, even with logging enabled. For this to work, you need to add # the nagios user to your /etc/sudoers. Is that possible? Return Code: 3, Output: Nrpe: Unable To Read Output
I.E. Does it require HOME to be set? Run strace -f -p
Normally I find my issue in step 1 of the debug escalation. Nrpe Unable To Read Output Check_disk This explains why the errors go away after nrpe is restarted. Do (did) powered airplanes exist where pilots are not in a seated position?
before I changed nrpe back to /sbin/nologinAny ideas are most welcome =) Top TrevorH Forum Moderator Posts: 17524 Joined: 2009/09/24 10:40:56 Location: Brighton, UK Re: (nagios) NRPE daemon : Unable to We found a solution: a full path to sudo. May 7 19:08:29 ip-10-7-202-92 nrpe: Host is asking for command 'check_ui_s3_backup' to be run... Nrpe Sudo Unable To Read Output Not all my posts there are FreeBSD related.
I create two new nrpe entries and restart nagios-nrpe-server. monitor disk usage through the NRPE daemon without parsing arguments through NRPE for security reasons. Once the migration is completed, I'll move the FreeBSD posts into the new FreeBSD Diary website. Check This Out How to make a shell read the whole script before executing it?
Word for including by exclusion Would society of simultaneous hermaphrodites have gender roles? Only a handful of checks need sudo/root. –Keith May 20 '14 at 21:09 @Keith I use sudo for all nagios's nrpe calls (per company policy), as it allows to This is how our production > environment is setup, on purpose. In 4/4 time can I insert a half sized bar in the middle of the piece?
Any suggestions appreciated! What encryption should I use: Blowfish, Twofish, or Threefish? Sign up for the SourceForge newsletter: I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. Lotta strands in old Duder's head.
What are those "sticks" on Jyn Erso's back? Can a mathematician review my t-shirt design? If you are unable to change syslog.conf to log daemon.debug to a file, perhaps you can edit src/nrpe.c, looking for lines like syslog(LOG_DEBUG,"some text")' and change LOG_DEBUG to a facility that