SNMP Device without sysObjectId.0

Hi All,
I have a device which doesn't provide the SysObjectId.0. It start right away with the Enterprise entry's: SNMPv2-SMI::enterprises.14848.2.1.1.1.0 = STRING: "Version 1.62"
Is there a way to add such an device? The values I'm interested in are in the enterprise part of the mib and could be easily retreated by a custom OID.
But without an SysObjectId it seems impossible to add a device.
Any Suggestions?
Kind regards Andras

Hi,
seems as another china/indian device? ;)
For valid device adding required one of this OIDs to be exist on device: sysObjectID.0 or sysUpTime.0
If both OIDs not exist for device, use 'snmpable' os param. See example for os 'hikvision-cam':
$os = "hikvision-cam"; $config['os'][$os]['text'] = "Hikvision Network Camera"; $config['os'][$os]['type'] = "video"; $config['os'][$os]['vendor'] = "Hikvision"; $config['os'][$os]['discovery_os'] = "hikvision"; $config['os'][$os]['snmpable'][] = ".1.3.6.1.4.1.39165.1.1.0"; // This device complete not have sysObjectID.0 or sysUpTime.0 $config['os'][$os]['mibs'][] = "HIK-DEVICE-MIB";
Oberreiter Andreas wrote:
Hi All,
I have a device which doesn't provide the SysObjectId.0. It start right away with the Enterprise entry's: SNMPv2-SMI::enterprises.14848.2.1.1.1.0 = STRING: "Version 1.62"
Is there a way to add such an device? The values I'm interested in are in the enterprise part of the mib and could be easily retreated by a custom OID.
But without an SysObjectId it seems impossible to add a device.
Any Suggestions?
Kind regards Andras
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Hi,
The Device is from http://www.messpc.de
I've tried to add the following lines to includes/definitions/os.inc.php // MessPC $os = "messpc"; $config['os'][$os]['text'] = "MessPC Etherbox"; $config['os'][$os]['vendor'] = "MessPC"; $config['os'][$os]['type'] = "environment"; $config['os'][$os]['discovery_os'] = "messpc"; $config['os'][$os]['snmpable'][] = ".1.3.6.1.4.1.14848.2.1.1.1.0"; $config['os'][$os]['mibs'][] = "ETHERBOX-MIB";
I've put the ETHERBIX-MIB file in mibs/messpc/ETHERBOX-MIB
and restarted the Webserver. Then I tried to add the device again no change.
I can do a snmpwalk -v 1 -c public IP .1.3.6.1.4.1.14848
The result of snmpget -v 1 -c public 172.30.7.2 .1.3.6.1.4.1.14848.2.1.1.1.0 is SNMPv2-SMI::enterprises.14848.2.1.1.1.0 = STRING: "Version 1.62"
What did I wrong? I'm on the latest commercial Version 17.4.8476
Kind Regards Andreas
-----Ursprüngliche Nachricht----- Von: observium [mailto:observium-bounces@observium.org] Im Auftrag von Mike Stupalov Gesendet: Freitag, 28. April 2017 15:02 An: Observium Public Support observium@observium.org Betreff: Re: [Observium] SNMP Device without sysObjectId.0
Hi,
seems as another china/indian device? ;)
For valid device adding required one of this OIDs to be exist on device: sysObjectID.0 or sysUpTime.0
If both OIDs not exist for device, use 'snmpable' os param. See example for os 'hikvision-cam':
$os = "hikvision-cam"; $config['os'][$os]['text'] = "Hikvision Network Camera"; $config['os'][$os]['type'] = "video"; $config['os'][$os]['vendor'] = "Hikvision"; $config['os'][$os]['discovery_os'] = "hikvision"; $config['os'][$os]['snmpable'][] = ".1.3.6.1.4.1.39165.1.1.0"; // This device complete not have sysObjectID.0 or sysUpTime.0 $config['os'][$os]['mibs'][] = "HIK-DEVICE-MIB";
Oberreiter Andreas wrote:
Hi All,
I have a device which doesn't provide the SysObjectId.0. It start right away with the Enterprise entry's: SNMPv2-SMI::enterprises.14848.2.1.1.1.0 = STRING: "Version 1.62"
Is there a way to add such an device? The values I'm interested in are in the enterprise part of the mib and could be easily retreated by a custom OID.
But without an SysObjectId it seems impossible to add a device.
Any Suggestions?
Kind regards Andras
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

This device also not have sysDescr.0 too?
You also should add os detecting file (from $config['os'][$os]['discovery_os']): includes/discovery/os/messpc.inc.php
with content like this:
<?php
if (!$os) { // SNMPv2-SMI::enterprises.14848.2.1.1.1.0 = STRING: "Version 1.62" $data = snmp_get($device, '.1.3.6.1.4.1.14848.2.1.1.1.0', '-Osqnv'); if (strlen($data)) { $os = 'messpc'; } }
// EOF
And better os name: messpc-env
Oberreiter Andreas wrote:
Hi,
The Device is from http://www.messpc.de
I've tried to add the following lines to includes/definitions/os.inc.php // MessPC $os = "messpc"; $config['os'][$os]['text'] = "MessPC Etherbox"; $config['os'][$os]['vendor'] = "MessPC"; $config['os'][$os]['type'] = "environment"; $config['os'][$os]['discovery_os'] = "messpc"; $config['os'][$os]['snmpable'][] = ".1.3.6.1.4.1.14848.2.1.1.1.0"; $config['os'][$os]['mibs'][] = "ETHERBOX-MIB";
I've put the ETHERBIX-MIB file in mibs/messpc/ETHERBOX-MIB
and restarted the Webserver. Then I tried to add the device again no change.
I can do a snmpwalk -v 1 -c public IP .1.3.6.1.4.1.14848
The result of snmpget -v 1 -c public 172.30.7.2 .1.3.6.1.4.1.14848.2.1.1.1.0 is SNMPv2-SMI::enterprises.14848.2.1.1.1.0 = STRING: "Version 1.62"
What did I wrong? I'm on the latest commercial Version 17.4.8476
Kind Regards Andreas
-----Ursprüngliche Nachricht----- Von: observium [mailto:observium-bounces@observium.org] Im Auftrag von Mike Stupalov Gesendet: Freitag, 28. April 2017 15:02 An: Observium Public Support observium@observium.org Betreff: Re: [Observium] SNMP Device without sysObjectId.0
Hi,
seems as another china/indian device? ;)
For valid device adding required one of this OIDs to be exist on device: sysObjectID.0 or sysUpTime.0
If both OIDs not exist for device, use 'snmpable' os param. See example for os 'hikvision-cam':
$os = "hikvision-cam"; $config['os'][$os]['text'] = "Hikvision Network Camera"; $config['os'][$os]['type'] = "video"; $config['os'][$os]['vendor'] = "Hikvision"; $config['os'][$os]['discovery_os'] = "hikvision"; $config['os'][$os]['snmpable'][] = ".1.3.6.1.4.1.39165.1.1.0"; // This device complete not have sysObjectID.0 or sysUpTime.0 $config['os'][$os]['mibs'][] = "HIK-DEVICE-MIB";
Oberreiter Andreas wrote:
Hi All,
I have a device which doesn't provide the SysObjectId.0. It start right away with the Enterprise entry's: SNMPv2-SMI::enterprises.14848.2.1.1.1.0 = STRING: "Version 1.62"
Is there a way to add such an device? The values I'm interested in are in the enterprise part of the mib and could be easily retreated by a custom OID.
But without an SysObjectId it seems impossible to add a device.
Any Suggestions?
Kind regards Andras
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

