Page 1 of 1
Maybe New feature - Custom Object Variable in HOSTGROUP
Posted: Fri Jun 27, 2014 10:58 am
by mcortinas
Hello,
After read the document:
http://nagios.sourceforge.net/docs/3_0/ ... tvars.html
I think it could be so usefull add custom object variables in the houstgroup definition.
King regards,
Marc
Re: Maybe New feature - Custom Object Variable in HOSTGROUP
Posted: Fri Jun 27, 2014 12:50 pm
by lmiltchev
Marc,
What do you think the most useful cases would be? Examples?
Re: Maybe New feature - Custom Object Variable in HOSTGROUP
Posted: Fri Jun 27, 2014 2:30 pm
by mcortinas
Hi,
The same scenarios for a single host but for a several hosts.
Today I had to define the same custom variable for 300 host, all these hosts are in a uniq host group.
If you want i can explain you with more details.
Best,
Marc
Re: Maybe New feature - Custom Object Variable in HOSTGROUP
Posted: Mon Jun 30, 2014 11:08 am
by tmcdonald
mcortinas wrote:Today I had to define the same custom variable for 300 host, all these hosts are in a uniq host group.
This is a situation where a template would be the proper usage. Host and service groups are more for organization than configuration of specific config options.
Re: Maybe New feature - Custom Object Variable in HOSTGROUP
Posted: Wed Jul 09, 2014 9:16 am
by mcortinas
Yes, exactly, i'm going to use templates instead of my first workaround.
Thank you!
Re: Maybe New feature - Custom Object Variable in HOSTGROUP
Posted: Wed Jul 09, 2014 9:27 am
by tmcdonald
I'll be closing this thread now, but feel free to open another if you need anything in the future!