重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
CentOS-7-x86_64
我们提供的服务有:成都网站制作、成都网站设计、外贸营销网站建设、微信公众号开发、网站优化、网站认证、中站ssl等。为超过千家企事业单位解决了网站和推广的问题。提供周到的售前咨询和贴心的售后服务,是有科学管理、有技术的中站网站制作公司
Java8
OpenNMS 23.0.4
minion-23.0.4
sentinel-23.0.4
elasticsearch-6.7.1.tar.gz
vi $OPENNMS_HOME/etc/opennms-activemq.xml
取消注释
角色选择 ROLE_MINION和 ROLE_ADMIN
minion/minion
bin/elasticsearch -d
config:edit org.opennms.minion.controller config:property-set location Office-Pittsboro config:property-set http-url http://127.0.0.1:8980/opennms config:property-set broker-url failover:tcp://127.0.0.1:61616 config:update scv:set opennms.http minion minion scv:set opennms.broker minion minion
查看状态
health:check #需要先安装minion-core feature:install minion-core
config:edit org.opennms.features.telemetry.listeners-udp-8877 config:property-set name Netflow-5 config:property-set class-name org.opennms.netmgt.telemetry.listeners.udp.UdpListener config:property-set listener.port 8877 config:update
config:edit org.opennms.sentinel.controller config:property-set location Sentinel-Flows config:property-set http-url http://127.0.0.1:8980/opennms config:property-set broker-url failover:tcp://127.0.0.1:61616 config:update scv:set opennms.http minion minion scv:set opennms.broker minion minion
查看状态
health:check #需要先安装 sentinel-core feature:install sentinel-core
config:edit org.opennms.netmgt.distributed.datasource config:property-set datasource.url jdbc:postgresql://127.0.0.1:5432/opennms config:property-set datasource.username opennms config:property-set datasource.password opennms config:property-set datasource.databaseName opennms config:update
config:edit org.opennms.features.telemetry.adapters-netflow5 config:property-set name Netflow-5 config:property-set class-name org.opennms.netmgt.telemetry.adapters.netflow.v5.Netflow5Adapter config:update
feature:install sentinel-jms feature:install sentinel-flows
查看状态,保证所有服务 [ Success ]
health:check
curl http://localhost:9200/_cat/shards