HI.

> I am working on a project to link icinga with another webpage that
> contains information about our environment based on hostname.
> Is there documentation on how to write a web interface plugin or
> something similar?
> 
> Wouter Depypere

There is something about writing new Cronks and Agavi Modules:

https://dev.icinga.org/projects/icinga-development/wiki/HowToDevelopModules

https://dev.icinga.org/projects/icinga-development/wiki/HowToDevelopCronks

But I think what you need is something like the pnp4nagios integration:

https://dev.icinga.org/projects/icinga-development/wiki/HowToUsingPNP4Nagios

For the pnp4nagios also a contribution exists in:

etc/contrib/PNP_Integration/

You'll need to edit the grid xml templates in:

app/modules/Cronks/data/xml/grid/

I attached some piece of XML to add a click field which opens
a new iframe cronk with a suitable URL.

Also there are some inplace examples for the eventdb in the xml templates.

If you want to overwrite a standard xml template, e.g.
'icinga-host-template.xml' you can copy it to
'icinga-host-template.site.xml'. A site xml template is not touched by
install process.

Kind regards,
 Marius.

-- 
Marius Hein
Senior Application Developer

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

http://www.netways.de | [email protected]

** NETWAYS Open Source Data Center Conference 2011 | Nürnberg, 06. und
07. April 2011 | http://www.netways.de/osdc **

Attachment: icinga_template_iframe_link.txt.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to