need help, no graph ( apache 1.3 )

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

Moderators: Developers, Moderators

Post Reply
qzplx
Posts: 11
Joined: Fri Nov 26, 2004 4:05 am

need help, no graph ( apache 1.3 )

Post by qzplx »

hello i need ur help after instalation, i used :

apache 1.3.33
PHP 4.3.10
mysql 4.1.8

cacti-0.8.6d
ActivePerl-5.8.6.811-MSWin32-x86-122208
net-snmp-5.2.1-1.win32
rrdtool-cygwin-1.2.9

i stil havent my graph yet, after running poller i found this

C:\>d:\webserver\php\php.exe d:\webserver\www\cacti\cmd.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)
Content-type: text/html
X-Powered-By: PHP/4.3.10

what next should i do ??
qzplx
Posts: 11
Joined: Fri Nov 26, 2004 4:05 am

Post by qzplx »

here's my log files..

06/03/2005 11:22:37 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686151 --end=1117772551 --title="Localhost - Processes" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/02 11\:22\:31 To 2005/06/03 11\:22\:31\c" COMMENT:" \n" --vertical-label="processes" DEF:a="d\:\webserver\www\cacti/rra/localhost_proc_7.rrd":proc:AVERAGE AREA:a#F51D30:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
06/03/2005 11:22:36 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686151 --end=1117772551 --title="Localhost - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2005/06/02 11\:22\:31 To 2005/06/03 11\:22\:31\c" COMMENT:" \n" --vertical-label="processes in the run queue" DEF:a="d\:\webserver\www\cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE DEF:b="d\:\webserver\www\cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE DEF:c="d\:\webserver\www\cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1117772256,GT,a,a,UN,0,a,IF,IF,TIME,1117772256,GT,b,b,UN,0,b,IF,IF,TIME,1117772256,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINT:b:LAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:""
06/03/2005 11:22:36 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686151 --end=1117772551 --title="Localhost - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/02 11\:22\:31 To 2005/06/03 11\:22\:31\c" COMMENT:" \n" --vertical-label="users" DEF:a="d\:\webserver\www\cacti/rra/localhost_users_6.rrd":users:AVERAGE AREA:a#4668E4:"Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
06/03/2005 11:22:35 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686151 --end=1117772551 --title="Localhost - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/02 11\:22\:31 To 2005/06/03 11\:22\:31\c" COMMENT:" \n" --vertical-label="kilobytes" DEF:a="d\:\webserver\www\cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE DEF:b="d\:\webserver\www\cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE AREA:a#FF4105:"Free" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" STACK:b#FFC73B:"Swap" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s"
06/03/2005 11:22:34 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686151 --end=1117772551 --title="Localhost - Traffic - 192.168.0.245 (Realtek RTL8139)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/02 11\:22\:31 To 2005/06/03 11\:22\:31\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="d\:\webserver\www\cacti/rra/localhost_traffic_in_10.rrd":traffic_in:AVERAGE DEF:b="d\:\webserver\www\cacti/rra/localhost_traffic_in_10.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"


i hope anyone can help, cuz, this is my 1st time use cacti :P
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Just as in other posts where people cant graph (search, there are dozens).... disable logging of Web Events. Clear the log file. Turn the polling event level to debug for one cycle, and post the log.
qzplx
Posts: 11
Joined: Fri Nov 26, 2004 4:05 am

Post by qzplx »

ok, here you go..

06/03/2005 02:06:13 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117695970 --end=1117782370 --title="Localhost - Traffic - 192.168.0.245 (Realtek RTL8139)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/02 14\:06\:10 To 2005/06/03 14\:06\:10\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="d\:\webserver\www\cacti/rra/localhost_traffic_in_10.rrd":traffic_in:AVERAGE DEF:b="d\:\webserver\www\cacti/rra/localhost_traffic_in_10.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"
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

First, please set your MIBDIRS environment variable to get rid of the issues. Second, goto DEBUG mode and run "php <path_cacti>/cmd.php again. If you get output, then run "php <path_cacti>/poller.php".

If you still have not figured it out, post the results from the prior two commands. Again, please insure "Settings->General->Logging Level" is DEBUG.

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?
qzplx
Posts: 11
Joined: Fri Nov 26, 2004 4:05 am

Post by qzplx »

TheWitness wrote:First, please set your MIBDIRS environment variable to get rid of the issues. TheWitness
hi,...

thanks for the info
im a newbie in snmp and i dont know how to set the mibdirs envi... i just try to install net-snmp, and follow the instruction, and integrate it with mod perl. just that...

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

Post by BSOD2600 »

Did you read http://www.cacti.net/downloads/docs/htm ... ndows.html in full? Apparently not, since it says how to set the MIBDIRS in step #4.
qzplx
Posts: 11
Joined: Fri Nov 26, 2004 4:05 am

Post by qzplx »

BSOD2600 wrote:Did you read http://www.cacti.net/downloads/docs/htm ... ndows.html in full? Apparently not, since it says how to set the MIBDIRS in step #4.
thanks bsod...
yup i forgot that step, but after that i do this step :

go to my cacti and setting - general, at "Poller Specific Logging" section i set to DEBUG and at

Poller Syslog/Eventlog Selection i ceklist all item

snmp default ver2

net snmp 1.5x
rrd 1.2x

after that, try cmd.php and poller.php

with php <cacti>/cmd.php
with php <cacti>/poller.php

and i still have the same result :

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)

its my third days for troubleshoot this matter.....

any suggestion ??
qzplx
Posts: 11
Joined: Fri Nov 26, 2004 4:05 am

Post by qzplx »

here's my log files

06/07/2005 03:21:44 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1118046097 --end=1118132497 --title="Localhost - Processes" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/06 15\:21\:37 To 2005/06/07 15\:21\:37\c" COMMENT:" \n" --vertical-label="processes" DEF:a="d\:\webserver\www\cacti/rra/localhost_proc_7.rrd":proc:AVERAGE AREA:a#F51D30:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
qzplx
Posts: 11
Joined: Fri Nov 26, 2004 4:05 am

Post by qzplx »

here's my log files

06/07/2005 03:21:44 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1118046097 --end=1118132497 --title="Localhost - Processes" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/06 15\:21\:37 To 2005/06/07 15\:21\:37\c" COMMENT:" \n" --vertical-label="processes" DEF:a="d\:\webserver\www\cacti/rra/localhost_proc_7.rrd":proc:AVERAGE AREA:a#F51D30:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) apply the patches here: http://www.cacti.net/download_patches.php

2) In Cacti settings, turn off Web Events logging. Clear the log file. Change the Poller Logging Level to debug for one cycle and post the contents. If you see anything in the log with WEBLOG:, then you did not properly disable web event logging. They just clutter up the log file when trying to debug.

3) Did you move the mibs to the MIB directory?
qzplx
Posts: 11
Joined: Fri Nov 26, 2004 4:05 am

Post by qzplx »

BSOD2600 wrote:1) apply the patches here: http://www.cacti.net/download_patches.php

2) In Cacti settings, turn off Web Events logging. Clear the log file. Change the Poller Logging Level to debug for one cycle and post the contents. If you see anything in the log with WEBLOG:, then you did not properly disable web event logging. They just clutter up the log file when trying to debug.

3) Did you move the mibs to the MIB directory?
thanks !

1) how to patch it under windows.... ?
2) np
3) where should i move the mibs ? from where to where ?

is mibs = net-snmp ???
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You seem to have problems with reading instructions. http://www.cacti.net/download_patches.php Has the instructions how to patch right on that same page. You need cygwin installed. Alternatively, you can just update the files from: http://www.cacti.net/downloads/patches/ ... e-patched/

The full install PHP should have come with MIB files, which your MIBDIRS points to. Looks like the installation guide has change so now it doesnt say anything specific about moving and setting up mibs. I don't have my cacti installation here anymore either (the box moved to another city today), so I can't verify exactly how I have my MIBs set up.
qzplx
Posts: 11
Joined: Fri Nov 26, 2004 4:05 am

Post by qzplx »

thanks bsod, ill try ur guide...
wait for my next report....

ok
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests