Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Pris Plugin that can be installed on OpenNMS Karaf Container

NotificationsYou must be signed in to change notification settings

OpenNMS/pris-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRIS Plugin that can be installed and run on OpenNMS Karaf Container

OpenNMS

Getting Started

git clonehttps://github.com/OpenNMS/pris-plugin.git

Prerequisites

maven, java8, OpenNMS Horizon > 24.0.0

Improvements

  • Make PRIS compatible with OIA so that it can use same features that are already there.
  • Can run on OpenNMS and all the configuration co-exists.
  • No need to run another web-component

Installing

git clone https://github.com/OpenNMS/pris-plugin.git
cd pris-plugin
mvn install

Configure PRIS Resources.

  • Load myRouter config into OpenNMS.
echo 'name = myRoutersource = xlssource.file = /home/chandra/Downloads/myInventory-metadata.xlsmapper = echo' > /opt/opennms/etc/org.opennms.plugins.feature.pris-myRouter.cfg
  • Load myServer config into OpenNMS.
echo 'name = myServersource = xlssource.file = /home/chandra/Downloads/myInventory-metadata.xlsmapper = echo' > /opt/opennms/etc/org.opennms.plugins.feature.pris-myServer.cfg
  • Import the requisition
./target/opennms/bin/send-event.pl uei.opennms.org/internal/importer/reloadImport --parm 'url requisition://pris?name=myServer'
./target/opennms/bin/send-event.pl uei.opennms.org/internal/importer/reloadImport --parm 'url requisition://pris?name=myRouter'

Deployment on OpenNMS

sudo cp kar/target/opennms-pris-plugin.kar ~/opt/opennms/deploy/

Built With

  • Maven - Dependency Management

Release

  • Version number comes from thepom.xml tag
  • Merges to master trigger releases
  • Merges to develop trigger pre-releases
  • All other branches trigger just the build job
  • Branch build artifacts are in CircleCI of the build

Acknowledgments

Further Development

  • Add more Sources by implementing Source and SourceFactory.
  • Expose SourceFactory as osgi service in blueprint.
  • Can add more Mappers by implementing Mapper and MapperFactory
  • Expose MapperFactory as osgi service in blueprint
  • Add each source as different feature in karaf-features.

About

Pris Plugin that can be installed on OpenNMS Karaf Container

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp