Help:Got RRD, but No Data and no graphics

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

Moderators: Developers, Moderators

Post Reply
jimjiang
Posts: 2
Joined: Wed Sep 14, 2005 9:22 pm

Help:Got RRD, but No Data and no graphics

Post by jimjiang »

I read most of "No graphics" Topics here, and I still can not fix my problem.
I checked file path, wrong version, rrdtool font setting
when I open my rrd file, it was full of "?" mark.

By the way: I changed to use Net-SNMP , and stop all Windows SNMP service, and I also changed to Use Window SNMP. still no graphics

used:
win2000 sp4
php-5.0.4-Win32.zip
IIS5 With PHP ISAPI Mode
mysql-4.1.14-win32.zip
rrdtool-cygwin-1.2.11.zip
net-snmp-5.2.1.2-1.win32.exe
cacti-0.8.6f.zip
cacti-cactid-0.8.6e.zip

Out put:
C:\Inetpub\wwwroot\CactiWEB>php c:\inetpub\wwwroot\cactiweb\cmd.php
#!/usr/bin/php -q
09/15/2005 10:27:17 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
09/15/2005 10:27:17 AM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
09/15/2005 10:27:17 AM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items i
n the auto reindex cache for 'DataCenter'.
09/15/2005 10:27:17 AM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v1: DataCenter,
dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.16777220, output: 675622720
09/15/2005 10:27:17 AM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v1: DataCenter,
dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16777220, output: 1591038706
09/15/2005 10:27:17 AM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
09/15/2005 10:27:17 AM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 3 items i
n the auto reindex cache for 'GateOne'.
09/15/2005 10:27:17 AM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v2: GateOne, dsn
ame: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 51
09/15/2005 10:27:17 AM - CMDPHP: Poller[0] Time: 0.9211 s, Theads: N/A, Hosts: 3


C:\Inetpub\wwwroot\CactiWEB>php poller.php
09/15/2005 10:19:54 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:\cactid\cactid.exe, ARGS: 0 4]
Waiting on 1/1 pollers.
No log handling enabled - turning on stderr logging
NOTIFICATION-LOG-MIB: Module not found
NET-SNMP-AGENT-MIB: Module not found
Waiting on 1/1 pollers.
09/15/2005 10:19:56 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate C:\Inetpub\wwwroot\CactiWEB\rra\datacenter_traffic_in_11.rrd --template traf
fic_in:traffic_out 1126750795:1588501148:674549786
OK u:0.06 s:0.05 r:0.88
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
09/15/2005 10:19:59 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\Inetpub\wwwroot\CactiWEB\rra\gateone_proc_13.rrd --template proc 11267507
95:51
09/15/2005 10:19:59 AM - SYSTEM STATS: Time: 4.1085 s, Method: cactid, Processes
: 1, Threads: 1, Hosts: 4, Hosts/Process: 4, Data Sources 3, RRDs Processed 2
OK u:0.06 s:0.06 r:3.92

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

Post by BSOD2600 »

The graphs are generated by rrdtool.exe. Delete the rrd files with ? in their data and have cacti recreate them.

Does your webuser / cactiuser have read/execute rights to rrdtool.exe?
Did you configure IIS to use the proper ISAPI dll for php ?
jimjiang
Posts: 2
Joined: Wed Sep 14, 2005 9:22 pm

Post by jimjiang »

Thanks for your kindly Reply.

I do delete the empty rrd files, and every time I run <php poller.php> it shows Ok .file updated time is new date.

and I also give the IIS user R/E/W right of the PHP folder ,rrdtools folder and the CactiWeb folder

IIS ISAPI mode point to php5isapi.dll.

.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

IUSR has read/execute rights on cmd.exe, right ?
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please post a graphic. Also, post the Graph Debug from Graph Management.

On another note, there was a bug in the Host Disk and CPU that has a fix posted in the General Forum.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest