[SOLVED] No graphs after new install

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

Moderators: Developers, Moderators

User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

[SOLVED] No graphs after new install

Post by samapi123 »

Hello somebody can help me i had install cacti on windows 2000.

Cacti doesn´t display me graphs what can i do i am new in this.

Thanks for your help.
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

The pic below is display when I try to see graphs. Can You help me
Attachments
cacti.JPG
cacti.JPG (40.72 KiB) Viewed 6781 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

read http://forums.cacti.net/viewtopic.php?t=11747 and repost once you've completed all the steps.
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

Operating System: WNT 2000
Webserver: IIS
Cacti: The one use in the windows installer 0.8.7b.1.8

Spine: The one use in the windows installer 0.8.7b.1.8

MySQL: The one use in the windows installer 0.8.7b.1.8

PHP: The one use in the windows installer 0.8.7b.1.8

RRDTool (Cygwin or Win32 version): The one use in the windows installer 0.8.7b.1.8

The one use in the windows installer 0.8.7b.1.8

Net-SNMP: The one use in the windows installer 0.8.7b.1.8

Cygwin (cygwin1.dll version): The one use in the windows installer 0.8.7b.1.8
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Yea, I already know your versions.

I was meaning to complete the other steps in that post.
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

When I turn on the graph debug mode it appears this

RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="localhost - CPU Utilization - CPU1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_cpu_15.rrd":cpu:AVERAGE \
AREA:a#FF0000FF:"CPU Utilization" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf"

RRDTool Says:

ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/localhost_cpu_15.rrd': No such file or directory
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

Sorry but I´m new in this. Where I turn of the web events because i go to
--> settings
--> then in a box called Web Events are check boxes and none are checked but in my log file are web logs

what can I do?
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

My cacti.log file is this

03/13/2008 04:40:18 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
03/13/2008 04:40:18 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
03/13/2008 04:40:18 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='7'"
03/13/2008 04:40:18 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
03/13/2008 04:40:28 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
03/13/2008 04:40:28 PM - CMDPHP: Poller[0] DEBUG: SQL Row: "SELECT * FROM user_auth WHERE username = 'administrator' AND password = md5('celtel2008') AND realm = 0"

03/13/2008 04:40:28 PM - AUTH LOGIN: User 'administrator' Authenticated
03/13/2008 04:40:28 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "INSERT INTO user_log (username,user_id,result,ip,time) VALUES ('administrator',1,1,'127.0.0.1',NOW())"
03/13/2008 04:40:28 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT realm_id FROM user_auth_realm WHERE realm_id = 8 AND user_id = 1"
03/13/2008 04:40:28 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
03/13/2008 04:40:28 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
03/13/2008 04:40:28 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='8'"
03/13/2008 04:40:28 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
03/13/2008 04:40:28 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"


That information is the one asked in the steps?
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

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

Post by BSOD2600 »

Your cacti log file is only useful AFTER the cacti polling session has run. Post it as an attachment next time.

read and follow http://docs.cacti.net/node/283
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

Sorry for asking so many questions. You send me to another page but I don´t understand what to do there to solve my problem because I still don´t get the graphs.

It said to do this
php -q cmd.php <id> <id>
and the answer was -1.


I don´t know what crontab means and for what I saw there are comands of linux. Can we use them in windows? Sorry for asking stupid questions but I don´t know and I need to make cacti funcional.

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

Post by BSOD2600 »

1) change the cacti logging level to debug
2) wait for the poller to run
3) attach your cacti log file.
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

This is my log file. What I need to do after this?

Thanks.
Attachments
Log File.doc
(157 KiB) Downloaded 201 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Next time, post the RAW cacti log from /cacti/log/cacti.log.

2) You apparently didn't let the cacti poller run while you were in debugging mode. Please do so and post again.
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

This is the log file. I waited and this is what it gotted.

I hope you can help me because I don't know what to do and i need cacti to be funcional.

Thanks for your help.
Attachments
cacti.txt
(369.35 KiB) Downloaded 164 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests