Common check for multiple Hosts
Posted: Wed Jan 25, 2017 11:20 am
Hello,
I close to new with Nagios, and I m working on an nagios installed and configured by someone else before me.
My nagios looks like that. Each clients got his own folder in "object". Each folder come with his own configuration file like templates, linux server, windows servers, ups, printer....
Now I 'd like to create a pool of common services that can be reached automatically by each host added in the right .cfg file.
I've tried all day long, and the best way I've found is to use inheritance in each configs files. But I really want to to make this common pool more easier to use.
Something like that in fact : I add a new host in my Google/Google-linux.cfg, I eventually add this new host as members in my hostgroup and voilĂ , all common check are available for the new host.
I tomorrow, I need to add a new host in my Deb/deb-linux.cfg, common check will be applied automatically too.
Sorry for my bad English. I hope to be clear enough.
Thanks,
Vincent
I close to new with Nagios, and I m working on an nagios installed and configured by someone else before me.
My nagios looks like that. Each clients got his own folder in "object". Each folder come with his own configuration file like templates, linux server, windows servers, ups, printer....
Now I 'd like to create a pool of common services that can be reached automatically by each host added in the right .cfg file.
I've tried all day long, and the best way I've found is to use inheritance in each configs files. But I really want to to make this common pool more easier to use.
Something like that in fact : I add a new host in my Google/Google-linux.cfg, I eventually add this new host as members in my hostgroup and voilĂ , all common check are available for the new host.
I tomorrow, I need to add a new host in my Deb/deb-linux.cfg, common check will be applied automatically too.
Sorry for my bad English. I hope to be clear enough.
Thanks,
Vincent