best practice with templates and inheritance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
pspagnola
Posts: 51
Joined: Thu Nov 21, 2019 4:40 pm

Re: best practice with templates and inheritance

Post by pspagnola »

this is all great info. thank you! I am going to go check the exchange for the object viewer.

I may have already asked this, but: How do you guys typically attach templates for different alerting on different groups?

If I have 9 hosts: 3 critical, 3 normal, and 3 non-production.
recipients want email and SMS for critical hosts.
recipients want email only for normal hosts.
recipients want email only when down over 2 hours for non-production hosts.

would I use escalation rules, or host groups with different templates attached, or bulk modify 3 hosts at a time to attach different templates?
Nagios v5.6.12 ~200 hosts 500+ services.
pspagnola
Posts: 51
Joined: Thu Nov 21, 2019 4:40 pm

Re: best practice with templates and inheritance

Post by pspagnola »

I installed and uninstalled the "View object configuration" component. It caused the host info page not to load for any hosts, main XI GUI not CCM GUI.
Nagios v5.6.12 ~200 hosts 500+ services.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: best practice with templates and inheritance

Post by benjaminsmith »

Hello,

Are you getting any error messages or just nothing showing? As far as I can tell, the component is just parsing the status data provided by core and should not break your system.

What does the database log look like?

Code: Select all

tail -n 25 /var/log/mariadb/mariadb.log
Also, tail the Apache log while you load the page and post the results. Thanks

Code: Select all

tail -f /var/log/httpd/*error.log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked