Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.64k stars 405 forks source link

Graph not showing any data cacti 1.2.10 #3316

Closed ndilooc closed 4 years ago

ndilooc commented 4 years ago

after creating device and new graph, cacti graph not showing any data, cacti2

cacti log cacti3

please help,

bmfmancini commented 4 years ago

Start with a debug on the data source Try reindexing the device as well

Is it only this device having issues?

On Tue., Mar. 3, 2020, 9:09 p.m. ndilooc, notifications@github.com wrote:

after creating device and new graph, cacti graph not showing any data, [image: cacti2] https://user-images.githubusercontent.com/61731447/75837501-9ff28d80-5df7-11ea-9815-163a57b650f2.PNG

cacti log [image: cacti3] https://user-images.githubusercontent.com/61731447/75837537-b6004e00-5df7-11ea-95f2-3a8807a4894c.PNG

please help,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cacti/cacti/issues/3316?email_source=notifications&email_token=ADGEXTDWOJ66S2Q6UUQRVTTRFWZ4BA5CNFSM4LAY4EEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ISHDLKA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGEXTD7QKEJXDJTGEPVT2LRFWZ4BANCNFSM4LAY4EEA .

ndilooc commented 4 years ago

cacti4

all the device not showing any graph,

netniV commented 4 years ago

See issue #3314 as I suspect you may have that problem. Download the latest version of script_server.php or apply the patch from that commit and that should resolve it.

cigamit commented 4 years ago

Give us an update ASAP. Thanks!!

martinlegionowo commented 4 years ago

Dear support,

I have the same problem. May you tell me from which place I can upload the script_server.php or patch and how I can apply it. I am quite new user of Cacti. Big thanks !

netniV commented 4 years ago

See issue 3314.

martinlegionowo commented 4 years ago

Hello,

this I know. I ask how we can upgrade the PHP script - only override current ? How we can apply fix - and from where we can download it ? I overrided the script_server.php - I still have a problem with graphs with the logs: 2020/03/13 14:10:01 - POLLER: Poller[Main Poller http://192.168.1.36/cacti/pollers.php?action=edit&id=1] WARNING: Invalid Response(s), Errors[4] Device[Cisco ASA Dach http://192.168.1.36/cacti/host.php?action=edit&id=9] Thread[1] DS[Cisco ASA Dach - 5 Minute CPU http://192.168.1.36/cacti/data_sources.php?action=ds_edit&id=148, Cisco ASA Dach - CPU - Idle http://192.168.1.36/cacti/data_sources.php?action=ds_edit&id=149, Cisco ASA Dach - CPU - System http://192.168.1.36/cacti/data_sources.php?action=ds_edit&id=150, Cisco ASA Dach - CPU - User http://192.168.1.36/cacti/data_sources.php?action=ds_edit&id=151] Graphs[Cisco ASA Dach - CPU Usage, Cisco ASA Dach - CPU Utilization http://192.168.1.36/cacti/graph_view.php?page=1&style=selective&action=preview&graph_add=106%2C107]

2020/03/13 14:10:01 - POLLER: Poller[Main Poller http://192.168.1.36/cacti/pollers.php?action=edit&id=1] WARNING: Invalid Response(s), Errors[5] Device[Sophos XG UTM http://192.168.1.36/cacti/host.php?action=edit&id=7] Thread[1] DS[Sophos XG UTM - Traffic - Port1 http://192.168.1.36/cacti/data_sources.php?action=ds_edit&id=142, Sophos XG UTM - Traffic - Port2 http://192.168.1.36/cacti/data_sources.php?action=ds_edit&id=143, Sophos XG UTM - Traffic - PortE1 http://192.168.1.36/cacti/data_sources.php?action=ds_edit&id=144, Sophos XG UTM - Traffic - lag1 http://192.168.1.36/cacti/data_sources.php?action=ds_edit&id=145, Sophos XG UTM - Traffic - lag1.2 http://192.168.1.36/cacti/data_sources.php?action=ds_edit&id=146] Graphs[Sophos XG UTM - Traffic - Port1/5, Sophos XG UTM - Traffic - Port2/6, Sophos XG UTM - Traffic - PortE1/10, Sophos XG UTM - Traffic - lag1/24, Sophos XG UTM

RRDtool Command:

/usr/bin/rrdtool graph - \ --imgformat=PNG \ --start='-86400' \ --end='-300' \ --pango-markup \ --title='Sophos XG UTM - Traffic - lag1.2/25' \ --vertical-label='bits per second' \ --slope-mode \ --base=1000 \ --height=200 \ --width=700 \ --rigid \ --alt-autoscale-max \ --lower-limit='0' \ COMMENT:"From 2020/03/12 14\:36\:07 To 2020/03/13 14\:31\:07\c" \ COMMENT:" \n" \ --border 1 --slope-mode \ --watermark 'Generated by Cacti®' \ DEF:a='/var/www/html/cacti-1.2.10/rra/sophos_xg_utm_traffic_in_146.rrd':'traffic_in':MAX \ DEF:b='/var/www/html/cacti-1.2.10/rra/sophos_xg_utm_traffic_in_146.rrd':'traffic_in':AVERAGE \ DEF:c='/var/www/html/cacti-1.2.10/rra/sophos_xg_utm_traffic_in_146.rrd':'traffic_out':MAX \ DEF:d='/var/www/html/cacti-1.2.10/rra/sophos_xg_utm_traffic_in_146.rrd':'traffic_out':AVERAGE \ CDEF:cdefa='a,8,' \ CDEF:cdefb='b,8,' \ CDEF:cdeff='c,8,' \ CDEF:cdefg='d,8,' \ LINE1:cdefa#00CF00FF: \ AREA:cdefb#00CF007F:'Inbound ' \ GPRINT:cdefb:LAST:'Current\:%8.2lf %s' \ GPRINT:cdefb:AVERAGE:'Average\:%8.2lf %s' \ GPRINT:cdefb:MAX:'Maximum\:%8.2lf %s\n' \ LINE1:cdeff#002A97FF: \ AREA:cdefg#002A977F:'Outbound' \ GPRINT:cdefg:LAST:'Current\:%8.2lf %s' \ GPRINT:cdefg:AVERAGE:'Average\:%8.2lf %s' \

GPRINT:cdefg:MAX:'Maximum\:%8.2lf %s\n'

Regards, Marcin

pt., 13 mar 2020 o 11:12 Mark Brugnoli-Vinten notifications@github.com napisał(a):

See issue 3314.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Cacti/cacti/issues/3316#issuecomment-598647899, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWXBGYJ7NEECCQGI4QA3Y3RHIBHJANCNFSM4LAY4EEA .