Skip to content

Commit

Permalink
NMS-17003: Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cgorantla committed Jan 10, 2025
1 parent 1d84e67 commit 28e1fab
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@ See `monitored-services.proto` in the corresponding source distribution for the
$ ssh -p 8101 admin@localhost
...
admin@opennms()> config:edit org.opennms.features.grpc.exporter
admin@opennms()> config:property-set host bsm.onmshs.local:1440 <1>
admin@opennms()> config:property-set tls.cert.path /opt/opennms/etc/tls.cert <2>
admin@opennms()> config:property-set tls.enabled false <3>
admin@opennms()> config:property-set snapshot.interval 3600 false <4>
admin@opennms()> config:property-set host bsm.onmshs.local:1443 <1>
admin@opennms()> config:property-set tenant.id opennms-prime <2>
admin@opennms()> config:property-set tls.cert.path /opt/opennms/etc/tls.cert <3>
admin@opennms()> config:property-set tls.enabled false <4>
admin@opennms()> config:property-set snapshot.interval 3600 false <5>
admin@opennms()> config:update
----

<1> Set the hostname of the external gRPC application.
<2> Configure the path to the TLS certificate.
<3> TLS is enabled by default. For testing purposes, it can be disabled by setting this value to false.
<4> Set the interval (in seconds) at which the complete snapshot of services will be sent to the gRPC server.
<2> Set tenant id for the data being sent, defaults to `opennms-prime`
<3> Configure the path to the TLS certificate.
<4> TLS is enabled by default. For testing purposes, it can be disabled by setting this value to false.
<5> Set the interval (in seconds) at which the complete snapshot of services will be sent to the gRPC server,
defaults to 3600 secs.

== Enable gRPC Exporter

Expand Down

0 comments on commit 28e1fab

Please sign in to comment.