Hi, I used to have a great Cacti setup running on Linux but I've changed jobs and where I work now doesn't have any Linux skills so I've got it running on Windows 2008. I believe I've got several issues that I need help with please. My setup is;
General Information
Date Wed, 22 Jun 2011 16:44:18 +0100
Cacti Version 0.8.7g
Cacti OS win32
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.2.x
Hosts 2
Graphs 3
Data Sources Script/Command: 5
SNMP: 3
SNMP Query: 5
Total: 13
Poller Information
Interval 60
Type cmd.php
Items Action[0]: 5
Total: 5
Concurrent Processes 4
Max Threads 1
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:1.1588 Method:cmd.php Processes:4 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:5 RRDsProcessed:3
PHP Information
PHP Version 5.2.14
PHP OS WINNT
PHP uname Windows NT SYSMON01 6.0 build 6001
PHP SNMP Installed
max_execution_time 300
memory_limit 128M
My log file errors are;
My graphs don't show, see attached.
I used the Windows Installer v1.95 (IIS) and tekbot's instructions for changing to 1 minute polling.
I also have an issue if I am using a browser to configure via the console tab I can't then click on the graphs tab, it just hangs, but the graphs tab will open in a fresh browser.
Any help on any of these issues would be great.
Thanks
Graphs not working
Moderators: Developers, Moderators
Re: Graphs not working
Hi, not sure if this helps or is relevant but I noticed in the php_errors log this error every 5 mins;
[23-Jun-2011 09:56:00] PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\cacti\lib\database.php on line 226
[23-Jun-2011 09:56:00] PHP Fatal error: Call to a member function close() on a non-object in C:\inetpub\wwwroot\cacti\lib\database.php on line 231
I've attached my database.php file.
Thanks
[23-Jun-2011 09:56:00] PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\cacti\lib\database.php on line 226
[23-Jun-2011 09:56:00] PHP Fatal error: Call to a member function close() on a non-object in C:\inetpub\wwwroot\cacti\lib\database.php on line 231
I've attached my database.php file.
Thanks
- Attachments
-
- database.php.txt
- (12.63 KiB) Downloaded 95 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Graphs not working
Are you using the adodb code from cacti or from your distro?
R.
R.
Re: Graphs not working
Hi, thanks for your reply. I'm sorry I don't understand what you mean, I downloaded the Windows Installer v1.95 from cacti.net and used that for a completely fresh clean install.
Thanks
Thanks
Re: Graphs not working
Hi, any ideas please?
Many thanks
Many thanks
Re: Graphs not working
Can anyone help with this?
Thanks
Thanks
Re: Graphs not working
Lets start with the basics. Have you read through http://docs.cacti.net/manual:087:4_help.2_debugging yet?
Did cacti graphing work before you switch to 1 min polling?
Did cacti graphing work before you switch to 1 min polling?
| 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 |
Who is online
Users browsing this forum: No registered users and 2 guests