Would it be helpful if I made it into a patch, opened a ticket in Jira, etc? 

Willing to take a stab at RF stats too.

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

Sometimes I wonder. But then we have to go back into past history of Motorola buying Orthogon Wireless (from whence the PTP400/600/800 products came), and then of course spinning off into Cambium… and do we really want to go there? ;-)
 
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Tuesday, October 28, 2014 1:17 PM
To: Observium Network Observation System
Subject: Re: [Observium] Newbie... Cambium PTP wireless sorta contribution
 
God, do these idiots use a separate MIB for every product?
 
adam.
 
------ Original Message ------
From: "Ron Marosko" <ron@rjr-services.com>
Sent: 10/28/2014 12:14:03 PM
Subject: [Observium] Newbie... Cambium PTP wireless sorta contribution
 
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
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