Nrpe with remote command options

hi,
I’m running nrpe successfully from my nagios server. I’m wondering if anyone could clear something up…
How do I run a remote command with it’s options…for example

check_nrpe -H 192.168.15.213 -c check_users
Works fine…
check_nrpe -H 192.168.15.213 -c check_disk -x /dev/sda1
gives invalid option…

I can see why because it’s being interpreted as an option to check_nrpe and not the command after the “-c”…I’m sure someone has a quick fix for this…I couldn’t find anything specific when searching…
Thanks!!

Define the command on the remote box like
check_disk_sda1
and one for
check_disk_sda1
each definition will contain the proper switches. On the central server you would simply define
heck_nrpe -H 192.168.15.213 -c check_disk_sda1
heck_nrpe -H 192.168.15.213 -c check_disk_sda2

on the central server how would I enter the check_command

check_nrpe -H 192.168.15.213 -c check_load
returns an error when restarting nagios…
I’m assuming it has to be formatted like the others for example

check_command check_ping!100.0,20%!500.0,60%

Ok I got it…
on the Nagios server the check_command should be formatted at so:
check_command check_nrpe!check_load

and it works…
Thanks buddy!!!