Resetting variable to empty after template sets it

Kelly Jones kelly.terry.jones at gmail.com
Wed Sep 5 03:49:53 CEST 2007


I have a template "foo" that says, in part, "parents bar".

If I want to use this template for a specific host, but change the
parents to "ding", that's easy:

use foo
parents ding

But how do I set parents back to the empty value (ie, the default
value you get if you don't set parents at all). I tried:

parents ""

and several variations, but this didn't work.

I realize I could just avoid using the template for that host, but
that seems ugly.

Right now, I'm overriding with "parents localhost", but that makes my
2-D graph look weird.

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list