Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

OpenNMS uses Sentinel to process Netflow (stream

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Prepare the environment

CentOS-7-x86_64

Java8

OpenNMS 23.0.4

Minion-23.0.4

Sentinel-23.0.4

Elasticsearch-6.7.1.tar.gz

OpenNMS configuration 1 configure ActiveMQ

Vi $OPENNMS_HOME/etc/opennms-activemq.xml

Uncomment

2 add minion user

Role selection ROLE_MINION and ROLE_ADMIN

Minion/minion

Start Elasticsearchbin/elasticsearch-dMinion configuration 1 configure controller config:edit org.opennms.minion.controllerconfig:property-set location Office-Pittsboroconfig:property-set http-url http://127.0.0.1:8980/opennmsconfig:property-set broker-url failover:tcp://127.0.0.1:61616config:updatescv:set opennms.http minion minionscv:set opennms.broker minion minion2 restart Minion

View statu

Health:check# needs to install minion-corefeature:install minion-core3 configuration listening config:edit org.opennms.features.telemetry.listeners-udp-8877config:property-set name Netflow-5config:property-set class-name org.opennms.netmgt.telemetry.listeners.udp.UdpListenerconfig:property-set listener.port 8877config:updateSentinel configuration 1 configure controller config:edit org.opennms.sentinel.controllerconfig:property-set location Sentinel-Flowsconfig:property-set http-url http://127.0.0.1: first 8980/opennmsconfig:property-set broker-url failover:tcp://127.0.0.1:61616config:updatescv:set opennms.http minion minionscv:set opennms.broker minion minion

View statu

Health:check# needs to install sentinel-corefeature:install sentinel-core2 configuration data source config:edit org.opennms.netmgt.distributed.datasourceconfig:property-set datasource.url jdbc:postgresql://127.0.0.1:5432/opennmsconfig:property-set datasource.username opennmsconfig:property-set datasource.password opennmsconfig:property-set datasource.databaseName opennmsconfig:update3 configuration adapter config:edit org.opennms.features.telemetry.adapters-netflow5config:property-set name Netflow-5config:property-set class-name org. Opennms.netmgt.telemetry.adapters.netflow.v5.Netflow5Adapterconfig:update4 installation plug-in feature:install sentinel-jmsfeature:install sentinel-flows

Check status to ensure all services [Success]

Health:check check data curl http://localhost:9200/_cat/shards

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report