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

Reply via email to