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.com

On 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:
<?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?


_______________________________________________
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