Skip to content

Instantly share code, notes, and snippets.

@Torstein-Eide
Created October 10, 2019 18:50
Show Gist options
  • Save Torstein-Eide/83ad5392ffa83bf28f4cfb01738a49f6 to your computer and use it in GitHub Desktop.
Save Torstein-Eide/83ad5392ffa83bf28f4cfb01738a49f6 to your computer and use it in GitHub Desktop.
observium Lantech switch
$model = "lantech";
$config['model'][$model] = array(
'.1.3.6.1.4.1.37072.302.2.1' => array('name' => 'ipes-2208ca'),
'.1.3.6.1.4.1.37072.302.2.2' => array('name' => 'ies-2208ca'),
'.1.3.6.1.4.1.37072.302.2.3' => array('name' => 'ipes-3408gsfp'),
'.1.3.6.1.4.1.37072.302.2.8' => array('name' => 'ipes-2208cb'),
);
// Lantech
//// ies-2208ca
$os = "Lantech-Switch";
$config['os'][$os]['text'] = "Lantech Switch";
$config['os'][$os]['vendor'] = "Lantech";
$config['os'][$os]['type'] = "network";
$config['os'][$os]['model'] = "lantech"; // Per-HW MIBs and hardware names
$config['os'][$os]['remote_access'] = array('ssh', 'http', 'telnet');
$config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.37072.302.2.2"; // ies-2208ca
$config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.37072.302.2.8"; // ipes-2208cb
$config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.37072.302.2.1"; // ipes-2208ca
$config['os'][$os]['mib_blacklist'][] = "UCD-SNMP-MIB";
$config['os'][$os]['mib_blacklist'][] = "CISCO-CDP-MIB";
$config['os'][$os]['mib_blacklist'][] = "BGP4-MIB";
$config['os'][$os]['mib_blacklist'][] = "ADSL-LINE-MIB";
$config['os'][$os]['mib_blacklist'][] = "DISMAN-PING-MIB";
$config['os'][$os]['mib_blacklist'][] = "MIB-Dell-10892";
$config['os'][$os]['mib_blacklist'][] = "LSI-MegaRAID-SAS-MIB";
$config['os'][$os]['mib_blacklist'][] = "SUPERMICRO-HEALTH-MIB";
$config['os'][$os]['mib_blacklist'][] = "CPQSINFO-MIB";
$config['os'][$os]['mib_blacklist'][] = "HOST-RESOURCES-MIB";
$config['os'][$os]['mib_blacklist'][] = "OSPF-MIB";
//// ipes-3408gsfp, supports "HOST-RESOURCES-MIB"
$os = "Lantech-Switch";
$config['os'][$os]['text'] = "Lantech Switch";
$config['os'][$os]['model'] = "lantech"; // Per-HW MIBs and hardware names
$config['os'][$os]['vendor'] = "Lantech";
$config['os'][$os]['remote_access'] = array('ssh', 'http', 'telnet');
$config['os'][$os]['type'] = "network";
$config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.37072.302.2.3"; // ipes-3408gsfp
$config['os'][$os]['mib_blacklist'][] = "UCD-SNMP-MIB";
$config['os'][$os]['mib_blacklist'][] = "CISCO-CDP-MIB";
$config['os'][$os]['mib_blacklist'][] = "BGP4-MIB";
$config['os'][$os]['mib_blacklist'][] = "ADSL-LINE-MIB";
$config['os'][$os]['mib_blacklist'][] = "DISMAN-PING-MIB";
$config['os'][$os]['mib_blacklist'][] = "MIB-Dell-10892";
$config['os'][$os]['mib_blacklist'][] = "LSI-MegaRAID-SAS-MIB";
$config['os'][$os]['mib_blacklist'][] = "SUPERMICRO-HEALTH-MIB";
$config['os'][$os]['mib_blacklist'][] = "CPQSINFO-MIB";
$config['os'][$os]['mib_blacklist'][] = "OSPF-MIB";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment