Page 4 of 4

Re: Host Detail Page - High CPU usage

Posted: Thu Jul 30, 2015 7:55 am
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

Re: Host Detail Page - High CPU usage

Posted: Thu Jul 30, 2015 9:30 am
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.

Re: Host Detail Page - High CPU usage

Posted: Thu Jul 30, 2015 9:43 am
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?

Re: Host Detail Page - High CPU usage

Posted: Thu Jul 30, 2015 10:29 am
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.

Re: Host Detail Page - High CPU usage

Posted: Thu Jul 30, 2015 11:05 am
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...

Re: Host Detail Page - High CPU usage

Posted: Thu Jul 30, 2015 12:08 pm
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.

Re: Host Detail Page - High CPU usage

Posted: Thu Jul 30, 2015 1:22 pm
by scottwilkerson
@TBT - XI 5 is the next major version of Nagios XI coming out... Due out in a few months.

Re: Host Detail Page - High CPU usage

Posted: Thu Jul 30, 2015 1:26 pm
by TBT
Issue resolved thanks to Scott modifying our custom component code.

Re: Host Detail Page - High CPU usage

Posted: Thu Jul 30, 2015 1:59 pm
by tmcdonald
I'll be closing this thread now, but feel free to open another if you need anything in the future!