check_hostgroup command

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.
Post Reply
ttsvetanov
Posts: 15
Joined: Tue Jun 26, 2018 8:46 am

check_hostgroup command

Post 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
danderson

Re: check_hostgroup command

Post by danderson »

This looks awesome! Thank you
bbahn
Posts: 380
Joined: Thu Jan 12, 2023 5:42 pm

Re: check_hostgroup command

Post 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!
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
ttsvetanov
Posts: 15
Joined: Tue Jun 26, 2018 8:46 am

Re: check_hostgroup command

Post by ttsvetanov »

Post Reply