diff --git a/html/images/logos/coreos.svg b/html/images/logos/coreos.svg new file mode 100644 index 0000000000..f423359276 --- /dev/null +++ b/html/images/logos/coreos.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/html/images/os/coreos.svg b/html/images/os/coreos.svg new file mode 100644 index 0000000000..b30b7cebc2 --- /dev/null +++ b/html/images/os/coreos.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/includes/definitions/coreos.yaml b/includes/definitions/coreos.yaml new file mode 100644 index 0000000000..27c78f73a1 --- /dev/null +++ b/includes/definitions/coreos.yaml @@ -0,0 +1,11 @@ +os: coreos +type: server +group: unix +text: CoreOS +icon: coreos +processor_stacked: true +over: + - { graph: device_processor, text: 'Processor Usage' } + - { graph: device_ucd_memory, text: 'Memory Usage' } +discovery: + - sysDescr_regex: '/^Linux.*coreos/' diff --git a/tests/data/coreos.json b/tests/data/coreos.json new file mode 100644 index 0000000000..76594d32cb --- /dev/null +++ b/tests/data/coreos.json @@ -0,0 +1,35 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.8072.3.2.10", + "sysDescr": "Linux coreos 4.14.48-coreos-r2 #1 SMP Thu Jun 14 08:23:03 UTC 2018 x86_64", + "sysContact": null, + "version": null, + "hardware": "", + "features": null, + "location": null, + "os": "coreos", + "type": "server", + "serial": null, + "icon": "coreos.svg" + } + ] + }, + "poller": "matches discovery" + }, + "bgp-peers": { + "discovery": { + "devices": [ + { + "bgpLocalAs": null + } + ], + "bgpPeers": [], + "bgpPeers_cbgp": [] + }, + "poller": "matches discovery" + } +} diff --git a/tests/snmpsim/coreos.snmprec b/tests/snmpsim/coreos.snmprec new file mode 100644 index 0000000000..a932d8e8e7 --- /dev/null +++ b/tests/snmpsim/coreos.snmprec @@ -0,0 +1,2 @@ +1.3.6.1.2.1.1.1.0|4|Linux coreos 4.14.48-coreos-r2 #1 SMP Thu Jun 14 08:23:03 UTC 2018 x86_64 +1.3.6.1.2.1.1.2.0|6|.1.3.6.1.4.1.8072.3.2.10 \ No newline at end of file