Ok, I didn't know that.Then I'd like to submit a feature request to add support for this OS :)
From: adama@memetic.org
To: observium@observium.org
Date: Thu, 10 Dec 2015 00:39:55 +0000
Subject: Re: [Observium] Clavister device as new OS
Your mistake is thinking that MIBs are useful :)
What did you think they'd be used for? They aren't drivers, there's no standardised way for them to tell an nms what they are describing.
Adding support for new MIBs involves writing code which makes use of the MIBs to make sense of the device's SNMP output.
Adam.
Sent with AquaMail for Android
http://www.aqua-mail.comOn 10 December 2015 00:35:48 Gregory Storme <gregory_storme@hotmail.com> wrote:
_______________________________________________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:<?phpif (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 folderWhen 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 clavistero Last poll duration 0.42 secondso Last Polled 2015-12-10 01:28:30o SNMP Version v2co 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-controllero Disabled Globally unix-agent, cisco-vpdn, wmio 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 55so sysObjectID .1.3.6.1.4.1.5089.1o snmpEngineIDo sysDescr Clavister cOS Core 10.21.02.01-25325o sysName n/ao Location N/Ao Module time 0.0578s##### Module Start: os #####o OS Poller Generic...What am I doing wrong?
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--Mike Stupalov
http://observium.org/