Hi,
I have problems with generating graphs
I read more posts in this forum but I cannot find why is my graphs without data.
Can anyone tell me whats potentilay wrong ?
Config :
W2K AS SP4
PHP4,cacti ... latest version
Apache latest 1.3.x
I try use cactid and cmd but with the same result
Here is some info from my log :
10/03/2004 09:07:39 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1096828605 --end=1096830405 --title="mikrotik" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/10/03 20:36:45 To 2004/10/03 21:06:45\c" COMMENT:"\n" --vertical-label=""
10/03/2004 09:07:34 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1096828605 --end=1096830405 --title="mikrotik" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/10/03 20:36:45 To 2004/10/03 21:06:45\c" COMMENT:"\n" --vertical-label=""
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: MYSQL Free & Close Completed
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: Allocated Variable Memory Freed
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: PHP Script Server Pipes Closed
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: PHP Script Server Shutdown Started
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: Thread Cleanup Complete
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: SQLCMD: replace into settings (name,value) values ('date',NOW())
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 0
10/03/2004 09:07:18 PM - CACTID: Poller[0] Host[2] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (8,'mikrotik',NOW(),'167834474')
10/03/2004 09:07:18 PM - CACTID: Poller[0] Host[2] SNMP: v1: 192.168.0.1, dsname: mikrotik, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 167834474
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='3',status_event_count='0', status_fail_date='0000-00-00 00:00:00',status_rec_date='2004-10-03 08:18:14',status_last_error='Host did not respond to SNMP',min_time='0.499960',max_time='700.660000',cur_time='7.999900',avg_time='338.162924',total_polls='50',failed_polls='4',availability='92.0000' where id='2'
10/03/2004 09:07:18 PM - CACTID: Poller[0] Host[2] SNMP Result: Host responded to SNMP
10/03/2004 09:07:18 PM - CACTID: Poller[0] Host[2] PING Result: UDP: Host is Alive
10/03/2004 09:07:18 PM - CACTID: Poller[0] DEBUG: The UDP Ping return_code was -1, errno was 104, total_time was 13.9999
10/03/2004 09:07:17 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
10/03/2004 09:07:17 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
10/03/2004 09:07:17 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 1
10/03/2004 09:07:17 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
10/03/2004 09:07:17 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
10/03/2004 09:07:17 PM - CACTID: Poller[0] DEBUG: Initial Value of Active Threads is 0
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: PHP Script Server Child FORK Success
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: PHP Script Server About to FORK Child Process
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: PHP Script Server Routine Started
10/03/2004 09:07:16 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
10/03/2004 09:07:16 PM - CACTID: Poller[0] CACTID: Version 0.8.6 starting
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The threads variable is 100
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The log_pstats variable is 0
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The log_pwarn variable is 0
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The log_perror variable is 1
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The ping_timeout variable is 400
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The ping_retries variable is 5
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The ping_method variable is 2
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The ping_failure_count variable is 2
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The ping_recovery_count variable is 3
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The availability_method variable is 1
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The path_php variable is c:/php/php.exe
10/03/2004 09:07:16 PM - CACTID: Poller[0] DEBUG: The log_destination variable is 1
And when I turn on debug graph info :
RRDTool Says:
ERROR: can't make a graph without contents
??!!?!
.rrd files is creating and images too but without any data
Thanks for any idea
/Tomi
Graphs,graphs...
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It does not appear that you have scheduled poller.php. Please schedule poller.php and try again. Cacti no longer uses cmd.php or cactid to generate graphs. Instead it uses poller.php to do so.
TheWitness
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 4 guests