-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Same server in Multiple group #8
Comments
Any update on this ? |
The way this is templated you should be adding a server (or device) only to one type of hostgroup or as it parses the inventory file - one group only that matches the purpose. For example a generic Linux server should only be added to the
Don't put it in other categories as Ansible will pick the first occurrence of it due to how it's written and parsed by nagios. If this server is also a webserver then just place it in the
If you have a generic switch that needs checks for ssh, ping
If you have a generic out-of-band interface that needs ssh, ping, http checks
Note: You only need to specify the IP address via |
Closing this now, I hope this answers your query. If not please re-open. |
Hi,
I downloaded this module, but I have one query. If i add same server in multiple groups it should be run.
For eg I added one server [10.1.2.86] in [switches][webservers] [servers] Group. I am thinking that it would use the checks that we have mentioned in [switches][webservers] [servers] i.e. in Nagios My server will be like this :- 10.1.2.86 : [switches] :- All Checks
[webservers] All Checks
[servers] All Checks
How can it be done ? Can you please give any suggestion ?
The text was updated successfully, but these errors were encountered: