Maybe New feature - Custom Object Variable in HOSTGROUP

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mcortinas
Posts: 3
Joined: Fri Jun 27, 2014 10:41 am

Maybe New feature - Custom Object Variable in HOSTGROUP

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Maybe New feature - Custom Object Variable in HOSTGROUP

Post by lmiltchev »

Marc,
What do you think the most useful cases would be? Examples?
Be sure to check out our Knowledgebase for helpful articles and solutions!
mcortinas
Posts: 3
Joined: Fri Jun 27, 2014 10:41 am

Re: Maybe New feature - Custom Object Variable in HOSTGROUP

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Maybe New feature - Custom Object Variable in HOSTGROUP

Post 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.
Former Nagios employee
mcortinas
Posts: 3
Joined: Fri Jun 27, 2014 10:41 am

Re: Maybe New feature - Custom Object Variable in HOSTGROUP

Post by mcortinas »

Yes, exactly, i'm going to use templates instead of my first workaround.
Thank you!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Maybe New feature - Custom Object Variable in HOSTGROUP

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked