Using nrpe
Jeff Lane
crash at pinehurst.net
Thu Apr 3 21:39:25 CEST 2003
Hey all,
this is again kinda basic, but I am having trouble getting nrpe to work
properly... I keep getting the following error:
Info: Incorrect command line arguments supplied
for all the remote monitoring stuff I am trying on my test machine...
I have followed the instructions that come with nrpe, but still have not
gotten them to work properly.
Heres what I have done:
on the remote machine,
installed nrpe daemon in /usr/local/nagios/bin
installed nrpe.cfg in /usr/local/nagios/etc
installed the check_users check_disk and check_procs plugins in
/usr/local/nagios/libexec
edited nrpe.cfg appropriately
put the nrpe.xinetd file in /etc/xinetd.d and edited that with username,
group name, ips to allow
restarted xinetd to include nrpe
Oh local machine:
edited services.cfg to use the following command:
command_name check_nrpe!check_disk1
edited checkcommands.cfg and added this:
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c
}
restarted nagios and I keep getting the incorrect command line stuff...
I have followed the README and such that came with nrpe, and as far as I
know, I did everything correctly, but apparently I have missed something
or done something wrong...
Maybe someone could point out what I am missing???
Thanks
Jeff
--
Jeffrey Lane
ConnectNC.com / Internet of the Sandhills
W4KDH at arrl.net
chown -r us:us /yourbase/
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list