<p><strong>Free variables (custom object variables)<br></strong></p>
<p>NagiosQL supports custom object variables.</p>
<p>There are a few important things that you should note about custom variables:</p>
<ul>
<li>Custom variable names must begin with an underscore (_) to prevent name collision with standard variables </li>
<li>Custom variable names are case-insensitive </li>
<li>Custom variables are inherited from object templates like normal variables </li>
<li>Scripts can reference custom variable values with macros and environment variables </li>
</ul>
<p><em>Examples</em></p>
<p><span style="font-family: courier new,courier;">define host{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host_name	linuxserver<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _mac_address	00:06:5B:A6:AD:AA	; &lt;-- Custom MAC_ADDRESS variable<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _rack_number	R32		; &lt;-- Custom RACK_NUMBER variable<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>}</span></p>