Page 1 of 1

Parents, hostgroups, better notifications, consistent checks

Posted: Wed Mar 24, 2021 9:48 pm
by pspagnola
Multiple questions:

1) I want to get less alerts when something major goes down and everything becomes unreachable. Using parent relationships is for this, right? Best way to convert from no parents anywhere to having parents defined? Bulk modification tool?

If Nagios server cannot reach anything outbound from itself can defining parents help with this issue?

2) Can I define parent relationships using groups? Example would be host group "virtual machines" has parent "ESX1". I tried this poorly in the past and all notification stopped 100% of the time. boss was not happy.

3) I do not have my windows servers being checked in the same way consistently. How can I use hostgroups or service groups to check all my windows servers using WMI? I have setup WMI using the wizard on a few windows servers.

4) I've noticed that WMI checks on Windows server via WMI wizard do not show the network adapter. What is the best solution to include network adapter? Is this improved in Nagios XI 5.7 or 5.8?

Re: Parents, hostgroups, better notifications, consistent ch

Posted: Thu Mar 25, 2021 5:07 pm
by benjaminsmith
Hi @pspagnola,

Here are the answers to your questions. Just let me know if you need clarification on anything.

1. There are a couple of options to help here using either parent-child relationships or service dependencies. Yes, you can set parent/child relationships using the Bulk Mods tool. If Nagios cannot reach anything, that is an unusual case, but you could make the other host objects and child of the router or key device that would be responsible for that type of failure.

Another option to reduce unwanted notifications is to disable service checks when the host is down. There's a global configuration or that.

See: Nagios XI - Service Dependencies

2. That's currently not supported in the Core Config Manager.

3. You can use the Bulk Cloning and Import Wizard to copy those checks over to the other hosts.

See: https://assets.nagios.com/downloads/nag ... Wizard.pdf

4. That's not included in the Configuration Wizard, but it uses the following plugin.
https://edcint.co.nz/checkwmiplus/faq/c ... and-lines/

Try running the example command for the interface from the command line and let me know works. The documentation says it may not be valid for some systems.

Code: Select all

check_wmi_plus.pl -H HOST -u USER -p PASS -m checknetwork -a LAN0
Another option would be to switch the Windows monitoring over to NCPA.

Regards,
Benjamin

Re: Parents, hostgroups, better notifications, consistent ch

Posted: Wed Mar 31, 2021 3:12 pm
by pspagnola
I do have a network adapter WMI check working on one windows host after reading the WMI plugin docs. It I did this a while back. My question is not can WMI monitor the network adapter, but why does the WMI wizard not assist the user in monitoring network adapter via WMI?

Re: Parents, hostgroups, better notifications, consistent ch

Posted: Thu Apr 01, 2021 10:23 am
by benjaminsmith
Hi @pspagnola,

I'd be happy to submit a feature request on your behalf for that option. At the time it was created, this was not included in the Config Wizard.

Best Regards,
Benjamin

Re: Parents, hostgroups, better notifications, consistent ch

Posted: Fri Apr 16, 2021 4:01 pm
by pspagnola
Please do submit the feature request for NIC monitoring in the WMI wizard. Thank you.

Re: Parents, hostgroups, better notifications, consistent ch

Posted: Fri Apr 16, 2021 4:10 pm
by benjaminsmith
Hi,
Please do submit the feature request for NIC monitoring in the WMI wizard. Thank you.
Will do. Thank you for your feedback.