Home » Categories » Products » Nagios XI » Documentation » Best Practices

Nagios XI - Groups

Overview

This guide on Best Practices is about host and contact groups and what you should take into consideration when designing your monitoring deployment.

 

Use Hostgroups

Using hostgroups in your service definitions is one of the most powerful features of Nagios.

Common services generally have the same threshold for all hosts. Instead creating individual services for each host you monitor, a service can be assigned to multiple hosts using a hostgroup. What this means is that you only need to have the service defined once, and when you want to tweak the thresholds, you only need to change it in one location and all hosts will receive the updated thresholds.

If you have a host group called windows_servers, whenever you add a new windows server it’s just a matter of adding that server to the hostgroup and that host gets that bunch of common checks. This is great for consistent monitoring, it ensures standards get applied and reduces management overhead.

 

Use Contactgroups

One of the most common support questions we get asked is how to add or remove a contact to or from a bunch of objects? If you don’t have the enterprise edition license then you don’t get access to the bulk modification tool that allows you to do this.

However just changing just the contacts can lead to human error. It’s very easy to make mistakes and before you know it a notification was not sent to the correct people.

Using a contact group is a much better method. It’s so much easier to go in and add or remove a contact from a contactgroup and instantly all the objects that use this group will be updated. Even if there is only one member to a contact group it still makes administration so much easier.

If you’ve not activated the trial of enterprise edition, this is a great way make use of the bulk modification tool to implement contactgroups and remove the individual contacts. Once your standard is in place, administration will be so much easier.

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

1.67 (3)
Article Rating (3 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Check Interval Considerations
Viewed 2117 times since Tue, May 3, 2016
Nagios XI - Configuration Wizards and Templates
Viewed 3675 times since Tue, May 3, 2016
Nagios XI - Service Dependencies
Viewed 3258 times since Tue, May 3, 2016
Nagios XI - Best Practices for Managing Configs
Viewed 2914 times since Wed, Jul 19, 2017
Nagios XI - Macros and Custom Object Variables
Viewed 1919 times since Tue, May 3, 2016
Nagios XI - MRTG Clean Configs
Viewed 2184 times since Tue, May 3, 2016
Nagios XI - What Is Monitoring XI ?
Viewed 1229 times since Mon, May 2, 2016
Nagios XI - Monitoring the Nagios XI "localhost"
Viewed 1912 times since Mon, May 2, 2016
Nagios XI - XI Server Considerations
Viewed 2111 times since Mon, May 2, 2016