Graphing Issue

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
inowbelieve
Posts: 5
Joined: Fri Dec 16, 2005 1:54 pm
Location: Philadelphia

Graphing Issue

Post by inowbelieve »

I got my Cacti install working but now I'm having a problem creating graphs.

For all of the graphs I create on a Cisco 2811 I get the folowing out of the debug mode.

"ERROR: rpn expressions without DEF or CDEF variables are not supported"

When I run the poller from the command line I get

C:\Apache2\htdocs\cacti>php poller.php
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
OK u:0.01 s:0.01 r:0.87
OK u:0.01 s:0.01 r:0.87
ERROR: Not enough arguments
OK u:0.01 s:0.01 r:0.87
OK u:0.01 s:0.01 r:0.87
OK u:0.01 s:0.01 r:0.87
12/21/2005 02:18:34 PM - SYSTEM STATS: Time:2.0461 Method:cmd.php Processes:1 Threads:N
/A Hosts:4 HostsPerProcess:4 DataSources:20 RRDsProcessed:13
OK u:0.01 s:0.01 r:1.90
OK u:0.01 s:0.01 r:1.90
OK u:0.01 s:0.01 r:1.90
OK u:0.01 s:0.01 r:1.90
OK u:0.01 s:0.01 r:1.90
OK u:0.01 s:0.01 r:1.91
OK u:0.01 s:0.01 r:1.91
OK u:0.01 s:0.01 r:1.91

C:\Apache2\htdocs\cacti>

the only graphs that do show up are ones from the CPU however y do not have any text X or Y axis. Nothing but some graphing from ther CPU




Win XP
Cacti 0.8.6G
Cactid 0.8.6F
Apache 2.0.55
Net SNMP 5.2.1.1
RRD Tool 1.2.10
MySQL 4.1.16
PHP 5.1.1
inowbelieve
Posts: 5
Joined: Fri Dec 16, 2005 1:54 pm
Location: Philadelphia

Post by inowbelieve »

I fixed the

Can't find module errors.

I still have a issue with the graphs

I get an error from the poller
ERROR: Not enough arguments


and from the log file I have

12/21/2005 05:14:02 PM - SYSTEM STATS: Time:2.0706 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:20 RRDsProcessed:13
12/21/2005 05:14:01 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Turn the polling level in cacti to debug (Settings | Polling level) for one cycle and paste the output of the actual log file (./cacti/log/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
inowbelieve
Posts: 5
Joined: Fri Dec 16, 2005 1:54 pm
Location: Philadelphia

Post by inowbelieve »

Thanks for the help.

MY bad, I fixed the poller errors. They were refering to the local host, which is windows and the templates were Unix.

Here is the result of a clean poll, it aprears to be OK, however I still do not get a graph for any interafces. CPU's do work but with no legend or X/Y axis. Couild this also be a template issue? I'm graphing a Cisco 2811 using the In/Out Bits with 95th Percentile.


12/22/2005 08:21:06 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php-win.exe, ARGS: -q c:/apache2/htdocs/cacti/cmd.php 0 4]
12/22/2005 08:21:06 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/22/2005 08:21:06 AM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/apache2/htdocs/cacti
12/22/2005 08:21:06 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/apache2/htdocs/cacti
12/22/2005 08:21:06 AM - PHPSVR: Poller[0] DEBUG: FILENM: c:\Apache2\htdocs\cacti\script_server.php
12/22/2005 08:21:06 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/22/2005 08:21:06 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/22/2005 08:21:06 AM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
12/22/2005 08:21:06 AM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 2 items in the auto reindex cache for '10.39.128.1'.
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[3] DS[15] SNMP: v1: 10.39.128.1, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 0
12/22/2005 08:21:07 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\la_regional_office_5min_cpu_15.rrd --template 5min_cpu 1135257666:0
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[3] DS[40] SNMP: v1: 10.39.128.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 0
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[3] DS[40] SNMP: v1: 10.39.128.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 0
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[3] DS[41] SNMP: v1: 10.39.128.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 2416
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[3] DS[39] SNMP: v1: 10.39.128.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 2996658636
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[3] DS[39] SNMP: v1: 10.39.128.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 181470225
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[3] DS[41] SNMP: v1: 10.39.128.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 0
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 1 items in the auto reindex cache for 'rtr7965-997.pepboys.com'.
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[4] DS[32] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 655575594
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[4] DS[37] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.21, output: 0
12/22/2005 08:21:07 AM - CMDPHP: Poller[0] Host[4] DS[38] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.22, output: 199252324
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[38] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.22, output: 96105626
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[32] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 1197153710
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[37] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.21, output: 6478236
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[36] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.20, output: 1033157644
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[36] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.20, output: 585786695
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[34] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, output: 0
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[34] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, output: 0
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[35] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.19, output: 31249
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[35] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.19, output: 506
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[33] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, output: 15817719
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Host[4] DS[33] SNMP: v1: rtr7965-997.pepboys.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, output: 156520759
12/22/2005 08:21:08 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/22/2005 08:21:08 AM - CMDPHP: Poller[0] Time: 1.6913 s, Theads: N/A, Hosts: 2
12/22/2005 08:21:08 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\la_regional_office_traffic_in_40.rrd --template traffic_out:traffic_in 1135257666:0:0
12/22/2005 08:21:08 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\la_regional_office_traffic_in_41.rrd --template traffic_out:traffic_in 1135257666:2416:0
12/22/2005 08:21:08 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\la_regional_office_traffic_in_39.rrd --template traffic_out:traffic_in 1135257666:2996658636:181470225
12/22/2005 08:21:08 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\store_7965_traffic_in_32.rrd --template traffic_out:traffic_in 1135257666:655575594:1197153710
12/22/2005 08:21:08 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\store_7965_traffic_in_37.rrd --template traffic_in:traffic_out 1135257666:0:6478236
12/22/2005 08:21:08 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\store_7965_traffic_in_38.rrd --template traffic_out:traffic_in 1135257666:199252324:96105626
12/22/2005 08:21:08 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\store_7965_traffic_in_36.rrd --template traffic_out:traffic_in 1135257666:1033157644:585786695
12/22/2005 08:21:08 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\store_7965_traffic_in_34.rrd --template traffic_out:traffic_in 1135257666:0:0
12/22/2005 08:21:08 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\store_7965_traffic_in_35.rrd --template traffic_out:traffic_in 1135257666:31249:506
12/22/2005 08:21:08 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\store_7965_traffic_in_33.rrd --template traffic_out:traffic_in 1135257666:15817719:156520759
12/22/2005 08:21:08 AM - SYSTEM STATS: Time:2.0781 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:21 RRDsProcessed:11
12/22/2005 08:21:08 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php-win.exe, ARGS: -q C:/Apache2/htdocs/cacti/poller_commands.php]
12/22/2005 08:21:08 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php-win.exe, ARGS: -q C:/Apache2/htdocs/cacti/poller_export.php]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Well for most devices, it appears you're collecting data fine. Those which aren't, you might need to reindex them (click on the green circle for the associated data query).

1) Are the rrd files getting updated every 5 minutes?
2) When you say the Traffic graphs don't work, do you mean it shows NaN or the graphs simply don't show up at all?
3) rrdtool 1.2.12 was just released the other day, upgrade to that and see if it fixes your text problem.
4) For the 'RRDTool Default Font Path' did you specifiy a compelete path to a font (i.e. C:/WINDOWS/Fonts/VeraMono.ttf) ?
5) I suggest you read the guide in my signature.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests