Hi I have a custom host variable define likes this: 

_blah "one two

three four" a b c d

I want to use this custom variable in a command to

execute like this: 

define command{ 

command_name

check_linux_nrpe_all_disks 

command_line /bin/echo $_HOSTBLAH$ >

/tmp/fubar.txt 

}  

In /tmp/fubar.txt I have this line of text without

the quotes:

one two three fou a b c d

How can I keep the quotes? They can

be single or double quotes it doesn't matter.

-- 
Jelle

Smet
http://www.smetj.net
 
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
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

Reply via email to