I can not create a grap
Moderators: Developers, Moderators
Alright, so back to following http://docs.cacti.net/node/283
| 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 |
hi, i follow the instruction to debug NaN.
When i perform above command, i get NaN return, i don't know how to continue the rest of commands.
What is this all about ?
Code: Select all
rrdtool fetch <rrd file> AVERAGE
What is this all about ?
and check the ds[...].min and ds[...].max entries, e.g.
Code:
ds[loss].min = 0.0000000000e+00
ds[loss].max = 1.0000000000e+02
In this example, MINIMUM = 0 and MAXIMUM = 100. For a ds.[...].type=GAUGE verify, that e.g. the number returned by the script does not exceed ds[...].MAX (same holds for MINIMUM, respectively).
If you run into this, please do not only update the data source definition within the Data Template, but perform a
Code:
rrdtool tune <rrd file> --maximum <ds-name>:<new ds maximum>
for all existing rrd files belonging to that Data Template.
That means cacti isn't getting data or updating the rrd files.litass wrote:When i perform above command, i get NaN return
Why not? While the specific examples are for linux, they are really close to the ones you use on Windows.litass wrote: i don't know how to continue the rest of commands.
| 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 |
BSOD2600,
what is the error ? I tried to create a templete to capture my canopy radio of power level http://motorola.canopywireless.com/supp ... PowerLevel
Code: Select all
10/17/2007 04:46:07 AM - CMDPHP: Poller[0] Host[11] DS[21] WARNING: Result from SNMP not valid. Partial Result:No Such Instance cur
10/17/2007 04:46:07 AM - CMDPHP: Poller[0] Host[11] DS[21] SNMP: v2: 10.171.0.2, dsname: avgPowerLevel, oid: 1.3.6.1.4.1.161.19.3.1.4.1.34, output: U
Just as the error states, the OID .1.3.6.1.4.1.161.19.3.1.4.1.34 is not valid. Manually snmpwalk it yourself and see.
| 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 |
Thanks.
I can get the reply as :
I can get the reply as :
from CActi log:C:\>snmpget -v2c -c Canopy 10.170.2.9 .1.3.6.1.4.1.161.19.3.1.4.1.34.2
SNMPv2-SMI::enterprises.161.19.3.1.4.1.34.2 = STRING: "-49"
my graph isn't NaN, but is 0 value, can guide?10/17/2007 10:06:08 AM - CMDPHP: Poller[0] Host[20] DS[48] SNMP: v2: 10.170.2.9, dsname: dbm, oid: .1.3.6.1.4.1.161.19.3.1.4.1.34.2, output: -49
Who ever created the template, didn't do a good job setting the min/max values. You need to edit the data template and make sure the min value is set to -100. Then edit the graph template and set its min to -100 (turn on auto scale). Lastly, you need to use rrdtool tune, and change the min size of the data field (or delete the file so cacti recreates it).
| 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 |
Hi BSOD2600, sorry for trouble u again.
I've tried to import a scripts & templates for capture Canopy Temperature, but failed.
This is my output:
I've tried to import a scripts & templates for capture Canopy Temperature, but failed.
This is my output:
10/18/2007 04:44:05 AM - CMDPHP: Poller[0] Host[28] DS[77] CMD: perl C:/Inetpub/wwwroot/cacti/scripts/getCanopyApStats.pl 10.170.2.13 Canopy tempC, output: U
10/18/2007 04:44:05 AM - CMDPHP: Poller[0] Host[28] DS[77] WARNING: Result from CMD not valid. Partial Result:
Can I simply create template without scripts?C:\>snmpwalk -v2c -c Canopy 10.170.2.13 .1.3.6.1.4.1.161.19.3.3.1.5.0
SNMPv2-SMI::enterprises.161.19.3.3.1.5.0 = STRING: "54°C/128°F"
You really should be posting the problem in the thread where you got this script from....
No, you don't have to use a perl script -- it can be anything. Since the Canopy Temperature device poorly represents the temperature (should separate the F and C into their own OID) as a String, instead of gauge, one must use a script to properly parse it out.
No, you don't have to use a perl script -- it can be anything. Since the Canopy Temperature device poorly represents the temperature (should separate the F and C into their own OID) as a String, instead of gauge, one must use a script to properly parse it out.
| 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 |
Who is online
Users browsing this forum: No registered users and 1 guest