[someguy@observium-poc observium]# svn status
? html/images/os/baytech.png
M includes/definitions/os.inc.php
? includes/discovery/os/baytech.inc.php
? includes/discovery/sensors/baytech-mib.inc.php
? includes/polling/os/baytech-pdu.inc.php
? mibs/baytech
[someguy@observium-poc observium]# svn diff
Index: includes/definitions/os.inc.php
===================================================================
--- includes/definitions/os.inc.php (revision 6977)
+++ includes/definitions/os.inc.php (working copy)
@@ -3385,6 +3385,19 @@
$config['os'][$os]['mib_dirs'][] = "fiberroad";
$config['os'][$os]['mibs'][] = "XXX-MIB";
+// Baytech
+
+$os = "baytech-pdu";
+$config['os'][$os]['text'] = "Baytech PDU";
+$config['os'][$os]['type'] = "power";
+$config['os'][$os]['vendor'] = "Baytech";
+$config['os'][$os]['graphs'][] = "device_current";
+$config['os'][$os]['graphs'][] = "device_power";
+$config['os'][$os]['discovery_os'] = "baytech";
+$config['os'][$os]['mib_dirs'][] = "baytech";
+$config['os'][$os]['mibs'][] = "Baytech-MIB";
+
+
foreach ($config['os'] as $this_os => $blah)
{
if (isset($config['os'][$this_os]['group']))
[someguy@observium-poc observium]#