Hi,
I'm trying to add Clavister cOS as a supported OS, but without success.What I've done:
- Edit includes/definitions/os.inc.php:$os = "clavister";$config['os'][$os]['vendor'] = "Clavister";$config['os'][$os]['text'] = "Clavister cOS";$config['os'][$os]['type'] = "network";$config['os'][$os]['icon'] = "clavister";$config['os'][$os]['graphs'][] = "device_bits";$config['os'][$os]['graphs'][] = "device_processor";$config['os'][$os]['graphs'][] = "device_mempool";$config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.5089.1";$config['os'][$os]['sysDescr'][] = "/^Clavister/";$config['os'][$os]['mibs'][] = "CLAVISTER-MIB";$config['os'][$os]['mibs'][] = "CLAVISTER-SMI-MIB";
- create includes/discovery/os/clavister.inc.php:<?php if (strstr($sysObjectId, ".1.3.6.1.4.1.5089.1")) { $os = "clavister"; } else if (preg_match("/^Clavister/", $sysDescr)) { $os = "clavister"; }
- created the CLAVISTER-MIB & CLAVISTER-SMI-MIB (downloaded from the vendor website) under the mibs folder
When I add such a device and run the discovery & poller, it seems as the Clavister MIBs are not used.The OS type is detected though?
##### devicename [338] #####
o OS clavister o Last poll duration 0.42 seconds o Last Polled 2015-12-10 01:28:30 o SNMP Version v2c o Device status Device is reachable by PING (0.36ms) and SNMP (7.20ms) o Modules Excluded ipmi, junose-atm-vp, cisco-ipsec-flow-monitor, cisco-remote-access-monitor, cisco-cef, arista-software-ip-forwarding,cipsec-tunnels, cisco-cbqos, cisco-eigrp, netscaler-vsvr, aruba-controller o Disabled Globally unix-agent, cisco-vpdn, wmi o Modules Enabled system, os, sensors, status, processors, mempools, storage, netstats, hr-mib, ucd-mib, ipSystemStats, ports, bgp-peers, toner,ucd-diskio, wifi, p2p-radios, ospf, sla, mac-accounting, loadbalancer, entity-physical, applications, fdb-table, graphs,oids
##### Module Start: system #####
o Uptime 8 days, 1h 57m 55s o sysObjectID .1.3.6.1.4.1.5089.1 o snmpEngineID o sysDescr Clavister cOS Core 10.21.02.01-25325 o sysName n/a o Location N/A o Module time 0.0578s
##### Module Start: os #####
o OS Poller Generic...
What am I doing wrong?