Windows All-In-One Installer [Cacti 1.2.24] [Updated 2023-03-09]
Moderators: Developers, Moderators
Computer : Windows XP SP2
IIS 5.1
Installer used: cacti-0.8.6h.1.3.exe
When i go to http://localhost/cacti/
I get HTTP 403 error
You are not authorized to view this page
not really sure where to star looking for answers.
I ran Cacti-Security.zip from another post still nothing... any help?
Thanks
IIS 5.1
Installer used: cacti-0.8.6h.1.3.exe
When i go to http://localhost/cacti/
I get HTTP 403 error
You are not authorized to view this page
not really sure where to star looking for answers.
I ran Cacti-Security.zip from another post still nothing... any help?
Thanks
ame: yes you need to install perl. Then you'll have to deal with user permission issues with WMI. Read the FAQ in my installation guide.
jokerz: sounds like you didnt follow the post-install instructions and configured IIS.
jokerz: sounds like you didnt follow the post-install instructions and configured IIS.
| 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 |
BSOD - you wrote in your install guide:
Add the cactiuser account that's going to be used. Assign the following rights:
Enable Account
Enable Remote
Which account do you mean with cactiuser? Is it the account which runs the scheduled task for cactid? Then in my case it is in the moment the local admin and this one has got full control over WMI, but I get these error messages in the cacti log:
10/27/2006 09:05:10 AM - CACTID: Poller[0] Host[2] ERROR: Empty result [localhost]: 'perl c:/Inetpub/wwwroot/cacti\scripts\lit_w32_os.pl localhost get MaxProcessMemorySize,TotalVirtualMemorySize, FreeVirtualMemory,TotalVisibleMemorySize,FreePhysicalMemory, SizeStoredInPagingFiles,FreeSpaceInPagingFiles'
So i tried to run it manually from the command line but there all is working - any ideas?
Regards Alex
Add the cactiuser account that's going to be used. Assign the following rights:
Enable Account
Enable Remote
Which account do you mean with cactiuser? Is it the account which runs the scheduled task for cactid? Then in my case it is in the moment the local admin and this one has got full control over WMI, but I get these error messages in the cacti log:
10/27/2006 09:05:10 AM - CACTID: Poller[0] Host[2] ERROR: Empty result [localhost]: 'perl c:/Inetpub/wwwroot/cacti\scripts\lit_w32_os.pl localhost get MaxProcessMemorySize,TotalVirtualMemorySize, FreeVirtualMemory,TotalVisibleMemorySize,FreePhysicalMemory, SizeStoredInPagingFiles,FreeSpaceInPagingFiles'
So i tried to run it manually from the command line but there all is working - any ideas?
Regards Alex
ame: Yes, add the account thats running the scheduled task, since thats the user windows will be impersonating when it runs things related to cacti.
jokerz: Look in your /cacti/docs/html/post-install.html
jokerz: Look in your /cacti/docs/html/post-install.html
| 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 |
Hi BSOD,
I think you have misunderstood me....
If I want to collect the data over cactid I get the error message as described above. When I start the script manually over the command line everything is fine.
[b]It is the same user which runs cactid and the manual script over cmd.....!!![/b]
Any ideas???
Thanks
I think you have misunderstood me....
If I want to collect the data over cactid I get the error message as described above. When I start the script manually over the command line everything is fine.
[b]It is the same user which runs cactid and the manual script over cmd.....!!![/b]
Any ideas???
Thanks
Ah. Make sure you're using cactid 0.8.6i. Also, you'll need to edit the data input method and specify the FULL path to the perl.exe file (i.e. c:\perl\bin\perl.exe). The cactid needs the full path where as cmd.php does not.
| 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 |
Username/.password
I install cacti with the beta install got everything working . Can not login in with the default password admin/admin
You didn't follow the installation instructions -- that is not the default login anymore.
Go re-read the post installation documentation or the last screen of the installer.
Go re-read the post installation documentation or the last screen of the installer.
| 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 |
poller.php opens in notepad
For some reason when the scheduled task for poller.php kicks off, it opens the file in notepad instead of executing.
Any thoughts or ideas on what is causing this? I assume it is an association but not sure how to remove an association or if I need to associate it to something else I am not sure what I would associate it to?
Any thoughts or ideas on what is causing this? I assume it is an association but not sure how to remove an association or if I need to associate it to something else I am not sure what I would associate it to?
Sounds like your .php file extension is associated with notepad instead of PHP. Was this a previous system setting you had? Guess I'll add that to the next installer too.
Anyways to fix it, go to my computer | Tools | Folder options | File Types. Find the PHP extension and change it to open with c:\php\bin\php.exe
Anyways to fix it, go to my computer | Tools | Folder options | File Types. Find the PHP extension and change it to open with c:\php\bin\php.exe
| 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 |
The last thing I am working on is getting plugin support working. I know it is not supported yet in the windows installer, so I am trying to figure it all out.
Like I said though, so far so good. Couldn't have done it without the windows installer because I simply dont have the patience to have installed everything and configured it all and got things working.
Like I said though, so far so good. Couldn't have done it without the windows installer because I simply dont have the patience to have installed everything and configured it all and got things working.
Polling problem
Hello,
Computer : Windows XP SP2
IIS 5.1
default install from cacti-0.8.6h.1.3.exe.
I have added two hosts: localhost and external one. I can ping it from command promt sucessfully. But status for both is still "unknown".
Here is log output with debug enabled:
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','c:/Inetpub/wwwroot/cacti')"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
11/10/2006 10:25:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 0 5]
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from host where (disabled = '' and id >= 0 and id <= 5) ORDER by id"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT * from poller_item WHERE (host_id >= 0 and host_id <= 5) ORDER by host_id"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT count(*) from poller_item WHERE (action=2 AND (host_id >= 0 and host_id <= 5))"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
11/10/2006 10:25:01 AM - SYSTEM STATS: Time:1.0506 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:1.0506 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0')"
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
Polling is enabled, cmd.php, only ICMP ping, because I don't need SNMP.
Even if I try to run poller.php by hand, I don't see ping results, only:
11/10/2006 10:28:49 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 0 5]
11/10/2006 10:28:50 AM - SYSTEM STATS: Time:1.0599 Method:cmd.php Processes:1 Th
reads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
Can somebody point me to right place, what is wrong?
Thank you,
Valentas
Computer : Windows XP SP2
IIS 5.1
default install from cacti-0.8.6h.1.3.exe.
I have added two hosts: localhost and external one. I can ping it from command promt sucessfully. But status for both is still "unknown".
Here is log output with debug enabled:
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','c:/Inetpub/wwwroot/cacti')"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
11/10/2006 10:25:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 0 5]
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from host where (disabled = '' and id >= 0 and id <= 5) ORDER by id"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT * from poller_item WHERE (host_id >= 0 and host_id <= 5) ORDER by host_id"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT count(*) from poller_item WHERE (action=2 AND (host_id >= 0 and host_id <= 5))"
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
11/10/2006 10:25:00 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
11/10/2006 10:25:01 AM - SYSTEM STATS: Time:1.0506 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:1.0506 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0')"
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"
11/10/2006 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
Polling is enabled, cmd.php, only ICMP ping, because I don't need SNMP.
Even if I try to run poller.php by hand, I don't see ping results, only:
11/10/2006 10:28:49 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 0 5]
11/10/2006 10:28:50 AM - SYSTEM STATS: Time:1.0599 Method:cmd.php Processes:1 Th
reads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
Can somebody point me to right place, what is wrong?
Thank you,
Valentas
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This is your problem.DataSources:0
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?
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?
Who is online
Users browsing this forum: No registered users and 2 guests