No rrd files created so obviously no graphs

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 »

Try restarting your machine and deleting it again or from safe mode.
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

I was able to delete the file from safe mode. However, I am still unable to create the rrd files, that should be found in the rra folder. And of course no graphs can be displayed. :cry:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) php <path_cacti>/cmd.php

2) php poller.php

In 1) you should get messages with valid data being polled
In 2) you should get a bunch of "Ok" messages

If you get no "Ok" messages and it appears to run error free:

3) mysql -u root -p cacti
>truncate table poller_output;
>quit
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

Ok, did all the steps from previous post, no graphs, no rrd files. Here is my log files and screenshots..
Attachments
poller.php.txt
(359 Bytes) Downloaded 198 times
CMD PHP.txt
(2.33 KiB) Downloaded 207 times
cacti.log.txt
(2.9 KiB) Downloaded 204 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Did you notice that cacti can't find perl? You need to put the path to your perl binarys (typically c:\perl\bin) in your system path.

2) I notice you're only running linux scripts from a windows computer; is that a mistake or on purpose? Some of those linux scripts are only for localhost.
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

BSOD2600 wrote:1) Did you notice that cacti can't find perl? You need to put the path to your perl binarys (typically c:\perl\bin) in your system path.

2) I notice you're only running linux scripts from a windows computer; is that a mistake or on purpose? Some of those linux scripts are only for localhost.
Your exactly right. I noticed the lines about Perl, but no where did I see in the instructions about installing PERL. Also, I saw the linux scripts too, and it is by mistake. Do you know where or how I would make the changes to fix that?
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

BSOD2600 wrote:1) php <path_cacti>/cmd.php

2) php poller.php

In 1) you should get messages with valid data being polled
In 2) you should get a bunch of "Ok" messages

If you get no "Ok" messages and it appears to run error free:

3) mysql -u root -p cacti
>truncate table poller_output;
>quit
-----------------------------------------------------------------------------------

I installed Perl on the machine, and downloaded other cacti releases, (that were labeled as windows releases) and in the scripts folder on all of them they refer to linux commands. Am I missing something here?

I will post the results after installing Perl. Maybe this will help. I am trying to follow commands to the letter.

Here is 1) 1) php <path_cacti>/cmd.php (see attachement phppathcmdphp.txt

Here is 2) php poller.php (see attachement phppollerphp.txt)

Do I need to start poller.php from the cacti directory? like this....
(see attachment pollerphp-from-cacti.txt

Truncate poller_output done. (see truncatepoller.txt)

No rrd files created. Any more ideas? Thank you all for the help.
Attachments
phppathcmdphp.txt
(2.29 KiB) Downloaded 177 times
phppollerphp.txt
(68 Bytes) Downloaded 152 times
pollerphp-from-cacti.txt
(884 Bytes) Downloaded 199 times
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

Forgot to post the cacti.log file. Here it is, one run of course.
Attachments
cacti.log.txt
(3.11 KiB) Downloaded 146 times
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

I am absolutly stumpted. If anyone thinks they may be able to determine the problem if they could see my machine, I offer a remote solution.

I really would like to get this working.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Yes, when manually running cacti, you must be in its directory. Otherwise, windows won't find the files needed and it wont work (as you've experienced).

2) You're still using Linux perl scripts on a windows host, this will not work. Remove the data sources which are for Linux/Unix. Did you assign the Windows templates to this host? Try something simple like snmp - interface traffic for starters.

3) Turn the polling level in cacti to debug (Settings | Polling level) for one cycle and paste the output of the actual log file (./cacti/log/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

Here is my Cacti.log file. Still no luck. I did now change the information from the unix/linux stuff to windows.
Attachments
cacti.log.txt
(2.78 KiB) Downloaded 354 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Your cacti log,
1) contains weblog entries. turn them off
2) is not in debug mode.

Reread my previous post on how to make the changes and verify it's correct before posting again.
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

Ok, I might be dumb, but I am trying. In the Cacti web interface, I have DEBUG mode, and web events turned off. Please see attached sceenshot. Here is the cacti log file that is created when I click on the graphs tab on the top left corner.
Attachments
screenshot.JPG
screenshot.JPG (162.56 KiB) Viewed 4988 times
cacti.log.txt
(2.57 KiB) Downloaded 173 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Weirdness. Try enabling webevents, the logging level to LOW, and click save. Then go back and change it again to disable webevents and logging level to debug.
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

I have changed the setting, in the web interface, saved, then changed back. The cacti log file is still the same. Is there any way you would be willing to take a look at my machine directly? I will offer the remote solution if you are willing. Please email me directly at lmiller@ntslink.net
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest