Some graphics are empty

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ealcaniz
Posts: 40
Joined: Fri Sep 30, 2011 3:37 am

Some graphics are empty

Post by ealcaniz »

Hi, I got that the new host that I am adding to cacti, they get a empty graphics. The old one works fine.
Attachments
filesystem graphics are not fill in cacti
filesystem graphics are not fill in cacti
template linux.JPG (117.09 KiB) Viewed 1103 times
Thanks

Edu
ealcaniz
Posts: 40
Joined: Fri Sep 30, 2011 3:37 am

Re: Some graphics are empty

Post by ealcaniz »

someone now how can be the error? or how I can debug? in the log file cacti.log I don't see nothing important.
Thanks

Edu
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Some graphics are empty

Post by BSOD2600 »

Debug instructions are in http://docs.cacti.net/
ealcaniz
Posts: 40
Joined: Fri Sep 30, 2011 3:37 am

Re: Some graphics are empty

Post by ealcaniz »

Since today all graphics stop to display.

I checked :

1. Rights in files in /var/www/cacti/rra
chown cacti:cacti *.rrd
2. increase memory of php.ini to 256M
3. php -q poller_output_empty.php update temporary graphics
4. root@ui-sc4-nagios1 ~]# rrdtool update
RRDtool 1.2.30 Copyright 1997-2008 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Oct 28 2009 20:58:27
seems working fine.
5. put cacti in debug mode

08/08/2012 06:45:19 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/sprint-web1_hdd_total_3605.rrd --template hdd_total:hdd_used 1344433518:0:0
08/08/2012 06:45:19 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/sprint-web1_hdd_total_3606.rrd --template hdd_used:hdd_total 1344433518:0:0
08/08/2012 06:45:19 AM - CMDPHP: Poller[0] Host[22] PING: ICMP Ping Success (0.341 ms)
08/08/2012 06:45:19 AM - CMDPHP: Poller[0] Host[22] RECACHE: Processing 2 items in the auto reindex cache for 'tcp:10.32.68.18'.
08/08/2012 06:45:19 AM - CMDPHP: Poller[0] Host[22] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0
08/08/2012 06:45:19 AM - CMDPHP: Poller[0] Host[22] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 2498903849
08/08/2012 06:45:19 AM - CMDPHP: Poller[0] Host[22] RECACHE DQ[8] OID: .1.3.6.1.2.1.1.3.0
08/08/2012 06:45:19 AM - CMDPHP: Poller[0] Host[22] RECACHE DQ[8] OID: .1.3.6.1.2.1.1.3.0, output: 2498903849
08/08/2012 06:45:19 AM - CMDPHP: Poller[0] Host[22] DS[433] SNMP: v1: tcp:10.32.68.18, dsname: ucd_ssCpuRawIdle, oid: .1.3.6.1.4.1.2021.11.53.0, output: 1159751953
08/08/2012 06:45:19 AM - CMDPHP: Poller[0] Host[22] DS[434] SNMP: v1: tcp:10.32.68.18, dsname: ucd_ssCpuRawNice, oid: .1.3.6.1.4.1.2021.11.51.0, output: 1443583
08/08/2012 06:45:19 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/icm-app1_ucd_sscpurawidle_433.rrd --template ucd_ssCpuRawIdle 1344433518:1159751953
08/08/2012 06:45:19 AM - CMDPHP: Poller[0] Host[22] DS[435] SNMP: v1: tcp:10.32.68.18, dsname: ucd_ssCpuRawSystem, oid: .1.3.6.1.4.1.2021.11.52.0, output: 6526216
08/08/2012 06:45:19 AM - CMDPHP: Poller[0] Host[22] DS[436] SNMP: v1: tcp:10.32.68.18, dsname: ucd_ssCpuRawUser, oid: .1.3.6.1.4.1.2021.11.50.0, output: 28662630
08/08/2012 06:45:19 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/icm-app1_ucd_sscpurawnice_434.rrd --template ucd_ssCpuRawNice 1344433518:1443583
08/08/2012 06:45:19 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/icm-app1_ucd_sscpurawsystem_435.rrd --template ucd_ssCpuRawSystem 1344433518:6526216
08/08/2012 06:45:19 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/icm-app1_ucd_sscpurawuser_436.rrd --template ucd_ssCpuRawUser 1344433518:28662630


I don't see errors, any help please!!!
Thanks in advance.
Thanks

Edu
ealcaniz
Posts: 40
Joined: Fri Sep 30, 2011 3:37 am

Re: Some graphics are empty

Post by ealcaniz »

ok, I got graphics works but still with some graphics doesn't works

I see in the log how rrdtool update the ucd_XXXXXX


08/08/2012 06:56:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cact i/rra/mps-pro-wellpt4_ucd_memavailreal_10310.rrd --template ucd_memAvailReal 1344434157:105 6624
08/08/2012 06:56:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cact i/rra/mps-pro-wellpt4_ucd_memtotalreal_10311.rrd --template ucd_memTotalReal 1344434157:404 4532
08/08/2012 06:56:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cact i/rra/mps-pro-wellpt4_ucd_memavailswap_10312.rrd --template ucd_memAvailSwap 1344434157:609 4840
08/08/2012 06:56:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cact i/rra/mps-pro-wellpt4_ucd_memtotalswap_10313.rrd --template ucd_memTotalSwap 1344434157:609 4840
08/08/2012 06:56:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cact i/rra/mps-pro-wellpt4_ucd_memavailreal_10314.rrd --template ucd_memAvailReal 1344434157:105 6624
08/08/2012 06:56:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cact i/rra/mps-pro-wellpt4_ucd_membuffer_10315.rrd --template ucd_memBuffer 1344434157:401556
08/08/2012 06:56:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cact i/rra/mps-pro-wellpt4_ucd_memcached_10316.rrd --template ucd_memCached 1344434157:1237880
08/08/2012 06:56:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cact i/rra/mps-pro-wellpt4_ucd_memshared_10317.rrd --template ucd_memShared 1344434157:0


but all graphics are empty, any idea?
Thanks

Edu
ealcaniz
Posts: 40
Joined: Fri Sep 30, 2011 3:37 am

Re: Some graphics are empty

Post by ealcaniz »

files are updated well

-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_hrsystemprocess_10319.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_memavailreal_10310.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_memavailreal_10314.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_memavailswap_10312.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_membuffer_10315.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_memcached_10316.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_memshared_10317.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_memtotalreal_10311.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_memtotalreal_10318.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_memtotalswap_10313.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_sscpurawidle_10303.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_sscpurawnice_10304.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_sscpurawsystem_10305.rrd
-rw-r--r-- 1 cacti cacti 47992 Aug 8 07:08 mps-pro-wellpt4_ucd_sscpurawuser_10306.rrd

but no graphics presented.
Thanks

Edu
ealcaniz
Posts: 40
Joined: Fri Sep 30, 2011 3:37 am

Re: Some graphics are empty

Post by ealcaniz »

reindex
php -q poller_reindex_hosts.php -id=All

[root@ui-sc4-nagios1 cli]# php analyze_database.php
Analyzing All Cacti Database Tables
Analyzing Table -> 'cdef' Successful
Analyzing Table -> 'cdef_items' Successful
Analyzing Table -> 'colors' Successful
Analyzing Table -> 'data_input' Successful
Analyzing Table -> 'data_input_data' Successful
Analyzing Table -> 'data_input_fields' Successful
Analyzing Table -> 'data_local' Successful
Analyzing Table -> 'data_template' Successful
Analyzing Table -> 'data_template_data' Successful
Analyzing Table -> 'data_template_data_rra' Successful
Analyzing Table -> 'data_template_rrd' Successful
Analyzing Table -> 'graph_local' Successful
Analyzing Table -> 'graph_template_input' Successful
Analyzing Table -> 'graph_template_input_defs' Successful
Analyzing Table -> 'graph_templates' Successful
Analyzing Table -> 'graph_templates_gprint' Successful
Analyzing Table -> 'graph_templates_graph' Successful
Analyzing Table -> 'graph_templates_item' Successful
Analyzing Table -> 'graph_tree' Successful
Analyzing Table -> 'graph_tree_items' Successful
Analyzing Table -> 'host' Successful
Analyzing Table -> 'host_graph' Successful
Analyzing Table -> 'host_snmp_cache' Successful
Analyzing Table -> 'host_snmp_query' Successful
Analyzing Table -> 'host_template' Successful
Analyzing Table -> 'host_template_graph' Successful
Analyzing Table -> 'host_template_snmp_query' Successful

what more can I do?
Thanks

Edu
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Some graphics are empty

Post by gandalf »

Please see 2nd link of my sig. You already performed some steps, but not all.
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests