Motorola Canopy

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
trini18
Posts: 7
Joined: Tue Oct 10, 2006 9:07 pm

Post by trini18 »

I managed to install the xml files for the ap's and sm's for motorola canopy....the problem I'am having is that the jitter and rssi readings....them will not graph...the olny one that works is the sm counts....can someone tell me what am doing wrong...

the server is running cacti 0.8.6h on fedora core 3
pikes
Posts: 12
Joined: Fri Jun 30, 2006 2:14 pm

Post by pikes »

trini18 wrote:I managed to install the xml files for the ap's and sm's for motorola canopy....the problem I'am having is that the jitter and rssi readings....them will not graph...the olny one that works is the sm counts....can someone tell me what am doing wrong...

the server is running cacti 0.8.6h on fedora core 3
Did you upload both the .pl files in to the scripts directory?
geskorup
Posts: 24
Joined: Thu Nov 23, 2006 1:08 am

Post by geskorup »

I'm running 0.8.6h on FreeBSD 6.1. I had to modify the getCanopyApStatus.pl script to include the full path to snmpget and changed /usr/bin/perl to /usr/local/bin/perl at line 1. Then I chmod'd both the AP and SM scripts to 555 since I was getting permission denied errors. Now, I can collect temperature, ethernet link status, GPS status, etc., but cannot get any interface bandwidth stats. Is anyone else having the same problem on FreeBSD. I have a Linux machine polling Canopy APs and SMs and I get all of the data.

Thanks
oeyre
Posts: 15
Joined: Sun Aug 06, 2006 8:19 am
Location: Australia

Post by oeyre »

Hi again,

I'm trying to make an XML file that gets the 64 bit interface counters for an AP or SM however I seem to be having some issues.

I have created a Data Query and put my XML file into that, however when I add the Data Query into a host to use on I get the following message

Code: Select all

+ Running data query [12].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/canopy-interface.xml'
+ Error parsing XML file into an array.
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/canopy-interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/canopy-interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/canopy-interface.xml'
Here is my XML if its something simple such as syntax though I've read it a couple of times and couldnt see anything.

Code: Select all

<interface>
        <name>Motorola Canopy Ethernet & Wireless Interfaces</name>
        <description>Query a Motorola Canopy APSMBH for network interface traffic</description>
        <index_order_type>numeric</index_order_type>
        <oid_index>.1.3.6.1.2.1.2.2.1.1</oid_index>
        <fields>
                <ifIndex>
                        <name>Index</name>
                        <method>walk</method>
                        <source>value</source>
                        <direction>input</direction>
                        <oid>.1.3.6.1.2.1.2.2.1.1</oid>
                </ifIndex>
                <ifDescr>
                        <name>Interface Description</name>
                        <method>walk</method>
                        <source>value</source>
                        <direction>input</direction>
                        <oid>.1.3.6.1.2.1.2.2.1.2</oid>
                </ifDescr>
                <ifHCInOctets>
                        <name>InOctets 64 bit</name>
                        <method>walk</method>
                        <source>value</source>
                        <direction>output</direction>
                        <oid>.1.3.6.1.2.1.31.1.1.1.6</oid>
                </ifHCInOctets>
                <ifHCOutOctets>
                        <name>OutOctets 64 bit</name>
                        <method>walk</method>
                        <source>value</source>
                        <direction>output</direction>
                        <oid>.1.3.6.1.2.1.31.1.1.1.10</oid>
                </ifHCOutOctets>
        </fields>
</interface>
Any help appreciated
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please try my walkthrough for SNMP -> XML
Reinhard
oeyre
Posts: 15
Joined: Sun Aug 06, 2006 8:19 am
Location: Australia

Post by oeyre »

OK I found the problem it was the ampersand in the description :oops:

Seems to be mostly working now
cpdans
Posts: 43
Joined: Mon Oct 28, 2002 7:59 am

Problem graphing dbm and rssi

Post by cpdans »

I have been using your scripts now for several weeks and all is good except I can't get a graph for dbm and rssi levels. According to the logs I am collecting the data and putting it in the rrd file, it just isn't displaying anything on the graph. I am running Cacti 0.8.6j if this helps. Any ideas would be greatly appreciated.
tressler
Posts: 3
Joined: Thu May 31, 2007 10:27 am

Same problem...

Post by tressler »

I'm running into the same issue with Cacti using I or J. The power and rssi values return properly, but there is a problem with the graph template. I also noticed that in both versions, the power graph template is pointing to Data Sources [rssi].

I also turned on graph debug mode, and this is the error that I am getting:

RRD:
ERROR: invalid y-grid format

I'm more confused why this doesn't appear to be affecting anyone else. As I said earlier, I've tried both versions with the same problem...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post a screenshot of the Graph Template's y-grid setting. Some time ago, there was a substantial change for that very field
Reinhard
tressler
Posts: 3
Joined: Thu May 31, 2007 10:27 am

Post by tressler »

Well... I just figured it out. I was reading another post on the forum and they suggested something to the effect of disabling that value and it worked. What I did was modify the "Unit Grid Value" on the Graph Template, and set it to 0 and the graphs started to appear!
Attachments
post.JPG
post.JPG (83.22 KiB) Viewed 10170 times
georgew
Posts: 21
Joined: Sun May 22, 2005 11:25 am

strange problem

Post by georgew »

I've been running the motorola templates for a couple years on FreeBSD, and was able to solve any problems I had.

That machine died, and I've moved on to ubuntu 6.06 (LTS) under vmware... First I created an image of a working non-motorola install...
that is running fine in several places. So I have a working system.

Finally I get to building the one to monitor the motorola network.

When I import the AP template, the "SNMP - Interface Statistics" data query disappears from the list of data queries.

I've tried it over and over, and the whole data query disappears.

Ok, so I decide to add it back... I go through the painful motions of adding it, but I cannot get the associated data templates for In/Out Errors/Discarded Packets to accept any changes.

As far as I can tell my new ubuntu machines running Version 0.8.6h cannot accept the motorola templates.

So I remove cacti, and start over. Same thing.

Am I on the wrong version of cacti? Should I use a back version?

I used apt-get to do the install, and it installed Version 0.8.6h.

Is the apt-get package broken? Or is it incompatable with the templates for motorola? I see the website is on 0.86i now, is that the issue, I'm on a back-level?

I sorta wanted to stick to the apt-get version, so updates would work (managing dozens of machines is much easier if updates are easy 1 line commands)... As soon as I do a manual install, maintenance becomes a chore. Will a manual install even fix it? I don't think I dd anything wrong... Like I said I'm a long time cacti user...
litass
Posts: 25
Joined: Tue Oct 09, 2007 7:46 am

Post by litass »

One question

These scripts can run on XP box?
litass
Posts: 25
Joined: Tue Oct 09, 2007 7:46 am

Post by litass »

Can someone expert create 1 script for AP to capture power level (dBm) ?
jnelson2000
Posts: 6
Joined: Fri Oct 26, 2007 2:30 pm

Re: Finally =)

Post by jnelson2000 »

with 8.2.1 the current .pl files do not work for some values:

SM dbm
SM session status
AP gps status
AP Reg count
AP and SM Temp

Any chance you can update with a new .pl files and xml to reflect the changes MIBS from Moto
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Re: Finally =)

Post by Nitr0 »

jnelson2000 wrote:with 8.2.1 the current .pl files do not work for some values:

SM dbm
SM session status
AP gps status
AP Reg count
AP and SM Temp

Any chance you can update with a new .pl files and xml to reflect the changes MIBS from Moto
I would also like this.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests