From 06780f1003b4e36eb03a19428f2ee60db1882626 Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Sat, 22 Nov 2014 20:23:02 +1000 Subject: [PATCH] Testing EdgeOS support --- html/images/os/edgeos.png | Bin 0 -> 1538 bytes includes/definitions.inc.php | 11 +++++++++++ includes/discovery/os/edgeos.inc.php | 9 +++++++++ includes/polling/os/edgeos.inc.php | 8 ++++++++ 4 files changed, 28 insertions(+) create mode 100644 html/images/os/edgeos.png create mode 100644 includes/discovery/os/edgeos.inc.php create mode 100644 includes/polling/os/edgeos.inc.php diff --git a/html/images/os/edgeos.png b/html/images/os/edgeos.png new file mode 100644 index 0000000000000000000000000000000000000000..ae3f499e677cd9e8b66f7296e84b95602658fcc8 GIT binary patch literal 1538 zcmV+d2L1VoP)1&>KY zK~z}7&6sO!R7DhkznQtqZkN&rFBJl1sesQ&1jHB;E5t{H3IydLP%a>}AXJMI2>$R{ zKv5A03Ki^%1SCZbK0-tz0xA>}k!S>oWq%-|yaWYGyLa#SV`pItTiCYJ(A@9f;U z-<~;V&Y2?!hBR;%$iog)5)6SIppFDX(e}drhKnEQ1>6tZ1_XfiKs#V6u(E4T&S>Cg z^Lr}`s4A%$>l~z-OlK-v-Rzrm1dk88;6DEwBR) zPytjB4EYF#a)A@TI$#@cx&d7 zK({)-G$UMMz^L}T#@-5n_Yy{xW)dp_+$i84;1ldX87UU)f@Spr15Ff(03Q(y-DTqB zHeelg;6$nbh1tE|GRwQm^xq7O1~P$9jaR2=iS2-E_Qfr6y^d*X>UesJY)}CY0KI|j z*nv%{wm}(Ze>EoF4gh8Y{kaOnifad%xY^T00N>RHINNB@Z$e*l+nakSKw)ygnADnW zCU)N(vM15EtV?J%pJ1phaATaEUMcy>0}|c?6K>L zN@iBpj`bgGXt(~u4Zel|HkWK2XHUp+9H&z_98Rdg+7tt>?$hUvKGoG{ItU>mi2x6$ z5bo=-1-9$;di%PrTa%WS<|G3AEk$rAeLmmHfrIk%!r^d7t@VMy`48$ufR!nLs|H?P zwB*ek$8m;gtq;Vqq_ykTUj(=@$w^hrsiqf~(13R?l*3Z01#c`~dcyDbPj+3mC9oAZ z1~6*G!xsU52mGGY8CR$@fF+9;0#Gtz=H(KRthnb>z?SyyubEr6;+-Se+1bxTB9YDj zTI(;AQitoC!~tGS;uLvZ`_qSVODB!VEq?N;On`;2FG%L#UIlE(%*t9ixo}GPqQy(Q zp!I8x<8(A*e$ZO)7&&~HUcF{rg3UO32+9Vw13l{J6KC6;IWlX)FROALkIy5e{7On$ zrIb1(wElbE{L-5E;Zvqe%h>sSWnOxE`Ym~R{f~C*-XrJqsZ)Fwp({ zoAQs0+JEMj>|ayudc3blsoEs4!5XR5CMD&^N~vuQRFzDd;tZQLhkLtrrKs?+q)KEY zsL#|b5(PsUz_mapQ&8#w^g>9#<<@St4{ogJ=$tGNQub9+?o~?dRZ8sh($ literal 0 HcmV?d00001 diff --git a/includes/definitions.inc.php b/includes/definitions.inc.php index 7fb406f043ef..50921ed57f13 100644 --- a/includes/definitions.inc.php +++ b/includes/definitions.inc.php @@ -46,6 +46,17 @@ $config['os'][$os]['over'][2]['graph'] = "device_ucd_memory"; $config['os'][$os]['over'][2]['text'] = "Memory Usage"; +$os = "edgeos"; +$config['os'][$os]['text'] = "EdgeOS"; +$config['os'][$os]['type'] = "network"; +$config['os'][$os]['ifname'] = 1; +$config['os'][$os]['over'][0]['graph'] = "device_bits"; +$config['os'][$os]['over'][0]['text'] = "Device Traffic"; +$config['os'][$os]['over'][1]['graph'] = "device_processor"; +$config['os'][$os]['over'][1]['text'] = "Processor Usage"; +$config['os'][$os]['over'][2]['graph'] = "device_ucd_memory"; +$config['os'][$os]['over'][2]['text'] = "Memory Usage"; + // Linux-based OSes here please. $os = "linux"; diff --git a/includes/discovery/os/edgeos.inc.php b/includes/discovery/os/edgeos.inc.php new file mode 100644 index 000000000000..1f62726dde00 --- /dev/null +++ b/includes/discovery/os/edgeos.inc.php @@ -0,0 +1,9 @@ + diff --git a/includes/polling/os/edgeos.inc.php b/includes/polling/os/edgeos.inc.php new file mode 100644 index 000000000000..52e68c29c8a5 --- /dev/null +++ b/includes/polling/os/edgeos.inc.php @@ -0,0 +1,8 @@ +