Hi Adam,

in 1.6.1, this isn't possible, but this will be possible in 1.7.0 (which will 
be released in two weeks), where you can display arbitrary (even non-icinga) 
data in your grids:
https://wiki.icinga.org/display/Dev/Using+templates+to+write+your+own+grid+based+views
 

You could try out the current master from our git repository and help us 
testing. 

Regards,

Jannis


Am 26.04.2012 um 14:25 schrieb Adam Mende:

> Hi Icinga users,
> 
> Please point me in the right direction if replying to the digest is not the 
> way to ask my question. It relates to icinga-web and creation of additional 
> columns in the host and service status tabs.
> 
> I have successfully created the new columns by following instructions on 
> adding a new field to the xml templates for hosts and services per the 
> official documentation.
> 
> What I have also done in my host definitions is create a custom varible that 
> contains an article number (numerical string eg 123) for a Kwok information 
> server that relates to the host. The custom variable begins with and 
> underscore as required by the core. When I call the vustom variable in the 
> xml template {_kwok} to generate a url to click in the new column it does not 
> return the value. If I call a standard variable eg {host_name} it returns the 
> variable in the url just fine.
> 
> The question I guess is as to whether calling custom variables in the xml 
> templates in icinga web is supported by the api's and if so how can I call 
> them correctly so the value is returned? Does it have anything to do with the 
> datasource tag in the xml field definition or prepending the custom variable 
> with a particular prefix?
> 
> I am running icinga web 1.6.1 on a Ubuntu 11.10 server, and pnp4nagios is 
> integrated and funtioning. I use nagiosql for my config files but am 
> comfortable with modifying them by hand also. I have verified the custom 
> variables are being written to the host and service definitions correctly by 
> nagiosql.
> 
> Any assistance greatly appreciated.
> 
> Cheers
> Adam
> 
> On Apr 20, 2012 6:47 PM, <icinga-users-requ...@lists.sourceforge.net> wrote:
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users

--
Jannis Moßhammer
Software Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nürnberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nürnberg HRB18461

http://www.netways.de | jannis.mossham...@netways.de




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to