From b3d60fccc16b0e3e50420135ce9dd9281fca0de0 Mon Sep 17 00:00:00 2001 From: Rosiak Date: Sun, 11 Oct 2015 16:33:29 +0200 Subject: [PATCH] Add Basic Riverbed Steelhead Support --- html/images/os/riverbed.png | Bin 0 -> 3339 bytes includes/definitions.inc.php | 8 ++++++++ includes/discovery/os/riverbed.inc.php | 16 ++++++++++++++++ includes/polling/os/riverbed.inc.php | 14 ++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 html/images/os/riverbed.png create mode 100644 includes/discovery/os/riverbed.inc.php create mode 100644 includes/polling/os/riverbed.inc.php diff --git a/html/images/os/riverbed.png b/html/images/os/riverbed.png new file mode 100644 index 0000000000000000000000000000000000000000..51804d52b4fbd0712cfd0c0f86aeaf349764e6a7 GIT binary patch literal 3339 zcmai12{=^i8y|ElqD9C^8AH;w%)-QsFQzBg#S+dl)+~{`eo--Bm7tfvNIdi`AzVGjSfA8{r=Q(><_6@6cY_a_eD4qu3^rpfbg99PW*Wj^Q`fSB zXkwb5FM+}1*wUH2aKKi|;e*yN7*R?9mmEM$M@Ttru81IYMk*}`;2IL6kO-xTINBLW z^IL&%=LrD>&eq-*jU;Iy5D21>89|_uJ-@-hCuihFv6xRlp<-iWZDZ|hdBR8(29L+1 z&{z}}YXe%?h-6$bU24M>nSFKg-47WMF@!9>n8o8FAiwl*o1B%2{V3LU6k)j|O zA3#w75l3l!p@F}nouzzkTw}mMKK=e&SUe0 zEBSN=0A-|%r6N+XRt_M6!WD_>Tn0cPlR$wji^U{h9UVOIu8y9bSXT!O#={=J)E$RM zdpM%;SU0k#>rx`>2j~xO$vlPx8lrD*nWJv;=>Kx70{zh~AY{b=Oiv+?qukAWx=;i_ zv+j(9Is*;6>g++|r`#Ka>O~%Bf`!W+;rph-=IVk#8Blp{(9CcrQl&t(gKm+ zUmPSYH~B*(_?n?m$gV*&&Aya%>>v-l>blzIrkLe3&g`O=aa<2=$LJ9t`Y0Q|&hnXXFUo!EXwfZH^pX(O#Gg4NSJ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-&)pH$4$&XwFYT#x_BzfD`FoM?(9IMyzD zoyZm^5+8@olmellB3bEMt9iIP`@=@$e^Kblb4=UtR + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ +if (!$os) { + if (strpos($sysObjectId, '1.3.6.1.4.1.17163.1.1') !== false) { + $os = 'riverbed'; + } +} diff --git a/includes/polling/os/riverbed.inc.php b/includes/polling/os/riverbed.inc.php new file mode 100644 index 000000000..2cc99e319 --- /dev/null +++ b/includes/polling/os/riverbed.inc.php @@ -0,0 +1,14 @@ + + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ +$hardware = trim(snmp_get($device, '.1.3.6.1.4.1.17163.1.1.1.1.0', '-OQv'), '"'); +$serial = trim(snmp_get($device, '.1.3.6.1.4.1.17163.1.1.1.2.0', '-OQv'), '"'); +$version = trim(snmp_get($device, '.1.3.6.1.4.1.17163.1.1.1.3.0', '-OQv'), '"');