No rrd files created so obviously no graphs
Moderators: Developers, Moderators
Try restarting your machine and deleting it again or from safe mode.
| 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 |
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
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
| 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 |
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
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.
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.
| 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 |
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?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.
-----------------------------------------------------------------------------------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
Forgot to post the cacti.log file. Here it is, one run of course.
- Attachments
-
- cacti.log.txt
- (3.11 KiB) Downloaded 146 times
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.
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.
| 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 |
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
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.
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.
| 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 |
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 (162.56 KiB) Viewed 4988 times
-
- cacti.log.txt
- (2.57 KiB) Downloaded 173 times
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.
| 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 |
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
Who is online
Users browsing this forum: No registered users and 1 guest