Whats wrong with negative numbers? I have been graphing negative numbers with Cacti 0.8.6c and rrdtool 1.0.49. Just don't forget to set the min setting for the data tempate to a negative number lower than what your device would output.TheWitness wrote:Ewwww, minus signs. You need Cacti 0.8.6d and RRDTool 1.2.x
Help needed to graph wireless signal strength
Moderators: Developers, Moderators
| 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 uninstalled Debian's version and installed Cacti from source.TheWitness wrote:Updating to 0.8.6d is as simple as replacing files. However, you installed from RPM, that could have a lasting affect if you were to do that. I am not too sure I can help.
TheWitness
the same problem...
this is a part of the log file....
Code: Select all
05/20/2005 04:10:03 PM - SYSTEM STATS: Time: 1.3071 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
05/20/2005 04:10:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/noc/public_html/cacti/rra/wifiuom_snmp_oid_8.rrd --template snmp_oid 1116594602:-77
05/20/2005 04:10:02 PM - CMDPHP: Poller[0] Time: 0.2040 s, Theads: N/A, Hosts: 1
05/20/2005 04:10:02 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
05/20/2005 04:10:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.106.0.218, dsname: snmp_oid, oid: .1.3.6.1.4.1.14988.1.1.1.2.1.3.0.2.111.33.50.21.4, output: -77
05/20/2005 04:10:02 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '10.106.0.218'.
05/20/2005 04:10:02 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
05/20/2005 04:10:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
05/20/2005 04:10:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
05/20/2005 04:10:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: /home/noc/public_html/cacti/script_server.php
05/20/2005 04:10:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /home/noc/public_html/cacti
05/20/2005 04:10:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /home/noc
05/20/2005 04:10:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
05/20/2005 04:10:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /home/noc/public_html/cacti/cmd.php 0 2]
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
What BSOD was referring to was the minimum value that your RRDfile will accept. You should change the data template to make the minimum value either "U" or some negative number.
Then, delete your existing RRD files and things should theoretically start to work.
TheWitness
Then, delete your existing RRD files and things should theoretically start to work.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
ok, i started from the beginning...
i installed from source:
cacti-0.8.6d
rrdtool-1.2.8
i went to graph templates.
checked SNMP - Generic OID Template and created a duplicate one.
i gave it a new name and set upper limit to -20 and lower limit to -100.
i saved it. Created a new device, using as host template "generic snmp-enabled host". I deleted SNMP interface statistics, since i dont need it..
Clicked create graphs for this host. Selected the duplicated template.
in Data source i set maximum value to 1, data type Gauge and added the appropriate oid.
when i tried to see the graph using debugging mode, i got this message:
RRDTool Says:
ERROR: opening '/home/noc/public_html/cacti/rra/wifiuom_snmp_oid_9.rrd': No such file or directory
Probably the poller.php script must run...
after a few minutes, the graph appears but it still contains no data..
your suggestions ?
this is the full debug log:
i installed from source:
cacti-0.8.6d
rrdtool-1.2.8
i went to graph templates.
checked SNMP - Generic OID Template and created a duplicate one.
i gave it a new name and set upper limit to -20 and lower limit to -100.
i saved it. Created a new device, using as host template "generic snmp-enabled host". I deleted SNMP interface statistics, since i dont need it..
Clicked create graphs for this host. Selected the duplicated template.
in Data source i set maximum value to 1, data type Gauge and added the appropriate oid.
when i tried to see the graph using debugging mode, i got this message:
RRDTool Says:
ERROR: opening '/home/noc/public_html/cacti/rra/wifiuom_snmp_oid_9.rrd': No such file or directory
Probably the poller.php script must run...
after a few minutes, the graph appears but it still contains no data..
your suggestions ?
this is the full debug log:
Code: Select all
05/20/2005 09:20:44 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /home/noc/public_html/cacti/cmd.php 0 3]
05/20/2005 09:20:44 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
05/20/2005 09:20:44 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /home/noc/public_html/cacti
05/20/2005 09:20:44 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /home/noc/public_html/cacti
05/20/2005 09:20:44 PM - PHPSVR: Poller[0] DEBUG: FILENM: /home/noc/public_html/cacti/script_server.php
05/20/2005 09:20:44 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
05/20/2005 09:20:44 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
05/20/2005 09:20:44 PM - CMDPHP: Poller[0] Host[3] PING: Host is Alive
05/20/2005 09:20:44 PM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
05/20/2005 09:20:44 PM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for '10.106.0.218'.
05/20/2005 09:20:44 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 10.106.0.218, dsname: snmp_oid, oid: .1.3.6.1.4.1.14988.1.1.1.2.1.3.0.48.79.41.253.207.3, output: -58
05/20/2005 09:20:44 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
05/20/2005 09:20:44 PM - CMDPHP: Poller[0] Time: 0.1543 s, Theads: N/A, Hosts: 1
05/20/2005 09:20:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool-1.2.8/bin/rrdtool update /home/noc/public_html/cacti/rra/wifiuom_snmp_oid_12.rrd --template snmp_oid 1116613244:-58
05/20/2005 09:20:45 PM - SYSTEM STATS: Time: 1.0229 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
05/20/2005 09:20:45 PM - EXPORT: Poller[0] Running graph export
05/20/2005 09:20:45 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool-1.2.8/bin/rrdtool graph /home/noc/public_html/images/cacti/thumb_10.png --imgformat=PNG --start=-86400 --end=-300 --title="WIFI@UOM - Signal Strength - bb-hadji" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=-100 --no-legend --vertical-label="dBm" DEF:a="/home/noc/public_html/cacti/rra/wifiuom_snmp_oid_12.rrd":snmp_oid:AVERAGE AREA:a#F5F800:""
05/20/2005 09:20:45 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool-1.2.8/bin/rrdtool graph /home/noc/public_html/images/cacti/graph_10_1.png --imgformat=PNG --start=-86400 --end=-300 --title="WIFI@UOM - Signal Strength - bb-hadji" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=-100 --vertical-label="dBm" DEF:a="/home/noc/public_html/cacti/rra/wifiuom_snmp_oid_12.rrd":snmp_oid:AVERAGE AREA:a#F5F800:"Signal Strength - bb-hadji" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
05/20/2005 09:20:45 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool-1.2.8/bin/rrdtool graph /home/noc/public_html/images/cacti/graph_10_2.png --imgformat=PNG --start=-604800 --end=-1800 --title="WIFI@UOM - Signal Strength - bb-hadji" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=-100 --vertical-label="dBm" DEF:a="/home/noc/public_html/cacti/rra/wifiuom_snmp_oid_12.rrd":snmp_oid:AVERAGE AREA:a#F5F800:"Signal Strength - bb-hadji" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
05/20/2005 09:20:45 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool-1.2.8/bin/rrdtool graph /home/noc/public_html/images/cacti/graph_10_3.png --imgformat=PNG --start=-2678400 --end=-7200 --title="WIFI@UOM - Signal Strength - bb-hadji" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=-100 --vertical-label="dBm" DEF:a="/home/noc/public_html/cacti/rra/wifiuom_snmp_oid_12.rrd":snmp_oid:AVERAGE AREA:a#F5F800:"Signal Strength - bb-hadji" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
05/20/2005 09:20:45 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool-1.2.8/bin/rrdtool graph /home/noc/public_html/images/cacti/graph_10_4.png --imgformat=PNG --start=-33053184 --end=-86400 --title="WIFI@UOM - Signal Strength - bb-hadji" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=-100 --vertical-label="dBm" DEF:a="/home/noc/public_html/cacti/rra/wifiuom_snmp_oid_12.rrd":snmp_oid:AVERAGE AREA:a#F5F800:"Signal Strength - bb-hadji" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
run from a shell script one time.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
i did thousands of times ;(TheWitness wrote:run from a shell script one time.
why are these values are represented as variables in log file ?
Code: Select all
GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
thats the rrdgraph syntax
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
if you would like me to look. I am online msm or aim?
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest