Re: Topology Map: customized icon not loaded

"Norbert Steinhoff" <[email protected]> Tue, 24 Jul 2018 18:46:59 +0200
Newsgroups gmane.network.opennms.general
Message-ID <trinity-bf141b72-1139-4ba0-8197-4a658450c3b9-1532450819515@3c-app-gmx-bs46>
Uuuh, attachments missing.

Here they are...

Gesendet: Dienstag, 24. Juli 2018 um 18:20 Uhr

Von: "Norbert Steinhoff" <[email protected]>

An: "General OpenNMS Discussion" <[email protected]>

Betreff: [opennms-discuss] Topology Map: customized icon not loaded

Hi.

i’m running my playground on CentOS with V22.0.2

While creating some svg icons for topology map i got stuck and find no way to solve it right now.

The icons are just a copy of the original legacy_workgroup_switch icon with different text added and other ids.

The first one works, the second not.

What i did is:

1. Created a test1.svg in opt/opennms/jetty-webapps/opennms/svg with 2 icon definitions (attached)

2. Edit /opt/opennms/etc/org.opennms.features.topology.app.icons.list to make them visible

added 2 lines with:

legacy_workgroup_poe_switch

legacy_workgroup_xxx_switch

3. Edit /opt/opennms/etc/org.opennms.features.topology.app.icons.linkd.cfg to link them to nodes

added:

nodes.75 = legacy_workgroup_poe_switch

nodes.58 = legacy_workgroup_xxx_switch

Result in attached Screenshot.

Any help on this is appreciated.

Rgds. Norbert

------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
screen_topo_icons.png (image/png, 28.1 KB) - not displayed
test1.svg (image/svg+xml, 6.6 KB) - not displayed