Motorola Canopy

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

Moderators: Developers, Moderators

Post Reply
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Finally =)

Post by gandalf »

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
If I only had access to such a devicem it would be a quite simple task. FInd some help at the first link of my sig. And if I remember correctly, I did a similar thing for one of my customers lately ...
Reinhard
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

If I could get you an 8.2.2 SM would you be able to create new PL's for it?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Nitr0 wrote:If I could get you an 8.2.2 SM would you be able to create new PL's for it?
Sure. Please pm for details
Reinhard
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Finally =)

Post by gandalf »

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
With 8.2.2, I've got them up and running, except for AP gpsStatus and Reg Count. Both are no longer available from the 8.2.2 device I had access to, even if the MIB still shows them. But even the WebInterface does not report this data.

Two graph templates require changes (remove --y-grid value as already mentioned above). Will post to the original thread at http://forums.cacti.net/viewtopic.php?p=16038#16038

Reinhard
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

Yes the AP Regcount and AP gps status are only available on Access Points. I do have an access point handy that I may be able to get you as well but it'll be a bit. In the meantime I thank you muchly for everything to get this working in 8.2.2. I'm sure this will be invaluable to many canopy operators.
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

Nitr0 wrote:Yes the AP Regcount and AP gps status are only available on Access Points. I do have an access point handy that I may be able to get you as well but it'll be a bit. In the meantime I thank you muchly for everything to get this working in 8.2.2. I'm sure this will be invaluable to many canopy operators.
I'm getting the following error when trying to import the XML.

"Error: XML: Hash version does not exist."

What can I do to resolve this?

Edit:
Cacti Version - 0.8.7
Plugin Architecture - 1.2
Poller Type - CMD.php
Server Info - Linux 2.6.9-67.0.4.plus.c4
Web Server - Apache/2.0.59 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, eAccelerator
MySQL - 5.0.54
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
  • Global Plugin Settings (settings - v0.2)
    Thresholds (thold - v0.3.6)
    Large Site Performane Booster for Cacti (boost - v1.6)
    Device Monitoring (monitor - v0.8)
    Network Discovery (discovery - v0.7)
    Network Tools (tools - v0.2)
    Syslog Monitoring (syslog - v0.5)
    Device Tracking (mactrack - v1.0)
    RRD Cleaner (rrdclean - v1.1)
    Update Checker (update - v0.3)
    FlowView (flowview - v0.3)
    Host Info (hostinfo - v0.1)
    Error Images (errorimage - v0.1)
    PHP Network Weathermap (weathermap - v0.93)
    Create Aggregate Graphs (aggregate - v0.63)
    Documents (docs - v0.1)
    report it! (ReportIt - v0.4.2)
    reports
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Exports where done with 087b.
But it's simple:
Visit the Graph Templates:
- Motorola Canopy - SM - Power Level (dBm)
- Motorola Canopy - SM - RSSI
and erase the "1" at Unit Grid Value (--unit/--y-grid); save
That's all
Reinhard
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

gandalf wrote:Exports where done with 087b.
But it's simple:
Visit the Graph Templates:
- Motorola Canopy - SM - Power Level (dBm)
- Motorola Canopy - SM - RSSI
and erase the "1" at Unit Grid Value (--unit/--y-grid); save
That's all
Reinhard
Oh that's easy enough. Thank you.

Edit: That works for RSSI but power level it doesn't work.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Visit the failing graph at Graph Management, switch to DEBUG and post output, please
Reinhard
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

gandalf wrote:Visit the failing graph at Graph Management, switch to DEBUG and post output, please
Reinhard
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="Ryan Ray - 10.1.101.50 - dBm" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/ryan_ray_-_10_1_101_50_dbm_790.rrd":dbm:AVERAGE \
AREA:a#FFAB00:"" \
GPRINT:a:LAST:"Current\:%8.2lf%s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:a:MAX:"Max\:%8.2lf%s" \
GPRINT:a:MIN:"Min\:%8.2lf%s"

RRDTool Says:

OK
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Does cacti show a broken graph or an empty one?
Reinhard
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

Empty
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Are you sure that the target responds to the OID requested? See second link of my sig for debugging
Reinhard
spiffydudex
Cacti User
Posts: 97
Joined: Thu Jul 24, 2008 11:21 am
Location: Hallsville, TX
Contact:

Post by spiffydudex »

The Canopy SM.

I am having an isue with graphing the dbm, tempature, and session status. The RSSI and jitter work correctly with no issues. I get an error in my log file (posted at the bottom)

A little back ground, we had an old machine doing all of our polling, but after a year of adding SMs' it was too much for the machine. So a new machine, installed the newest cacti 0.8.7b. Downloaded the newest canopy XML from this thread, installed. Then copied over all of the subscriber modules. All went well. I just have an issue with graphing.

We are using 0.8.7b with spine

Basically I get this in my Log

Code: Select all

07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DS[376] SCRIPT: /var/www/html/cacti/scripts/getCanopySmStats.pl 169.254.3.63 Canopy tempF, output: U  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DS[376] WARNING: Result from SCRIPT not valid. Partial Result: ...  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] ERROR: Empty result [169.254.3.63]: '/var/www/html/cacti/scripts/getCanopySmStats.pl 169.254.3.63 Canopy tempF'  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DEBUG: The POPEN returned the following File Descriptor 7  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DS[375] SCRIPT: /var/www/html/cacti/scripts/getCanopySmStats.pl 169.254.3.63 Canopy status, output: U  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DS[375] WARNING: Result from SCRIPT not valid. Partial Result: ...  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] ERROR: Empty result [169.254.3.63]: '/var/www/html/cacti/scripts/getCanopySmStats.pl 169.254.3.63 Canopy status'  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DEBUG: The POPEN returned the following File Descriptor 7  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DS[373] SCRIPT: /var/www/html/cacti/scripts/getCanopySmStats.pl 169.254.3.63 Canopy power, output: U  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DS[373] WARNING: Result from SCRIPT not valid. Partial Result: ...  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] ERROR: Empty result [169.254.3.63]: '/var/www/html/cacti/scripts/getCanopySmStats.pl 169.254.3.63 Canopy power'  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DEBUG: The POPEN returned the following File Descriptor 7  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DS[371] SCRIPT: /var/www/html/cacti/scripts/getCanopySmStats.pl 169.254.3.63 Canopy ethStatus, output: U  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] DS[371] WARNING: Result from SCRIPT not valid. Partial Result: ...  
07/24/2008 11:30:09 AM - SPINE: Poller[0] Host[67] ERROR: Empty result [169.254.3.63]: '/var/www/html/cacti/scripts/getCanopySmStats.pl 169.254.3.63 Canopy ethStatus'  
I have run in the termial

Code: Select all

perl /var/www/html/cacti/scripts/getCanopySmStats.pl 169.254.3.63 Canopy ethStatus
and it does return a proper value.

We have about 170 Subsciber modules that have this problem with graphing. So if anyone can help Please I would be more than appreciative.

Thanks for the help
-Andy
spiffydudex
Cacti User
Posts: 97
Joined: Thu Jul 24, 2008 11:21 am
Location: Hallsville, TX
Contact:

Post by spiffydudex »

I have disabled spine and tried using cmd.php

I get the same results...

Code: Select all

07/24/2008 03:05:26 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (390, 'jitter', '2008-07-24 15:05:25', '1')"  
07/24/2008 03:05:26 PM - CMDPHP: Poller[0] Host[69] DS[390] SNMP: v2: 169.254.2.110, dsname: jitter, oid: .1.3.6.1.4.1.161.19.3.2.2.3.0, output: 1  
07/24/2008 03:05:26 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (389, 'link_status', '2008-07-24 15:05:25', 'U')"  
07/24/2008 03:05:26 PM - CMDPHP: Poller[0] Host[69] DS[389] CMD: /var/www/html/cacti/scripts/getCanopySmStats.pl 169.254.2.110 Canopy ethStatus, output: U  
07/24/2008 03:05:26 PM - CMDPHP: Poller[0] Host[69] DS[389] WARNING: Result from CMD not valid. Partial Result:  
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests