I competed the install of cacti yesterday. After working out several problems I was able to get the cacti interface up and to get the poller to begin creating RRD files. I still only receive the dreaded red X indicating that a picture can't be displayed in Internet Explorer.
I'm using the following versions of the tools involved..
rrdtool-cygwin-1.2.4
mysql-4.1.14-win32
php-5.0.5-Win32
cacti-0.8.6g
cacti-cactid-0.8.6e
net-snmp-5.2.1.2-1.win32
I'm attaching a copy of output from the cacti log file. (I've got it logging everything right now so there's a lot there) I'll also attach a copy of output from the poller.php.
I'll be glad to get some help!
More graph trouble, RRD have files but only red X displays
Moderators: Developers, Moderators
More graph trouble, RRD have files but only red X displays
- Attachments
-
- pollerotuput.txt
- (16.71 KiB) Downloaded 177 times
-
- 5mincactilog.zip
- (3.66 KiB) Downloaded 90 times
-
- Posts: 34
- Joined: Wed Sep 14, 2005 9:25 am
- Location: Omaha, NE
Graph Debug Output
Here's a copy of a graph debug output....
Warning: popen(c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="St. Louis S2S VPN and WAN Router - Traffic - ATM3/0-atm laye" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" --slope-mode DEF:a="C\:/cacti/rra/st_louis_s2s_vpn_and_wan_router_traffic_in_30.rrd":traffic_in:AVERAGE DEF:b="C\:/cacti/rra/st_louis_s2s_vpn_and_wan_router_traffic_in_30.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 2>&1,rb) [function.popen]: No error in C:\cacti\lib\rrd.php on line 94
Warning: fgets(): supplied argument is not a valid stream resource in C:\cacti\lib\rrd.php on line 117
Warning: popen(c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="St. Louis S2S VPN and WAN Router - Traffic - ATM3/0-atm laye" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" --slope-mode DEF:a="C\:/cacti/rra/st_louis_s2s_vpn_and_wan_router_traffic_in_30.rrd":traffic_in:AVERAGE DEF:b="C\:/cacti/rra/st_louis_s2s_vpn_and_wan_router_traffic_in_30.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 2>&1,rb) [function.popen]: No error in C:\cacti\lib\rrd.php on line 94
Warning: fgets(): supplied argument is not a valid stream resource in C:\cacti\lib\rrd.php on line 117
1) you've got a lot of data sources which are broken (hence the output of U in the debug) which you should fix.
2) Make sure your web user account has execute rights on cmd.exe
2) Make sure your web user account has execute rights on cmd.exe
| 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 |
Broken data sources and permissions.
Like Magic... It was permissions for user IUSR. I thought that I'd set those permissions to permit read and execute yesterday but found today that they are set to deny. I now see graphs with data. THANK YOU!
What should I do about the broken data sources you see? Can you suggest something that will correct this?
Thanks again for the help so far...
What should I do about the broken data sources you see? Can you suggest something that will correct this?
Thanks again for the help so far...
The data sources with dsname traffic_out/traffic_in can often be fixed by clicking on the green circle next to SNMP - Interface Statistics for the devices having problems.
If the indexes for the interfaces are constantly changing, you might want to change the re-index method to 'verify all fields', but this will result in a performance hit.
If the indexes for the interfaces are constantly changing, you might want to change the re-index method to 'verify all fields', but this will result in a performance hit.
| 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 2 guests