Page 1 of 1

check_hostgroup command

Posted: Mon Jan 06, 2025 8:24 am
by ttsvetanov
Hello, everyone!

I’d like to share a Nagios plugin I created for monitoring hostgroups. This plugin enables precise monitoring by checking the percentage of hosts in a DOWN state within a hostgroup.

This plugin is very useful when working with a host group containing many devices. If notifications are temporarily disabled to avoid spam caused by frequent status changes (e.g., when a client turns off their devices at night), the plugin allows you to receive a notification in case of a serious issue. For instance, in the event of a central failure causing a large number of devices to go offline, you will be alerted when too many of them transition to offline mode. Personally, I have configured critical situations to forward notifications directly to Telegram.

You can download it and check more info here:
https://github.com/ttsvetanov92/Nagios- ... _hostgroup

Re: check_hostgroup command

Posted: Mon Jan 06, 2025 11:08 am
by danderson
This looks awesome! Thank you

Re: check_hostgroup command

Posted: Mon Jan 06, 2025 12:14 pm
by bbahn
@ttsvetanov,

If you submit this to exchange.nagios.org, it can be more easily viewed and referenced. Thank you for making this plugin!

Re: check_hostgroup command

Posted: Wed Feb 19, 2025 2:30 am
by ttsvetanov