Syntax question for NSClient / NRPE

Trying to monitor a windows host.

object CheckCommand "check_win_disk_free" {
        import "nrpe"
        vars.nrpe_command = "CheckDriveSize"
        vars.nrpe_no_ssl = true
        vars.nrpe_arguments =  "CheckAll=5 MinWarnFree=10 MinCritFree=3 FilterType=FIXED"

is putting out

'/usr/lib64/nagios/plugins/check_nrpe' '-H' '' '-c' 'CheckDriveSize' '-n' '-a' 'CheckAll=5 MinWarnFree=10 MinCritFree=3 FilterType=FIXED'

I am looking to get something like

/usr/lib64/nagios/plugins/check_nrpe' '-H' '' -c CheckDriveSize -n -a -t 120 -a CheckAll=5 MinWarnFree=10 MinCritFree=3 FilterType=FIXED

Obviously new at this, but the docs are sending me into a bit of a trial and error loop i can’t break from. And I’m sorry but I cannot use the director as my org will not endorse it. I must keep this as close to Nagios as possible or they will scrap it.

Thanks for any help.

Hi @jlombardo

use an array instead of a string for vars.nrpe_arguments like this:

vars.nrpe_arguments = [ "CheckAll=5", "MinWarnFree=10" ]