Files
librenms-librenms/tests/data/linux_opensearch-v1.json
Zane C. Bowers-Hadley 55c62b234e add Opensearch\Elasticsearch monitoring (#14053)
* add new poller

* add a missing ;

* formatting cleanup

* graph stuff and metrics move

* add rrd name

* clean up metrics/rrd def

* more metric/rrd def cleanup

* cleanup

* add basic opensearch graphs

* add opensearch to apps.inc.php

* begin work on opensearch app page

* formatting cleanup

* add translog graphs

* add a missing graph

* fix pending tasks

* add the ability to fetch the saved cluster name

* add fetching the cluster name

* correct the opensearch comment

* add combined shard stats

* add indexing graphs

* correct graph name

* correct some units as being per second

* add more graphs

* add more items for graph sets

* cleanup of units and naming... also more graphs

* more graph stuff

* change the RRD def again and define a few more graphs

* finish basic graph sets

* more graph stuff

* another rrd def change

* add more graphs

* add some more graph sets

* correct unit for c_task_max_in_time

* more graph stuff

* more graph stuff

* correct the unit

* add missing tw_time and another rrd def change

* another unit change

* add trc graphs

* more graph stuff

* add tseg graphs

* add all shards graph to both cluster items

* more graph stuff

* update opensearch app page

* add Opensearch\Elasticsearch app

* add opensearch tests

* run php-cs-fixer on two files

* add alert examples for checking cluster status

* remove an item that was accidentally added as a metric in the test but is not

* derp! thanks jellyfrog

* make it come up as Elisticsearch\Opensearch in the webui

* no longer use components, but app_data, for cluster name change

* update the web side for opensearch for using app_data

* style fix

* update opensearch for new app data stuff

* update to the new Application model

* update poller and device app page for ES/OS

* style cleanup

* update graphs

* test fix

* more test cleanup

* Update alert_rules.json

* begin work on breaking out the RRDs

* update all non-multi rrd graphs for opensearch

* update time_all

* add a unass shards graph

* correct rrd name

* should all be good now

* add missing tm stats

* Un Assigned -> Unassigned

* style cleanup

* another style fix

* remove cluster_name from saved metrics as it is not a metric

Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2022-08-15 14:44:20 -05:00

513 lines
17 KiB
JSON

{
"applications": {
"discovery": {
"applications": [
{
"app_type": "opensearch",
"app_state": "UNKNOWN",
"discovered": 1,
"app_state_prev": null,
"app_status": "",
"app_instance": "",
"data": null
}
]
},
"poller": {
"applications": [
{
"app_type": "opensearch",
"app_state": "OK",
"discovered": 1,
"app_state_prev": "UNKNOWN",
"app_status": "",
"app_instance": "",
"data": "{\"cluster\":\"vulpes\"}"
}
],
"application_metrics": [
{
"metric": "c_act_pri_shards",
"value": 262,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "c_act_shards",
"value": 262,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "c_act_shards_perc",
"value": 52.929292929292899,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "c_data_nodes",
"value": 1,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "c_delayed_shards",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "c_in_fl_fetch",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "c_init_shards",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "c_nodes",
"value": 1,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "c_pending_tasks",
"value": 212,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "c_rel_shards",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "c_task_max_in_time",
"value": 76717,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "status",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tf_periodic",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tf_time",
"value": 79694,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tf_total",
"value": 261,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tfd_evictions",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tfd_size",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tg_exists_time",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tg_exists_total",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tg_missing_time",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tg_missing_total",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tg_time",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tg_total",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ti_del_time",
"value": 100,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ti_del_total",
"value": 285,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ti_failed",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ti_noop_up_total",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ti_throttled",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ti_throttled_time",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ti_time",
"value": 2643104411,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ti_total",
"value": 9212092,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tm_docs",
"value": 434455886,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tm_size",
"value": 136565980034,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tm_throttled_size",
"value": 4850140622,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tm_throttled_time",
"value": 76881,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tm_time",
"value": 498616621,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tm_total",
"value": 180358,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tqc_cache_count",
"value": 4,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tqc_cache_size",
"value": 4,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tqc_evictions",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tqc_hit",
"value": 4,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tqc_miss",
"value": 378,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tqc_size",
"value": 2160,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tqc_total",
"value": 382,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tr_ext_time",
"value": 700610451,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tr_ext_total",
"value": 155976,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tr_time",
"value": 690103910,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tr_total",
"value": 156038,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "trc_evictions",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "trc_hits",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "trc_misses",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "trc_size",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ts_f_time",
"value": 41073,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ts_f_total",
"value": 876,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ts_q_time",
"value": 11234,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ts_q_total",
"value": 876,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ts_sc_time",
"value": 25901,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ts_sc_total",
"value": 520,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ts_su_time",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ts_su_total",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_count",
"value": 2066,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_docval_size",
"value": 11440192,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_fbs_size",
"value": 15304,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_fields_size",
"value": 1069920,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_indwrt_size",
"value": 8396888,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_norms_size",
"value": 12096,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_points_size",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_size",
"value": 87278368,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_terms_size",
"value": 74756160,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_tvector_size",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tseg_vermap_size",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tst_res_size",
"value": 0,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tst_size",
"value": 18325569074,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ttl_last_mod_age",
"value": 26686572,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ttl_ops",
"value": 259545,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ttl_size",
"value": 162559260,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ttl_uncom_ops",
"value": 259545,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "ttl_uncom_size",
"value": 162559260,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tw_time",
"value": 111862,
"value_prev": null,
"app_type": "opensearch"
},
{
"metric": "tw_total",
"value": 155742,
"value_prev": null,
"app_type": "opensearch"
}
]
}
}
}