<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p>
Quoting Jonathan Angliss <jon@netdork.net>:<br />
<br />
> On 05/20/11 22:11, Terry Carmen wrote:<br />
>> Quoting Jonathan Angliss <jon@netdork.net>:<br />
>><br />
>><br />
>><br />
>> > That's not to say you won't see it defined in a service, but less likely<br />
>> > than a command. What made you think $HOSTNAME$ was valid there? If it<br />
>> > was valid, what value should it take? What are you trying to achieve?<br />
>><br />
>> I would like to define it in the "define host" section as below, and<br />
>> have it expanded in the "define service" section right below it (in the<br />
>> same file).<br />
><br />
> Nagios has no concept of what is in each file. It simply reads them<br />
> all, then parses the collective, rather than individually.<br />
<br />
OK, that explains it.<br />
<br />
Thanks!<br />
<br />
Terry<br />
<br />
</p>
</body>
</html>