Motorola Canopy Data Query Templates [v2.0 - 2012-12-24]
Moderators: Developers, Moderators
Motorola Canopy Data Query Templates [v2.0 - 2012-12-24]
On the request of another forum user, I spent several hours re-writing the original Perl based Motorola Canopy scripts. It now utilizes a pure Cacti SNMP based Data Query. This is magnitudes faster then the old, which launches Perl for every query. Since the script now utilizes an XML file, it's trivial to add new OIDs which one wants to query. Additionally, it's much easier to change which OIDs are queried for a device by adding/modifying Data/Graph templates. I also modified and am including the Motorola interface script/template which oeyre had posted -- mostly renaming things to conform with the other templates. These scripts pull OIDs from the following MIB files: WHISP-APS-MIB, CMM3-MIB, WHISP-BOX-MIBV2-MIB, WHISP-SM-MIB.
I noticed the old method was querying and displaying a ghetto 'Ethernet Link Status'. I opted for modifying the existing 'SNMP - Interface Statistics' Data query. I added an additional field which made the ifOperStatus OID monitorable for things like the Thold plugin. Additionally, for those who still WANT it, I exposed the etherLinkStatus, gpsStatus, sessionStatus, and registeredToAp OIDs so it can be displayed on any graph with the textual data (i.e. add |query_etherLinkStatus| as a new graph item). The updated xml script and graph template are in the included 'Optional - Traffic OperStatus' subfolder of the download including install instructions.
The scripts have been tested against:
PMP100 AP 9.x
PMP400 AP 9.x
PMP100 SM 9.x
PMP400 SM 9.x
Canopy FSK 11.x
CMM Micro 3.x
These scripts add the following templates:
Data Query
Motorola Canopy - Access Point
Motorola Canopy - Access Point - Link Table
Motorola Canopy - CMM Micro - Stats
Motorola Canopy - CMM Traffic
Motorola Canopy - Subscriber Module
Download
http://docs.cacti.net/usertemplate:data:motorola:canopy
I noticed the old method was querying and displaying a ghetto 'Ethernet Link Status'. I opted for modifying the existing 'SNMP - Interface Statistics' Data query. I added an additional field which made the ifOperStatus OID monitorable for things like the Thold plugin. Additionally, for those who still WANT it, I exposed the etherLinkStatus, gpsStatus, sessionStatus, and registeredToAp OIDs so it can be displayed on any graph with the textual data (i.e. add |query_etherLinkStatus| as a new graph item). The updated xml script and graph template are in the included 'Optional - Traffic OperStatus' subfolder of the download including install instructions.
The scripts have been tested against:
PMP100 AP 9.x
PMP400 AP 9.x
PMP100 SM 9.x
PMP400 SM 9.x
Canopy FSK 11.x
CMM Micro 3.x
These scripts add the following templates:
Data Query
Motorola Canopy - Access Point
Motorola Canopy - Access Point - Link Table
Motorola Canopy - CMM Micro - Stats
Motorola Canopy - CMM Traffic
Motorola Canopy - Subscriber Module
Download
http://docs.cacti.net/usertemplate:data:motorola:canopy
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
These aren't inside a host template. They're in the Data Query section.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Motorola Canopy Data Query Templates [v1.0 - 2009-08-02]
I no longer have access to the testing hardware for the exact versions tested against.BSOD2600 wrote: The new scripts have been tested against:
PMP100 AP 9.x
PMP400 AP 9.x
PMP100 SM 9.x
PMP400 SM 9.x
CMM Micro 3.x
As you'll see though, the Data Query, just creates a 'fake' Index number, and then associates all of the various radio parameters with the Data Templates. Nothing really that fancy/hard.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: ERRO
SEARCH. this is covered many times.xurupita wrote:When I try to import the template, this message:
Error: XML: Hash version does not exist.
upgrade your cacti version.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 3
- Joined: Wed Nov 18, 2009 5:01 pm
Re: ERRO
BSOD2600 wrote:SEARCH. this is covered many times.xurupita wrote:When I try to import the template, this message:
Error: XML: Hash version does not exist.
upgrade your cacti version.
EDIT- got it.. I think, or at least didn't get an error haven't had time to see if it actually works.
Could not import the .xml files directly so I tried to copy/paste the text. Got different error trying to copy/paste it from IE , FF but then Crimson Editor it worked without errors... at least on the import.
----end edit----
Ok I am getting this error also.
(1) I just download the most brandnewest ISO of cacti EZ and installed it (Version 0.8.7c).
(2) I re-downloaded the zip, re-unzipped and re-uploaded and re-tried to import the templates.
(3) I re-booted the machine after I re-copied the files from \resources\snmp_queries into my var/www/html directory.
Still gives that error.
Re: ERRO
As stated above, this was exported with cacti 0.8.7e which will not import on older versions.spam.my.duck wrote:(1) I just download the most brandnewest ISO of cacti EZ and installed it (Version 0.8.7c).
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
about cmm template
Hello,
I need to know how to import these templates without upgrade Cacti version?
I have Cacti Version 0.8.7c
Toni
I need to know how to import these templates without upgrade Cacti version?
I have Cacti Version 0.8.7c
Toni
About CMM Micro
Ok seems it works after editing XML template. I changed only the index-version (based on http://docs.cacti.net/howto:determine_c ... te_version). AP and SM graphics are working fine except the CMM. It give me a strange values.
Any ideas?!
thnx
Any ideas?!
thnx
- Attachments
-
- cmm micro test.png (16.61 KiB) Viewed 21692 times
-
- Posts: 3
- Joined: Wed Nov 18, 2009 5:01 pm
Re: ERRO
My apologies. I assumed that since I just downloaded it from the cactiez website that I had the most current version. I see now that CactiEZ is still at .c while the rest of the cacti world has gone on to .eBSOD2600 wrote:As stated above, this was exported with cacti 0.8.7e which will not import on older versions.spam.my.duck wrote:(1) I just download the most brandnewest ISO of cacti EZ and installed it (Version 0.8.7c).
Why cactiez hasn't been upgraded, not sure. But follow the generic cacti upgrade instructions to get yourself to 0.8.7e.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I've been using the "old" Canopy templates for a relatively long time. As Motorola obsoleted old OIDs (several of which output integer values as text), I updated the data query to extract the integer values directly. This effectively deprecated the old version that used the perl script. I think this is true for everything except for the ethernet link status.
What happens to my existing templates if I import this newer version ('cause I think I want to take advantage of the cleaner architecture)?
Do these overwrite my old templates, or sit along side, or what?
I have almost 500 of the "old style", and I would not want to break all the ones that are working...
bp
What happens to my existing templates if I import this newer version ('cause I think I want to take advantage of the cleaner architecture)?
Do these overwrite my old templates, or sit along side, or what?
I have almost 500 of the "old style", and I would not want to break all the ones that are working...
bp
---------
The Glue Guy
The Glue Guy
Who is online
Users browsing this forum: No registered users and 6 guests