[icinga-users] Multiple notes / action URLs?

Eric Lippmann Eric.Lippmann at netways.de
Tue Nov 24 15:00:15 CET 2015


Hi,

Sorry for not replying on the list. I updated the issue.

Best,
Eric

On Nov 24, 2015, at 2:40 PM, Zachary McGibbon <zachary.mcgibbon at gmail.com<mailto:zachary.mcgibbon at gmail.com>> wrote:

Yes exactly, it is too limited to only have two links.  I've opened up a feature request - https://dev.icinga.org/issues/10712

On Tue, Nov 24, 2015 at 8:21 AM, Chris Heerschap <db94wookie at gmail.com<mailto:db94wookie at gmail.com>> wrote:
I'm guessing by the lack of replies that it's not possible, but that would be a pretty cool feature to have. I haven't run into it yet, but I have been making heavy use of both notes and action URLs, so I could see running into this issue.


cmh

On Wed, Nov 18, 2015 at 8:55 AM, Zachary McGibbon <zachary.mcgibbon at gmail.com<mailto:zachary.mcgibbon at gmail.com>> wrote:
I've been wondering about how notes and action URLs are handled in icingaweb2.

I use them quite extensively to point to wiki documentation, other monitoring systems (like Cacti) and now I want to link into Grafana however it seems that I can only add one notes / action url per host or service?

The documentation seems to be lacking good explanation on these configuration items.  That said, maybe these need a bit more development to be able to add multiple entries and also descriptions?

Could use the same way that Mediawiki does to add the description by using a pipe between the URL and the description?

Could it be done in an array?

Something like this:

object Host "switch1" {
import "generic_host"
address = "192.168.0.10"
action_url [
"https://$HOSTADDRESS$/|Switch<https://$hostaddress$/|Switch> Web Interface",
"https://icinga-host:3000/dashboard/db/switch-template?var-switchname=$HOSTNAME$|Grafana<https://icinga-host:3000/dashboard/db/switch-template?var-switchname=$HOSTNAME$%7CGrafana>",
"https://ticket-system/openticket.php?hostname=$HOSTNAME$|Open<https://ticket-system/openticket.php?hostname=$HOSTNAME$%7COpen> Ticket"
]
notes_url [
"https://wiki-server/Switch|Switch<https://wiki-server/Switch%7CSwitch> Documentation",
"https://cacti-server/graph.php?action=view&rra_id=all&local_graph_id=1234|Cacti<https://cacti-server/graph.php?action=view&rra_id=all&local_graph_id=1234%7CCacti> Graph
]
}



_______________________________________________
icinga-users mailing list
icinga-users at lists.icinga.org<mailto:icinga-users at lists.icinga.org>
https://lists.icinga.org/mailman/listinfo/icinga-users



_______________________________________________
icinga-users mailing list
icinga-users at lists.icinga.org<mailto:icinga-users at lists.icinga.org>
https://lists.icinga.org/mailman/listinfo/icinga-users


_______________________________________________
icinga-users mailing list
icinga-users at lists.icinga.org<mailto:icinga-users at lists.icinga.org>
https://lists.icinga.org/mailman/listinfo/icinga-users


-- 
Eric Lippmann
Lead Senior Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | Eric.Lippmann at netways.de

** OSDC 2016 - April - netways.de/osdc **
** OSBConf 2016 - September - osbconf.org **


More information about the icinga-users mailing list