mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add Nutanix AOS discovery (#14950)
* Add Nutanix AOS Discovery - Add basic discovery configuration - Add Nutanix .svg icon and logo - Add test data * fix yaml style nutanix-aos.yaml
This commit is contained in:
75
html/images/logos/nutanix.svg
Normal file
75
html/images/logos/nutanix.svg
Normal file
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
id="svg173"
|
||||
version="1.1"
|
||||
viewBox="0 0 378.28055 48.245998"
|
||||
height="48.245998">
|
||||
<metadata
|
||||
id="metadata177">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>nutanix-seeklogo.com</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<!-- Generator: Sketch 41.2 (35397) - http://www.bohemiancoding.com/sketch -->
|
||||
<title
|
||||
id="title156">nutanix-seeklogo.com</title>
|
||||
<desc
|
||||
id="desc158">Created with Sketch.</desc>
|
||||
<defs
|
||||
id="defs160" />
|
||||
<g
|
||||
transform="translate(0,-0.229)"
|
||||
style="fill:none;fill-rule:evenodd;stroke:none;stroke-width:1"
|
||||
id="Page-1">
|
||||
<g
|
||||
id="nutanix-seeklogo.com">
|
||||
<path
|
||||
style="fill:#a8cb3a"
|
||||
id="Fill-1"
|
||||
d="m 323.217,48.069 c -0.194,0.167 -0.446,0.257 -0.704,0.257 h -13.75 c -0.435,0 -0.859,-0.23 -1.038,-0.627 -0.207,-0.457 -0.087,-0.99 0.287,-1.299 l 25.092,-21.132 c 0.559,-0.472 0.561,-1.333 0.003,-1.806 L 308.05,2.187 c -0.304,-0.259 -0.481,-0.655 -0.412,-1.048 0.094,-0.541 0.558,-0.91 1.082,-0.91 h 13.232 c 0.254,0 0.501,0.09 0.704,0.256 l 27.306,22.97 0.247,0.211 c 0.42,0.358 0.431,1.003 0.024,1.376 l -0.27,0.247 -26.746,22.78" />
|
||||
<path
|
||||
style="fill:#174489"
|
||||
id="Fill-2"
|
||||
d="m 55.097,0.565 h -8.39 c -1.006,0 -1.83,0.824 -1.83,1.831 v 27.118 c 0,0.637 -0.75,0.979 -1.231,0.56 L 12.592,3.039 C 10.475,1.197 8.174,0.259 5.746,0.259 3.603,0.259 0,1.134 0,6.986 v 39.233 c 0,1.011 0.819,1.83 1.83,1.83 h 8.385 c 1.01,0 1.829,-0.819 1.829,-1.829 V 18.989 c 0,-0.638 0.751,-0.979 1.232,-0.559 l 31.382,27.444 c 1.945,1.726 4.06,2.601 6.287,2.601 2.234,0 5.98,-0.914 5.98,-7.035 V 2.394 c 0,-1.006 -0.823,-1.829 -1.828,-1.829" />
|
||||
<path
|
||||
style="fill:#174489"
|
||||
id="Fill-3"
|
||||
d="m 116.47,0.565 h -9.752 c -0.596,0 -1.086,0.486 -1.086,1.086 V 33.41 c 0,2.616 -3.248,3.943 -9.659,3.943 H 82.71 c -6.531,0 -9.847,-1.327 -9.847,-3.943 V 1.651 c 0,-0.6 -0.486,-1.086 -1.087,-1.086 h -9.872 c -0.602,0 -1.089,0.486 -1.089,1.086 v 32.247 c 0,2.237 0.379,4.167 1.115,5.739 0.733,1.554 1.731,2.891 2.97,3.974 1.213,1.058 2.638,1.899 4.226,2.494 1.541,0.583 3.165,1.021 4.818,1.31 1.645,0.297 3.357,0.475 5.089,0.541 1.687,0.062 3.273,0.093 4.759,0.093 h 10.792 c 7.922,0 13.56,-1.096 17.241,-3.347 3.804,-2.328 5.734,-5.96 5.734,-10.804 V 1.651 c 0,-0.6 -0.49,-1.086 -1.089,-1.086" />
|
||||
<path
|
||||
style="fill:#174489"
|
||||
id="Fill-4"
|
||||
d="m 173.485,8.946 v -6.25 c 0,-1.21 -0.98,-2.19 -2.19,-2.19 h -47.697 c -1.21,0 -2.191,0.981 -2.191,2.191 v 6.249 c 0,1.21 0.981,2.192 2.192,2.192 h 16.685 c 0.61,0 1.105,0.494 1.105,1.104 v 33.616 c 0,1.21 0.981,2.191 2.191,2.191 h 7.665 c 1.211,0 2.193,-0.982 2.193,-2.192 V 12.242 c 0,-0.61 0.494,-1.104 1.104,-1.104 h 16.751 c 1.211,0 2.192,-0.981 2.192,-2.192" />
|
||||
<path
|
||||
style="fill:#174489"
|
||||
id="Fill-5"
|
||||
d="m 185.986,24.19 6.11,-8.782 c 0.279,-0.403 0.874,-0.405 1.157,-0.005 l 6.183,8.72 c 0.288,0.405 -0.002,0.966 -0.499,0.966 h -12.481 c -0.462,0 -0.734,-0.52 -0.47,-0.899 z M 199.431,3.778 c -1.643,-2.294 -3.818,-3.459 -6.465,-3.459 -2.611,0 -4.765,1.187 -6.412,3.535 l -29.422,42.485 c -0.281,0.404 -0.261,0.954 0.079,1.342 0.221,0.251 0.558,0.368 0.892,0.368 h 11.566 c 0.368,0 0.714,-0.188 0.914,-0.497 l 7.389,-11.368 c 0.162,-0.249 0.438,-0.399 0.735,-0.399 0,0 24.635,-0.006 28.364,-10e-4 0.296,0 0.569,0.148 0.732,0.395 l 7.556,11.382 c 0.2,0.305 0.541,0.488 0.906,0.488 h 11.1 c 0.399,0 0.77,-0.222 0.957,-0.581 0.19,-0.355 0.167,-0.784 -0.058,-1.117 z" />
|
||||
<path
|
||||
style="fill:#174489"
|
||||
id="Fill-6"
|
||||
d="m 286.224,0.565 h -8.621 c -0.945,0 -1.712,0.767 -1.712,1.713 v 27.491 c 0,0.538 -0.633,0.826 -1.039,0.473 L 243.607,3.039 c -2.116,-1.842 -4.421,-2.78 -6.852,-2.78 -2.143,0 -5.744,0.875 -5.744,6.727 v 39.349 c 0,0.943 0.771,1.714 1.714,1.714 h 8.618 c 0.947,0 1.715,-0.768 1.715,-1.715 V 18.733 c 0,-0.539 0.634,-0.826 1.04,-0.472 l 31.574,27.613 c 1.943,1.726 4.06,2.601 6.287,2.601 2.232,0 5.98,-0.914 5.98,-7.035 V 2.28 c 0,-0.947 -0.768,-1.715 -1.715,-1.715" />
|
||||
<path
|
||||
style="fill:#174489"
|
||||
id="Fill-7"
|
||||
d="m 302.734,0.565 h -9.868 c -0.601,0 -1.087,0.486 -1.087,1.086 v 45.311 c 0,0.599 0.486,1.087 1.087,1.087 h 9.868 c 0.6,0 1.089,-0.488 1.089,-1.087 V 1.651 c 0,-0.6 -0.489,-1.086 -1.089,-1.086" />
|
||||
<path
|
||||
style="fill:#174489"
|
||||
id="Fill-8"
|
||||
d="m 354.178,20.388 c 0.438,0.373 1.083,0.373 1.521,10e-4 L 377.601,2.187 c 0.304,-0.259 0.48,-0.655 0.412,-1.048 -0.094,-0.541 -0.559,-0.91 -1.082,-0.91 h -13.232 c -0.254,0 -0.501,0.09 -0.704,0.256 l -15.369,12.529 c -0.556,0.468 -0.558,1.323 -0.005,1.794 l 6.557,5.58" />
|
||||
<path
|
||||
style="fill:#174489"
|
||||
id="Fill-9"
|
||||
d="m 354.104,28.346 c 0.439,-0.373 1.083,-0.374 1.522,-0.001 l 22.228,18.154 c 0.304,0.258 0.48,0.655 0.412,1.048 -0.094,0.54 -0.559,0.91 -1.082,0.91 h -13.233 c -0.253,0 -0.5,-0.09 -0.703,-0.256 L 347.975,35.484 c -0.556,-0.468 -0.558,-1.323 -0.005,-1.794 l 6.134,-5.344" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 5.4 KiB |
43
html/images/os/nutanix.svg
Normal file
43
html/images/os/nutanix.svg
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
id="svg68"
|
||||
height="1093.8226"
|
||||
viewBox="0 0 1568.0935 1093.8226"
|
||||
version="1.2">
|
||||
<metadata
|
||||
id="metadata74">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>nnn-svg</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs72" />
|
||||
<title
|
||||
id="title62">nnn-svg</title>
|
||||
<style
|
||||
id="style64">
|
||||
.s0 { fill: #024da0 }
|
||||
.s1 { fill: #a8cb3a }
|
||||
</style>
|
||||
<path
|
||||
style="fill:#024da0"
|
||||
d="M 1050.4935,447.9 Q 977.59349,384.2 904.49349,321.2 c -4.5,-2.6 -8.3,-6.4 -11,-11 -2.6,-4.5 -4,-9.7 -4,-14.9 0,-5.3 1.4,-10.5 4,-15 2.7,-4.6 6.5,-8.3 11,-11 97.20001,-84.4 194.20001,-169.1 292.10001,-252.6 q 4.5,-3.5 9.4,-6.3 4.9,-2.8 10.3,-4.8 5.3,-2 10.9,-3.1 5.6,-1.1 11.3,-1.3 c 96.7,-1.2 193.4,0 290.2,0 18.6,0 36.1,0 39.4,29.7 q -1.5,2.9 -3.2,5.7 -1.8,2.8 -3.7,5.5 -1.9,2.7 -4.1,5.3 -2.1,2.5 -4.3,4.9 -227.5,198.9 -455.7,396.7 c -3.1,3.2 -6.7,5.8 -10.8,7.5 -4,1.7 -8.4,2.5 -12.8,2.4 -4.4,-0.2 -8.7,-1.2 -12.7,-3.1 -4,-1.9 -7.5,-4.6 -10.3,-7.9 z m 331.1,645.2 q -13.3,-0.6 -26.5,-1 -13.3,-0.3 -26.5,-0.3 -13.3,0 -26.5,0.3 -13.3,0.4 -26.5,1 c -9.9,1.1 -19.9,0.9 -29.8,-0.3 -9.9,-1.2 -19.6,-3.6 -29,-7 -9.4,-3.5 -18.3,-8 -26.6,-13.5 -8.4,-5.4 -16,-11.8 -22.9,-19 -84.4,-76.9 -171.70001,-150.5 -257.80001,-225.5 -27.4,-23.6 -27.2,-36.1 0,-59.9 45.4,-39.6 91.30001,-78.3 136.00001,-117.9 3.5,-4.2 7.8,-7.6 12.7,-9.9 5,-2.3 10.3,-3.5 15.8,-3.5 5.4,0 10.8,1.2 15.8,3.5 4.9,2.3 9.2,5.7 12.7,9.9 148.5,129.7 298,259.4 446,388.7 9.7,8.2 11.4,25.7 16.8,38.6 q -4.3,2.6 -8.8,4.9 -4.5,2.2 -9.1,4 -4.7,1.9 -9.5,3.3 -4.8,1.4 -9.7,2.5 c -48.7,2.1 -97.7,1.1 -146.6,1.1 z"
|
||||
class="s0"
|
||||
id="Fill-4" />
|
||||
<path
|
||||
style="fill:#a8cb3a"
|
||||
d="m 370.99349,15.1 q 290.2,250.4 579.4,501.9 c 25.8,23.5 26,35.8 0,58 q -290.4,252.6 -581.5,504.2 -3.9,3 -8.2,5.3 -4.3,2.3 -8.9,3.9 -4.6,1.6 -9.4,2.4 -4.8,0.9 -9.7,0.9 c -49.9,1.4 -99.8,0 -149.7,0 H 39.393494 q -4.9,-1 -9.7,-2.5 -4.8,-1.5 -9.4,-3.3 -4.7,-1.9 -9.2,-4.2 -4.4999997,-2.2 -8.7999997,-4.8 c 5.5,-13.2 7.6,-30.2 17.2999997,-38.7 C 155.09349,918.8 291.79349,800.7 428.19349,682.1 c 40.2,-34.7 80.2,-69.1 120.2,-104.1 32.6,-28.5 32.6,-34.9 0,-62.5 q -263.5,-229 -526.899996,-457.7 -3.9,-3 -7.2,-6.6 -3.4,-3.6 -6.0999997,-7.6 -2.7,-4.1 -4.7,-8.5 -2,-4.5 -3.30000001,-9.2 C -1.9065057,6.8 13.393494,0 31.193494,0 H 337.19349 q 4.7,0.4 9.3,1.6 4.6,1.2 8.9,3.1 4.3,1.9 8.2,4.5 4,2.6 7.4,5.9 z"
|
||||
class="s1"
|
||||
id="Fill-1" />
|
||||
</svg>
|
After Width: | Height: | Size: 2.8 KiB |
13
includes/definitions/nutanix-aos.yaml
Normal file
13
includes/definitions/nutanix-aos.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
os: nutanix-aos
|
||||
text: 'Nutanix AOS'
|
||||
type: server
|
||||
icon: nutanix
|
||||
group: unix
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
discovery:
|
||||
-
|
||||
sysObjectID:
|
||||
- .1.3.6.1.4.1.41263
|
23
tests/data/nutanix-aos.json
Normal file
23
tests/data/nutanix-aos.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": null,
|
||||
"sysObjectID": ".1.3.6.1.4.1.41263",
|
||||
"sysDescr": "Linux ntnx-abc1234aaa-d-cvm 3.10.0-1160.76.1.el7.nutanix.20220817.cvm.x86_64 #1 SMP Wed Aug 17 10:15:46 UTC 2022 x86_64",
|
||||
"sysContact": null,
|
||||
"version": "3.10.0-1160.76.1.el7.nutanix.20220817.cvm.x86_64",
|
||||
"hardware": "Generic x86 64-bit",
|
||||
"features": null,
|
||||
"location": null,
|
||||
"os": "nutanix-aos",
|
||||
"type": "server",
|
||||
"serial": null,
|
||||
"icon": "nutanix.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
}
|
2
tests/snmpsim/nutanix-aos.snmprec
Normal file
2
tests/snmpsim/nutanix-aos.snmprec
Normal file
@@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|Linux ntnx-abc1234aaa-d-cvm 3.10.0-1160.76.1.el7.nutanix.20220817.cvm.x86_64 #1 SMP Wed Aug 17 10:15:46 UTC 2022 x86_64
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.41263
|
Reference in New Issue
Block a user