RRDtool - rrd file problem
Moderators: Developers, Moderators
- rock_manlove
- Cacti User
- Posts: 56
- Joined: Mon Oct 02, 2006 8:05 am
- Location: NJ, USA
RRDtool - rrd file problem
Rrd files are not being created.
Rra path is proper with permissions.
Previous rrdtool was 1.0.46, I upgraded it to solve the same problem. New version is 1.2.9, and new path is mentioned is cacti. In data source it shows the rrd file but there is no such file in rra path.
In previous attempt of installation, rra files were been created but with wrong sequence number .
If a new graph is made then in data source it shows rra file <path_rra>/device_traffic_in_10.rra
But actual file created for the graph in rra folder is with different number.. <path_rra>/device_traffic_in_13.rra etc.
Why is this mismatch?
Here is the graph debug -
/usr/local/rrdtool-1.2.9/bin/rrdtool: /usr/lib/libpng12.so.0: no version information available (required by /usr/local/rrdtool-1.2.9/lib/librrd.so.2)
Thanks
Rra path is proper with permissions.
Previous rrdtool was 1.0.46, I upgraded it to solve the same problem. New version is 1.2.9, and new path is mentioned is cacti. In data source it shows the rrd file but there is no such file in rra path.
In previous attempt of installation, rra files were been created but with wrong sequence number .
If a new graph is made then in data source it shows rra file <path_rra>/device_traffic_in_10.rra
But actual file created for the graph in rra folder is with different number.. <path_rra>/device_traffic_in_13.rra etc.
Why is this mismatch?
Here is the graph debug -
/usr/local/rrdtool-1.2.9/bin/rrdtool: /usr/lib/libpng12.so.0: no version information available (required by /usr/local/rrdtool-1.2.9/lib/librrd.so.2)
Thanks
Last edited by rock_manlove on Thu Apr 12, 2007 7:06 am, edited 3 times in total.
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- rock_manlove
- Cacti User
- Posts: 56
- Joined: Mon Oct 02, 2006 8:05 am
- Location: NJ, USA
Hi,
These are dependencies, all libraries are present. This is SuSE ES9.
cacti:/usr/lib # ldd /usr/local/rrdtool-1.2.9/bin/rrdtool
/usr/local/rrdtool-1.2.9/bin/rrdtool: /usr/lib/libpng12.so.0: no version information available (required by /usr/local/rrdtool-1.2.9/lib/librrd.so.2)
linux-gate.so.1 => (0xffffe000)
librrd.so.2 => /usr/local/rrdtool-1.2.9/lib/librrd.so.2 (0x40018000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40073000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x400dd000)
libz.so.1 => /lib/libz.so.1 (0x4010b000)
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x4011d000)
libm.so.6 => /lib/tls/libm.so.6 (0x40133000)
libc.so.6 => /lib/tls/libc.so.6 (0x40155000)
/lib/ld-linux.so.2 (0x40000000)
Thanks
These are dependencies, all libraries are present. This is SuSE ES9.
cacti:/usr/lib # ldd /usr/local/rrdtool-1.2.9/bin/rrdtool
/usr/local/rrdtool-1.2.9/bin/rrdtool: /usr/lib/libpng12.so.0: no version information available (required by /usr/local/rrdtool-1.2.9/lib/librrd.so.2)
linux-gate.so.1 => (0xffffe000)
librrd.so.2 => /usr/local/rrdtool-1.2.9/lib/librrd.so.2 (0x40018000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40073000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x400dd000)
libz.so.1 => /lib/libz.so.1 (0x4010b000)
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x4011d000)
libm.so.6 => /lib/tls/libm.so.6 (0x40133000)
libc.so.6 => /lib/tls/libc.so.6 (0x40155000)
/lib/ld-linux.so.2 (0x40000000)
Thanks
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- rock_manlove
- Cacti User
- Posts: 56
- Joined: Mon Oct 02, 2006 8:05 am
- Location: NJ, USA
Its running...
*/1 * * * * cacti php /var/www/html/cacti/poller.php > /dev/null 2>&1
*/1 * * * * cacti php /var/www/html/cacti/poller.php > /dev/null 2>&1
Last edited by rock_manlove on Thu Apr 12, 2007 8:46 am, edited 1 time in total.
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Do you have anything in log/cacti.log ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- rock_manlove
- Cacti User
- Posts: 56
- Joined: Mon Oct 02, 2006 8:05 am
- Location: NJ, USA
OK, now the rrd file is there in rra path.
but no graph on the page.
log file says this -
04/12/2007 07:52:01 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
04/12/2007 07:52:02 AM - SYSTEM STATS: Time:1.0234 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:4 RRDsProcessed:2
but no graph on the page.
log file says this -
04/12/2007 07:52:01 AM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
04/12/2007 07:52:02 AM - SYSTEM STATS: Time:1.0234 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:4 RRDsProcessed:2
Last edited by rock_manlove on Thu Apr 12, 2007 8:46 am, edited 1 time in total.
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Can you run the poller once at DEBUG level, and post the log ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- rock_manlove
- Cacti User
- Posts: 56
- Joined: Mon Oct 02, 2006 8:05 am
- Location: NJ, USA
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
I can't see any error in your log file
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- rock_manlove
- Cacti User
- Posts: 56
- Joined: Mon Oct 02, 2006 8:05 am
- Location: NJ, USA
- rock_manlove
- Cacti User
- Posts: 56
- Joined: Mon Oct 02, 2006 8:05 am
- Location: NJ, USA
Hi,
Please check this debug.
Thanks for helping!
Please check this debug.
Thanks for helping!
- Attachments
-
- cactidebug.txt
- (215.06 KiB) Downloaded 319 times
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Did you apply the multiple polling interval patch ?
Because it seems you're polling every minute :
Or maybe it's a crontab issue ?
Because it seems you're polling every minute :
Code: Select all
04/12/2007 08:43:02 AM - SYSTEM STATS: Time:1.0294 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:4 RRDsProcessed:2
04/12/2007 08:44:02 AM - SYSTEM STATS: Time:1.0282 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:4 RRDsProcessed:2
04/12/2007 08:45:02 AM - SYSTEM STATS: Time:1.0237 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:4 RRDsProcessed:2
04/12/2007 08:46:02 AM - SYSTEM STATS: Time:1.0236 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:4 RRDsProcessed:2
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- rock_manlove
- Cacti User
- Posts: 56
- Joined: Mon Oct 02, 2006 8:05 am
- Location: NJ, USA
Who is online
Users browsing this forum: No registered users and 0 guests