No line in graph and some weird legend

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

Moderators: Developers, Moderators

Post Reply
cupu
Posts: 4
Joined: Fri Jul 15, 2005 3:12 am

No line in graph and some weird legend

Post by cupu »

Dear all,

I'am new with this stuff, so can you help me to solve this problem.
I use : WinXP, Apache 2.0.54, Cacti 0.8.6f, PHP 5.0.4, mySQL 4.1.12, ActivePerl 5.8.7, RRDTool 1.2.10.

And this is log in graph debug mode :
RRD tools say : ok

And this is log in cacti log :
07/15/2005 03:33:26 PM - SYSTEM STATS: Time: 1.2117 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 20, RRDs Processed 10
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Time: 0.6501 s, Theads: N/A, Hosts: 2
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[17] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.135, output: 3383662764
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[17] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.135, output: 532498357
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[16] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.134, output: 315018438
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[16] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.134, output: 778591633
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.133, output: 3165445664
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.133, output: 1169579094
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[14] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.132, output: 3356622592
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[14] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.132, output: 1490583984
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.131, output: 2970790891
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.131, output: 3583730037
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.130, output: 689308155
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.130, output: 3054765198
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.129, output: 225487555
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.129, output: 795694852
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.128, output: 2803127025
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.128, output: 1277816394
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65, output: 187393487
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65, output: 67531183
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.64, output: 1206951191
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.64, output: 169948372
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
07/15/2005 03:33:26 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
07/15/2005 03:33:26 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd

And the problem is in the graph, because there is no line at all and some weird legend which has value "-1.#J", what is that mean ?
Can you give me some help what cause that trouble ?
Here is the example graph.
Attachments
The graph
The graph
graph_image.png (19.51 KiB) Viewed 1778 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

-1J means there is no valid data to graph.

Turn the polling level in cacti to debug for one cycle and paste the output of the log file. If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.

Are the rrd files even created / being updated?
cupu
Posts: 4
Joined: Fri Jul 15, 2005 3:12 am

Post by cupu »

Thanks for reply, here's the log file you ask. Hope that's can help to solve my problem.

07/18/2005 04:39:54 PM - SYSTEM STATS: Time: 1.2770 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 20, RRDs Processed 10
07/18/2005 04:39:54 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_17.rrd --template traffic_in:traffic_out N:49880528:568556136
07/18/2005 04:39:54 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe create E:\Apache2\htdocs\cacti/rra/nortel_traffic_in_17.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
07/18/2005 04:39:54 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_16.rrd --template traffic_in:traffic_out N:70862709:966011048
07/18/2005 04:39:54 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe create E:\Apache2\htdocs\cacti/rra/nortel_traffic_in_16.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
07/18/2005 04:39:54 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_15.rrd --template traffic_in:traffic_out N:245317098:1755140822
07/18/2005 04:39:54 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe create E:\Apache2\htdocs\cacti/rra/nortel_traffic_in_15.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
07/18/2005 04:39:54 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_14.rrd --template traffic_in:traffic_out N:496581522:2823889255
.
.
.
.
.
The rrd files are not updated since first i run poller.php, how come ?
cupu
Posts: 4
Joined: Fri Jul 15, 2005 3:12 am

Post by cupu »

Hello, i think its gonna better this time.
Cause the legend has value "NaN" now, can you tell me what it's mean ?
And this is my new log, please help me again :D

07/18/2005 07:08:35 PM - SYSTEM STATS: Time: 2.2232 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 20, RRDs Processed 10
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Time: 0.7233 s, Theads: N/A, Hosts: 2
07/18/2005 07:08:34 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_17.rrd --template traffic_in:traffic_out 1121688513:54117190:603110983
07/18/2005 07:08:34 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_16.rrd --template traffic_in:traffic_out 1121688513:84243791:1318902398
07/18/2005 07:08:34 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_15.rrd --template traffic_in:traffic_out 1121688513:1640878065:2093280609
07/18/2005 07:08:34 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_14.rrd --template traffic_in:traffic_out 1121688513:607051400:3644886826
07/18/2005 07:08:34 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_13.rrd --template traffic_in:traffic_out 1121688513:740554586:4197746607
07/18/2005 07:08:34 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_12.rrd --template traffic_in:traffic_out 1121688513:1581536038:2519949911
07/18/2005 07:08:34 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_11.rrd --template traffic_in:traffic_out 1121688513:2584857193:1600797970
07/18/2005 07:08:34 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_10.rrd --template traffic_in:traffic_out 1121688513:2118882418:2834570416
07/18/2005 07:08:34 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_9.rrd --template traffic_in:traffic_out 1121688513:75161568:453765815
07/18/2005 07:08:34 PM - POLLER: Poller[0] CACTI2RRD: e:\rrdtool\rrdtool.exe update E:\Apache2\htdocs\cacti\rra\nortel_traffic_in_8.rrd --template traffic_in:traffic_out 1121688513:3898541:538755280
07/18/2005 07:08:34 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[17] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.135, output: 603110983
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[17] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.135, output: 54117190
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[16] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.134, output: 1318902398
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[16] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.134, output: 84243791
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.133, output: 2093280609
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.133, output: 1640878065
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[14] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.132, output: 3644886826
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[14] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.132, output: 607051400
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.131, output: 4197746607
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.131, output: 740554586
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.130, output: 2519949911
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.130, output: 1581536038
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.129, output: 1600797970
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.129, output: 2584857193
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.128, output: 2834570416
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.128, output: 2118882418
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65, output: 453765815
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65, output: 75161568
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 10.11.10.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.64, output: 538755280
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 10.11.10.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.64, output: 3898541
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '10.11.10.2'.
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] Host[2] PING: Host is Alive
07/18/2005 07:08:34 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
07/18/2005 07:08:34 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
07/18/2005 07:08:34 PM - PHPSVR: Poller[0] DEBUG: FILENM: e:\Apache2\htdocs\cacti\script_server.php
07/18/2005 07:08:34 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: e:/apache2/htdocs/cacti
07/18/2005 07:08:34 PM - PHPSVR: Poller[0] DEBUG: GETCWD: e:/php
07/18/2005 07:08:34 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
07/18/2005 07:08:33 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: e:\php\php-win.exe, ARGS: -q e:\apache2\htdocs\cacti/cmd.php 0 2]

Thanks for the attention
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Your logs appear fine. Could be a permission issue.

1) Does the user who runs the scheduled task, have the proper rights to write to the rrd files/folder ? What about the Network service user?
2) If you run: php poller.php in the cacti directory, do the rrd files get updated?
cupu
Posts: 4
Joined: Fri Jul 15, 2005 3:12 am

Post by cupu »

i don't think this is permission issue, because i use administrator permission to run is scheduled task. So i think he has the permission to read and write to the the rrd files.
.
.
.
.
hey, it works. how come ?
is it must running php poller.php in the cacti directory first to show the graph ? because after i run that command and refresh my graph, and "ta da" its works well.
thanks for the assistance BSOD2600.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests