HCL Domino: Publish Domino Statistics to Elasticsearch and create a Dashboard with Kibana: Difference between revisions
Line 24: | Line 24: | ||
STATPUB_ENABLE=1 | STATPUB_ENABLE=1 | ||
STATPUB_DATA_HEAD={"host":"'''<DOMINO_SERVER_NAME>'''","version":"1.0.0","name":'''<DOMINO_SERVER_NAME/ORG>'''","timestamp":"$Timestamp$","guid":"com.bb.domstats","duration":60,"metrics":{ | STATPUB_DATA_HEAD={"host":"'''<DOMINO_SERVER_NAME>'''","version":"1.0.0","name":'''<DOMINO_SERVER_NAME/ORG>'''","timestamp":"$Timestamp$","guid":"com.bb.domstats","duration":60,"metrics":{ | ||
STATPUB_URI='''http://<HOSTNAME of Elasticsearh:9200>/domino/ | STATPUB_URI='''http://<HOSTNAME of Elasticsearh:9200>/domino/dstats''' | ||
STATPUB_DATA_TAIL=}} | STATPUB_DATA_TAIL=}} | ||
STATPUB_METRIC_FORMAT="$Name$":$Value$ | STATPUB_METRIC_FORMAT="$Name$":$Value$ | ||
Line 37: | Line 37: | ||
"name": "myserver/Renovations", | "name": "myserver/Renovations", | ||
"timestamp": "1581518363", | "timestamp": "1581518363", | ||
"metrics": { | "metrics": { | ||
"ADMINP.DirectoryDocumentsModified": 1, | "ADMINP.DirectoryDocumentsModified": 1, |
Revision as of 17:37, 18 March 2020
Important: This is document is in Draft, i still working on this.
In Domino 10 has a new functionality that pushes the server statistics to a defined target via HTTP Post.
See this link for details:
- Publishing Domino statistics to New Relic
- Publishing Domino statistics to services other than New Relic
In this article, i will explain how to do this using Domino, Elasticsearch and Kibana
Procedure
Install Elasticsearch and Kibana using Docker
Create Index
curl -X PUT "http://<HOSTNAME_ELASTICSEARCH>:9200/domino-stats"
Configure Domino to send posts
You must define the following notes.ini variables:
STATPUB_ENABLE=1 STATPUB_DATA_HEAD={"host":"<DOMINO_SERVER_NAME>","version":"1.0.0","name":<DOMINO_SERVER_NAME/ORG>","timestamp":"$Timestamp$","guid":"com.bb.domstats","duration":60,"metrics":{ STATPUB_URI=http://<HOSTNAME of Elasticsearh:9200>/domino/dstats STATPUB_DATA_TAIL=}} STATPUB_METRIC_FORMAT="$Name$":$Value$ STATPUB_DELTA_METRIC_FORMAT="$Name$.Delta":$Value$ STATPUB_HEADERS=X-License-Key: XXXXXX$Newline$Content-Type: application/json$Newline$Accept: application/json$Newline$
The result is a single post to the target containing all the statistics in json format
{ "host": "myserver", "version": "1.0.0", "name": "myserver/Renovations", "timestamp": "1581518363", "metrics": { "ADMINP.DirectoryDocumentsModified": 1, "ADMINP.RelativeResponsesAdded": 6, "ADMINP.RelativeResponsesAdded.Delta":0, "ADMINP.ReplicasCreated": 4, ..... } }
When i have a Dashboard, i will share on Github.