Host Detail Page - High CPU usage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Host Detail Page - High CPU usage

Post by TBT »

tgriep wrote:Do you have any custom column components installed on this system that displays extra columns on the host details page?
Do you have any host checks that are returning a massive amount of data?
Yes, good call, totally slipped my mind! We have a custom column component based on "Custom Column Component by Mike Guthrie". It basically displays the "Alias" for each Host in a column.

Removing custom column component the page loads in 2 seconds. It has been a couple of years, is there a better way to display the alias field?

Original code from 2012: https://exchange.nagios.org/directory/A ... nt/details
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Host Detail Page - High CPU usage

Post by tgriep »

I did a search of the Exchange site and that seems to be the only component that does that, unless I missed it in the search.
Be sure to check out our Knowledgebase for helpful articles and solutions!
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Host Detail Page - High CPU usage

Post by TBT »

tgriep wrote:I did a search of the Exchange site and that seems to be the only component that does that, unless I missed it in the search.
Perhaps Mikes code could use some optimization to better run with the current version of XI?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Host Detail Page - High CPU usage

Post by jomann »

It could probably use some optimization. Is it required that the alias be in it's own column? In XI 5 we have settings in the user profile to enable showing host/service details which will display the alias next to the host name / service description in parenthesis.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host Detail Page - High CPU usage

Post by scottwilkerson »

TBT, if you send me your current customcolumn component, I'm sure I can make it much faster to just display the alias and send it right back...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Host Detail Page - High CPU usage

Post by TBT »

jomann wrote:It could probably use some optimization. Is it required that the alias be in it's own column? In XI 5 we have settings in the user profile to enable showing host/service details which will display the alias next to the host name / service description in parenthesis.
@jomann What is XI 5? This option is under edit user? Also, can you provide a screenshot demonstrating how it displays?

@scott We've sent you the component code.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host Detail Page - High CPU usage

Post by scottwilkerson »

@TBT - XI 5 is the next major version of Nagios XI coming out... Due out in a few months.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Host Detail Page - High CPU usage

Post by TBT »

Issue resolved thanks to Scott modifying our custom component code.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Host Detail Page - High CPU usage

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked