[SOLVED] No graphs after new install

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

Moderators: Developers, Moderators

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

Post by BSOD2600 »

Change the cacti logging level to low, click save. change the logging level back to debug, click save. Go to clear the log file. Then wait for the poller to run. Once thats done post the log. Your cacti installation is STILL not in debugging mode. You should see cacti polling devices, returning data and rrdtool running....
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

I did as you said and this is what I gotted:
Attachments
cacti.txt
(126.95 KiB) Downloaded 122 times
Last edited by samapi123 on Mon Mar 17, 2008 4:39 pm, edited 1 time in total.
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

Does this Have something to do for cacti not displaying graphs?
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
Last edited by samapi123 on Mon Mar 24, 2008 4:53 pm, edited 1 time in total.
Thanks for your Help
:D :roll: :oops:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

samapi123 wrote:I did as you said and this is what I gotted:
It still does NOT contain any logs from when cacti's polling cycle ran. Next time before you post, if you only see a bunch of SQL SELECT statements repeating over and over again, then it's not what you want. You want to see cacti getting data back from different host and rrdtool update getting called.
samapi123 wrote:Does this Have something to do for cacti not displaying graphs?
your underlaying problem is apparently that rrd files aren't created. this can happen for multiple reasons, which the cacti log file can help reveal the problem.

I suggest you read through the installation guide in my signature and re-do / re-verify the steps.
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

Sorry for asking many questions but what do you mean by:
BSOD2600 wrote: I suggest you read through the installation guide in my signature and re-do / re-verify the steps.
I don´t understand what do you mean about re- doing because I use your windows installer. And all the packages were auto installed.

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

Post by samapi123 »

Do you think I will need to un-installed cacti and re-installed again?

I don´t want to do that because in the server I´m working are running processes that help mrtg create graphs. and I don´t administrate that processes and I don´t now how they are started.

Can you gave me some ideas for what I need to do.
Thanks for your Help
:D :roll: :oops:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

samapi123 wrote:I don´t understand what do you mean about re- doing because I use your windows installer. And all the packages were auto installed.
Do to various circumstances, some times it doesn't install correctly or users don't follow the post-install instructions.

Please verify everything is set up using the installation guide in my signature.
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

I was verifying the installation guide and I found this:
c:\> php -m
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
date
dom
filter
ftp
hash
iconv
json
libxml
mysql
odbc
pcre
Reflection
session
SimpleXML
snmp
sockets
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

Error in my_thread_global_end() : 1 threads dind´t exit
Do you now what this mean?

And also I found that mssql was not listed.
Thanks for your Help
:D :roll: :oops:
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

Thanks I was reading all the installation configuration again from your: http://bsod2600.home.comcast.net/~bsod2 ... ndows.html

I did all over as it said in the configuration except the part of mysql and I got the graphs in blank(I didnt get graphs before) and now the rrd files are been created.
Thanks for your Help
:D :roll: :oops:
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

I try to make a new graph and it dosen´t show me the graph and it also don´t create the rrd file. I am worried and sad :cry: :cry: :cry: :cry:
Thanks for your Help
:D :roll: :oops:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) The fact you have a completely different output for the php -m thing, means you probably had/have another installation of PHP previously? Search your system for all instances of php.ini and remove the duplicates. This WILL mess up cacti's config.

2) please follow the steps in http://forums.cacti.net/viewtopic.php?t=11747 (except the ver info) to troubleshoot the broken graph again.
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

I was trying to make a new device I gave to it an IP address. It was done successfully. Then I tried to make a graph and this is what it result.

Can you help me!!
Attachments
error.txt
(955 Bytes) Downloaded 130 times
Thanks for your Help
:D :roll: :oops:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Do normal graphs like snmp interface, process count, cpu usage, etc work fine? Try those first before trying 'custom' graphs like APC Line Statistics.
User avatar
samapi123
Cacti User
Posts: 57
Joined: Wed Mar 12, 2008 10:29 am
Location: Honduras
Contact:

Post by samapi123 »

Again the error that the .rrd is not created. What can I do?
Attachments
custom.txt
(1.01 KiB) Downloaded 124 times
Thanks for your Help
:D :roll: :oops:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

around and around we go with the same issue.

I cannot help you any further until you change your cacti logging level to debug, let the poller.php run, and then analyze the cacti.log file. What you have posted in the past does NOT contain any logs related to cacti's poller running. You should see cacti doing snmp queries against devices, returning data and rrdtool update running. If you don't see any of that info, don't bother posting the log file.

With the logging level set to debug, manually run: php cmd.php ONCE from the command prompt, with an administrator account. Does it run successfully?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests