Howdy Mike,

 

I had sent these to Adam previously, but it doesn’t look like they actually made it into a commit.

 

As Cambium have separate MIB archives for their PTP vs PMP products, there is no “single” full archive that I am aware.

 

…Ron

 

From: mike@stupalov.ru [mailto:mike@stupalov.ru] On Behalf Of Mike Stupalov
Sent: Friday, November 07, 2014 12:14 PM
To: Observium Network Observation System
Cc: Ron Marosko
Subject: Re: [Observium] Newbie... Cambium PTP wireless sorta contribution

 

Ron,
 send additionally MIB files (CAMBIUM-PTP800-MIB, MOTOROLA-PTP-MIB).

Full vendor MIB archive for Cambium would be even better.

 

On Tue, Oct 28, 2014 at 9:14 PM, Ron Marosko <ron@rjr-services.com> wrote:

Greetings,

 

New to the product, new to the list, trying it out to see if this will work for us… and I like what I see so far.

 

I note with glee the upcoming support of the Cambium Canopy products with the patch filed under OBSERVIUM-1055, but also see that it’s only for the PMP product line.

 

Now it’s important to note I’m a network engineer, not a coder, so I’m not sure how to go about some of the more (heck, even the lesser!) intricate details of PHP programming. I’ve been able to make it as far as the following for the os.inc.php include, but submission of same for the project… I have no idea how to go about doing, and again I’ll point back to not being someone who knows how to write code.

 

Just for testing sake, I put the following stuff into my own installation and tested, the discovery php is properly discovering/classifying the devices, and the poller phps being called are fetching the proper information from the devices.

 

Thus, I submit for further determination for the os.inc.php:

 

// Cambium PTP800

$os = "ptp800";

$config['os'][$os]['text']              = "Cambium PTP800";

$config['os'][$os]['type']              = "wireless";

$config['os'][$os]['icon']              = "cambium";

$config['os'][$os]['sysObjectID'][]     = ".1.3.6.1.4.1.17713.8";

$config['os'][$os]['mibs'][]            = "CAMBIUM-PTP800-V2-MIB";

 

// Cambium PTP400/600

$os = "ptp400";

$config['os'][$os]['text']              = "Cambium PTP400/600";

$config['os'][$os]['type']              = "wireless";

$config['os'][$os]['icon']              = "cambium";

$config['os'][$os]['sysObjectID'][]     = ".1.3.6.1.4.1.17713.1";

$config['os'][$os]['mibs'][]            = "MOTOROLA-PTP-MIB";

 

For the polling/os part, I submit:

ptp800.inc.php

$version = trim(snmp_get($device, "CAMBIUM-PTP800-MIB::softwareVersion.0", "-OQv"),'"');

$hardware = trim(snmp_get($device, "CAMBIUM-PTP800-MIB::productName.0", "-OQv"),'"');

$serial = trim(snmp_get($device, "CAMBIUM-PTP800-MIB::rFUSerial.0", "-OQv"),'"');

 

ptp400.inc.php

$version = trim(snmp_get($device, "MOTOROLA-PTP-MIB::softwareVersion.0", "-OQv"),'"');

$hardware = trim(snmp_get($device, "MOTOROLA-PTP-MIB::productName.0", "-OQv"),'"');

 

Now there are a lot of other pollable items in the MIBs, but I have no idea how to integrate any graphs or anything like that... I was looking (or trying to look at) the canopy.inc.php that is part of the -1055 patch, but it looks like a lot of gobbledygook to me…. just like Cisco router/switch configs may look to some of ya’ll.

 

Thus, if anyone can help with the PHP side of the stuff, I can handle the networking side…

 

Regards,

      Ron

 

--

Ron Marosko, Jr.

. . . . . . . . . . . . . . . . . . . . . . . . . .

CCIE No. 4526 (R/S), NN5DX

Senior Network Engineer

DirectBytes, LLC.

1108 West Dickinson Blvd, Suite A

Fort Stockton, TX 79735 USA

o: +1 432 336 5600 x115

c: +1 432 290 6344

e: ron@rjr-services.com

pgp pubkey: 0x58AB8B5C

"To know me is to fly with me."

 

 

 

 


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

 



--

Mike Stupalov
http://observium.org/