Hi

https://131.116.161.66/ganglia/graph.php?h=po004portal01&m=load_one&r=hour&s=by%20name&hc=4&mc=2&st=1452498013&g=mem_report&z=large&c=Portal_Adm&inspect=1&debug=5

/usr/bin/rrdtool graph -   --start '-3600s' --end now --width 480 
--height 150 --title 'po004portal01 Memory last 
hour' --lower-limit 0 --vertical-label Bytes --slope-mode  --base 1024 
--font LEGEND:7  
DEF:'mem_total'='/opt/apps/ganglia/rrds/Portal_Adm/po004portal01/mem_total.rrd':'sum':AVERAGE
 CDEF:'bmem_total'=mem_total,1024,* 
DEF:'mem_shared'='/opt/apps/ganglia/rrds/Portal_Adm/po004portal01.gad.teliasonera.net/mem_shared.rrd':'sum':AVERAGE
 CDEF:'bmem_shared'=mem_shared,1024,* 
DEF:'mem_free'='/opt/apps/ganglia/rrds/Portal_Adm/po004portal01/mem_free.rrd':'sum':AVERAGE
 CDEF:'bmem_free'=mem_free,1024,* 
DEF:'mem_cached'='/opt/apps/ganglia/rrds/Portal_Adm/po004portal01/mem_cached.rrd':'sum':AVERAGE
 CDEF:'bmem_cached'=mem_cached,1024,* 
DEF:'mem_buffers'='/opt/apps/ganglia/rrds/Portal_Adm/po004portal01/mem_buffers.rrd':'sum':AVERAGE
 CDEF:'bmem_buffers'=mem_buffers,1024,* 
CDEF:'bmem_used'='bmem_total','bmem_free',-,'bmem_cached',-,'bmem_shared',-,'bmem_buffers',-
 AREA:'bmem_used'#5555cc:'Use\g' CDEF:used_pos=bmem_used,0,INF,LIMIT 
VDEF:used_last=used_pos,LAST VDEF:used_min=used_pos,MINIMUM 
VDEF:used_avg=used_pos,AVERAGE VDEF:used_max=used_pos,MAXIMUM 
GPRINT:'used_last':'    Now\:%6.1lf%s' GPRINT:'used_min':' 
Min\:%6.1lf%s' GPRINT:'used_avg':'Avg\:%6.1lf%s' GPRINT:'used_max':' 
Max\:%6.1lf%s\l' STACK:'bmem_shared'#0000aa:'Share\g' 
CDEF:shared_pos=bmem_shared,0,INF,LIMIT VDEF:shared_last=shared_pos,LAST
 VDEF:shared_min=shared_pos,MINIMUM VDEF:shared_avg=shared_pos,AVERAGE 
VDEF:shared_max=shared_pos,MAXIMUM GPRINT:'shared_last':'  
Now\:%6.1lf%s' GPRINT:'shared_min':' Min\:%6.1lf%s' 
GPRINT:'shared_avg':'Avg\:%6.1lf%s' GPRINT:'shared_max':' 
Max\:%6.1lf%s\l' STACK:'bmem_cached'#33cc33:'Cache\g' 
CDEF:cached_pos=bmem_cached,0,INF,LIMIT VDEF:cached_last=cached_pos,LAST
 VDEF:cached_min=cached_pos,MINIMUM VDEF:cached_avg=cached_pos,AVERAGE 
VDEF:cached_max=cached_pos,MAXIMUM GPRINT:'cached_last':'  
Now\:%6.1lf%s' GPRINT:'cached_min':' Min\:%6.1lf%s' 
GPRINT:'cached_avg':'Avg\:%6.1lf%s' GPRINT:'cached_max':' 
Max\:%6.1lf%s\l' STACK:'bmem_buffers'#99ff33:'Buffer\g' 
CDEF:buffers_pos=bmem_buffers,0,INF,LIMIT 
VDEF:buffers_last=buffers_pos,LAST VDEF:buffers_min=buffers_pos,MINIMUM 
VDEF:buffers_avg=buffers_pos,AVERAGE 
VDEF:buffers_max=buffers_pos,MAXIMUM GPRINT:'buffers_last':' 
Now\:%6.1lf%s' GPRINT:'buffers_min':' Min\:%6.1lf%s' 
GPRINT:'buffers_avg':'Avg\:%6.1lf%s' GPRINT:'buffers_max':' 
Max\:%6.1lf%s\l' STACK:'bmem_free'#f0ffc0:'Free\g' 
CDEF:free_pos=bmem_free,0,INF,LIMIT VDEF:free_last=free_pos,LAST 
VDEF:free_min=free_pos,MINIMUM VDEF:free_avg=free_pos,AVERAGE 
VDEF:free_max=free_pos,MAXIMUM GPRINT:'free_last':'  Now\:%6.1lf%s' 
GPRINT:'free_min':' Min\:%6.1lf%s' GPRINT:'free_avg':'Avg\:%6.1lf%s' 
GPRINT:'free_max':' Max\:%6.1lf%s\l' 
DEF:'swap_total'='/opt/apps/ganglia/rrds/Portal_Adm/po004portal01/swap_total.rrd':'sum':AVERAGE
 
DEF:'swap_free'='/opt/apps/ganglia/rrds/Portal_Adm/po004portal01/swap_free.rrd':'sum':AVERAGE
 CDEF:'bmem_swapped'='swap_total','swap_free',-,1024,* 
STACK:'bmem_swapped'#9900CC:'Swap\g' 
CDEF:swapped_pos=bmem_swapped,0,INF,LIMIT 
VDEF:swapped_last=swapped_pos,LAST VDEF:swapped_min=swapped_pos,MINIMUM 
VDEF:swapped_avg=swapped_pos,AVERAGE 
VDEF:swapped_max=swapped_pos,MAXIMUM GPRINT:'swapped_last':'   
Now\:%6.1lf%s' GPRINT:'swapped_min':' Min\:%6.1lf%s' 
GPRINT:'swapped_avg':'Avg\:%6.1lf%s' GPRINT:'swapped_max':' 
Max\:%6.1lf%s\l' LINE2:'bmem_total'#FF0000:'Total\g' 
CDEF:total_pos=bmem_total,0,INF,LIMIT VDEF:total_last=total_pos,LAST 
VDEF:total_min=total_pos,MINIMUM VDEF:total_avg=total_pos,AVERAGE 
VDEF:total_max=total_pos,MAXIMUM GPRINT:'total_last':'  Now\:%6.1lf%s' 
GPRINT:'total_min':' Min\:%6.1lf%s' GPRINT:'total_avg':'Avg\:%6.1lf%s' 
GPRINT:'total_max':' Max\:%6.1lf%s\l' 

Subject: Re: [Ganglia-general] inspect graph and csv export gives 1970-01-01 as 
timestamp
From: vli...@veus.hr
Date: Wed, 30 Dec 2015 04:33:27 -0500
To: wmto...@hotmail.com; ganglia-general@lists.sourceforge.net

Can you append &debug=5 to whatever url you use for CSV export. You may need to 
look in browser dev tools to capture it. 

On December 30, 2015 4:14:59 AM EST, Tobbe Westman <wmto...@hotmail.com> wrote:



Hi
 
I wonder if someone could  give me a suggestion how to get correct time in the 
inspect graph and for the the csv export.
The graphs in ganglia-web gives correct time but when I select inspect it only 
shows a thin bar with the date 1970-01-01.
ntp is running and the server has correct time. The timezone in php.ini is set 
and if I run gstat it gives the correct date and time. I have no errors in the 
logs so I really don't know what´s wrong in my configuration.
 
I have installed 
Ganglia Web Frontend version 3.7.1
Ganglia Web Backend (gmetad) version 3.7.2
RRDtool version 1.5.5
 
 
 
            


Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Vladimir                                          
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to