Hi Michel, hi Gerhard! :-) Gerhard wrote: >> please login at miysis as the user, who runs the nrpe daemon. >> >> call "sudo /sbin/hpasmcli -s help" >> Does this work without password? >> >> call /usr/local/nagios/libexec/check_hpasm -v >> What's the output? >> >> If it works so far, >> logout and login at your Nagios server. >> >> call "check_nrpe -t 60 -H miysis -c check_hpasm" >> What's the output?
PO Michel wrote: > The first command works but the second returns : > > NRPE: Unable to read output > > My nrpe.conf file looks like the following : > > server_port=5666 > server_address=10.1.10.233 > nrpe_user=nagios > nrpe_group=nagios > #allowed_hosts=127.0.0.1 10.1.10.233 > dont_blame_nrpe=1 > #command_prefix=/usr/bin/sudo > > NRPE runs under xinetd on my Nagios server. Michel, i think you misunderstood Gerhard. It's important to try to analyze the problem step by step, so please do exactly what is described. You tried to execute the command via NRPE, instead, you should have executed it manually on the console. Please logon to the corresponding machine, do a "su - nagios", execute the commands as decribed on top and post the reply to keep this thing going, ok? :-) Regards, Marcus Fleige ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null