If it makes you feel any better, the Motorola/Cambium Cluster Management Module doesn't respond to sysDescr.0 either. Closest OID it sends back is iso.3.6.1.2.1.1.1.0 = STRING: "Cmm4 3.0".
I've been tweaking to try to get it to discover properly, but apparently there's some code somewhere else in the system that is causing it to be classified as a "Hikvision Network Camera snmpModules.1.1.5.1" regardless of my attempts to make it be listed otherwise. :-(
...Ron
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Mike Stupalov Sent: Wednesday, May 03, 2017 10:21 AM To: Observium Public Support observium@observium.org Subject: Re: [Observium] SNMP Device without sysObjectId.0
This device also not have sysDescr.0 too?
You also should add os detecting file (from $config['os'][$os]['discovery_os']): includes/discovery/os/messpc.inc.php
with content like this:
<?php
if (!$os) { // SNMPv2-SMI::enterprises.14848.2.1.1.1.0 = STRING: "Version 1.62" $data = snmp_get($device, '.1.3.6.1.4.1.14848.2.1.1.1.0', '-Osqnv'); if (strlen($data)) { $os = 'messpc'; } }
// EOF
And better os name: messpc-env
Oberreiter Andreas wrote:
Hi,
The Device is from http://www.messpc.de
I've tried to add the following lines to includes/definitions/os.inc.php // MessPC $os = "messpc"; $config['os'][$os]['text'] = "MessPC Etherbox"; $config['os'][$os]['vendor'] = "MessPC"; $config['os'][$os]['type'] = "environment"; $config['os'][$os]['discovery_os'] = "messpc"; $config['os'][$os]['snmpable'][] = ".1.3.6.1.4.1.14848.2.1.1.1.0"; $config['os'][$os]['mibs'][] = "ETHERBOX-MIB";
I've put the ETHERBIX-MIB file in mibs/messpc/ETHERBOX-MIB
and restarted the Webserver. Then I tried to add the device again no change.
I can do a snmpwalk -v 1 -c public IP .1.3.6.1.4.1.14848
The result of snmpget -v 1 -c public 172.30.7.2 .1.3.6.1.4.1.14848.2.1.1.1.0 is SNMPv2-SMI::enterprises.14848.2.1.1.1.0 = STRING: "Version 1.62"
What did I wrong? I'm on the latest commercial Version 17.4.8476
Kind Regards Andreas
-----Ursprüngliche Nachricht----- Von: observium [mailto:observium-bounces@observium.org] Im Auftrag von Mike Stupalov Gesendet: Freitag, 28. April 2017 15:02 An: Observium Public Support observium@observium.org Betreff: Re: [Observium] SNMP Device without sysObjectId.0
Hi,
seems as another china/indian device? ;)
For valid device adding required one of this OIDs to be exist on device: sysObjectID.0 or sysUpTime.0
If both OIDs not exist for device, use 'snmpable' os param. See example for os 'hikvision-cam':
$os = "hikvision-cam"; $config['os'][$os]['text'] = "Hikvision Network Camera"; $config['os'][$os]['type'] = "video"; $config['os'][$os]['vendor'] = "Hikvision"; $config['os'][$os]['discovery_os'] = "hikvision"; $config['os'][$os]['snmpable'][] = ".1.3.6.1.4.1.39165.1.1.0"; // This device complete not have sysObjectID.0 or sysUpTime.0 $config['os'][$os]['mibs'][] = "HIK-DEVICE-MIB";
Oberreiter Andreas wrote:
Hi All,
I have a device which doesn't provide the SysObjectId.0. It start right away with the Enterprise entry's: SNMPv2-SMI::enterprises.14848.2.1.1.1.0 = STRING: "Version 1.62"
Is there a way to add such an device? The values I'm interested in are in the enterprise part of the mib and could be easily retreated by a custom OID.
But without an SysObjectId it seems impossible to add a device.
Any Suggestions?
Kind regards Andras
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.org _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Mike Stupalov
-
Oberreiter Andreas
-
Ron Marosko, Jr.