Custom component (custom column) support

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
all.so.gft
Posts: 9
Joined: Mon Dec 31, 2012 5:26 am

Custom component (custom column) support

Post by all.so.gft »

We're creating custom component (using your documentation) to add custom column that we using to escalate critical issue.
We need help to know how move custom column (order) ... for example we have a priority (1/2/3...) and we would like to have it after state column.
Could you help us giving some tips? ;) ;)

Thanks

Giorgio
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Custom component (custom column) support

Post by mguthrie »

Currently the custom column callback has a pretty basic implementation, so it can't be used to sort hosts and services, and at the moment it's placement can only be at the end of the table. Adding that functionality would require modification of the XI code itself. The code for the host and service status tables is at:

/usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-hoststatus.inc.php
/usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-servicestatus.inc.php

Just note that this code gets updated with each upgrade of XI.
Locked