Re: [Ganglia-general] Ganglia 3.7.2 on AIX 7.2
Erik Ochoa writes: > As far as I know the IBM packages are perzl packages, just changed a > bit to work (or not work) with some native libraries and packages, the > idea being to reduce dependency conflicts. Michael Perzls name is all > over the place in the config files. ok - do you have an URL handy? may we'll look at the packages at work... >> /usr/bin/rrdtool --version >> RRDtool 1.7.0 Copyright by Tobias Oetiker So rrdtool runs - that's good. > Here is output from url in browser: > /usr/bin/rrdtool graph - --start '-604800s' --end now --width 1200 > --height 600 --title 'Fifteen Minute Load Average' --vertical-label ' > ' --slope-mode > DEF:'sum'='/var/lib/ganglia/rrds/mtgng/someserver.somedomain.com/load_fifteen.rrd:sum':AVERAGE > AREA:'sum'#ff:'someserver.somedomain.com last week ' > CDEF:sum_pos=sum,0,LT,0,sum,IF VDEF:sum_last=sum_pos,LAST > VDEF:sum_min=sum_pos,MINIMUM VDEF:sum_avg=sum_pos,AVERAGE > VDEF:sum_max=sum_pos,MAXIMUM GPRINT:'sum_last':'Now\:%7.2lf%s' > GPRINT:'sum_min':'Min\:%7.2lf%s' GPRINT:'sum_avg':'Avg\:%7.2lf%s' > GPRINT:'sum_max':'Max\:%7.2lf%s\l' What happens if you run that command from a shell? My guess is that we'll get an error. Redirect stdout to a file and look at the file - it should generate a graph if running ok. I ran the command successfully with rrdtool 1.7.1 an Linux. Hm. let's see what you get. Jochen -- This space is intentionally left blank. ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Ganglia 3.7.2 on AIX 7.2
Hi Erik, I'm running the Ganglia packages from http://www.perzl.org/ganglia/. I'm not sure what the IBM packages are and what they contain. But first let's see what we can find out. Erik Ochoa via Ganglia-general writes: > $conf['rrdtool'] = "/usr/bin/rrdtool"; Ok, let's see if you can run rddtool in a shell session. Try: rrdtool --help; rrdtool --version and ldd /usr/bin/rrdtool > Output from cli with debug=3: > root@someserver:/root > php > http://someserver.somedomain.com/ganglia/graph.php?r=hour=xlarge=mtgng=someserver.somedomain.com===2.27=load_fifteen=+=Fifteen+Minute+Load+Average=3 Please enter the URL into your browser - running php directly is not useful IMHO. Jochen -- This space is intentionally left blank. ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Ganglia 3.7.2 on AIX 7.2
Hi, e_ochoa--- via Ganglia-general writes: > But no graphs show up. Period. If I poke around a bit I get some php errors: > > [08-Aug-2019 08:56:42 America/Los_Angeles] PHP Fatal error: Uncaught Error: > [] operator not supported for strings in > /opt/freeware/apache2/htdocs/ganglia/cluster_view.php:34 I guess it's something like that - newer PHP is picky: https://github.com/ganglia/ganglia-web/commit/13d426bcf66fb0f27d44847154ba2180884edcd6#diff-e1071aa34fd172254845e0b549521bf6 Jochen -- This space is intentionally left blank. ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] User Authentication in Ganglia
sri hari kali charan Tummala writes: > is there a way to add users or restrict users to Ganglia website ? can we > add username or password authentication of LDAP auth to Ganglia website? > similar to Hue? We are running http_basicauth @work - you can authenticate against LDAP. Something like https://devopsideas.com/openldap-basic-authentication-using-ldap/ Information for the ganglia side is https://github.com/ganglia/ganglia-web/wiki/Authorization-System Jochen -- This space is intentionally left blank. ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
[Ganglia-general] Views: self defindet cluster-Reports in json in views
Hello, we run ganglia on a couple of AIX systems - each physical box is a cluster in ganglia. Each LPAR is a host. Some LPARs are in CPU pools, each physical box can have none, one, or more CPU pools. A json-report for a pool looks like this: { report_name : box1_pool_0_report, report_type : standard, title : pool 0 report, vertical_label : CPU Uses, series : [ { hostname: lpar1, clustername: box1, metric: cpu_used, color: 00ff00, label: lpar1, type: stack }, { hostname: lpar2, clustername: box1, metric: cpu_used, color: ff, label: lpar2, type: stack }, { hostname: lpar1, clustername: box1, metric: cpu_in_pool, color: 00, label: CPU in Pool , line_width: 2, type: line } ] } When display in the cluser context, the title has the cluster name displayed. Since we have lots of boxes and lots of LPARS, I tried to add all pool-Reports into a view: {view_name:Pools, items:[ {graph:box1_pool_0_report}, {graph:box1_pool_1_report}, {graph:box2_pool_0_report}, {graph:box2_pool_1_report}, ... ],view_type:standard} When I display this view, the title only talks about Grid and the pool nr report from the report definition. It would be nice to have the cluster name displayed in the view, but I don't like to have it displayed twice in the cluser context. Any idea how this can be solved? Thanks in advance Jochen -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
[Ganglia-general] units in custom json graphs
Hi, I do have a metric, which is stored in the RRD files in MB. Since the values are most of the time in the GB-Range (up to 400GB), I'd like to display the graph with GB on the Y-Axis. We use json for our graph definition. Passing --base 1000 or --units-exponent 3 does not what I want. I just had a look at some PHP graphs, where we use CDEF to evaluate expressions and the result is finally graphed. Would it be possible to have something similar in json? Jochen -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
[Ganglia-general] ganglia-gweb 3.4.2 (Perzl-packages)
Hello, I've upgrade our ganglia server to ganglia-gweb 3.4.2. We use external authentification to ganglia. In httpd.conf we have: Directory /var/www/htdocs/ganglia AuthType Basic AuthName Ganglia AuthUserFile /opt/freeware/etc/httpd/http_user Require valid-user /Directory When I first open the Web frontend, I have to enter username and password and can then use Ganglia. When I try to inspect a graph, I get in the error_log: [Tue May 22 14:23:43 2012] [error] [client x.y.z.7] PHP Warning: file_get_contents(http://ganglia.example.com/ganglia/graph.php ?flot=1amp;h=myhostamp;m=cpu_usedamp;r=houramp;s=by%20nameamp;hc=4amp;mc=2amp;st=1337689406amp;g=cpu_used_reportamp;z=la rgeamp;c=B3) [a href='function.file-get-contents'function.file-get-contents/a]: failed to open stream: HTTP request failed! HT TP/1.1 401 Authorization Required\r\n in /var/www/htdocs/ganglia/inspect_graph.php on line 28, referer: http://ganglia.example.com/g anglia/?r=hourcs=ce=m=cpu_useds=by+namec=B3h=myhosthost_regex=max_graphs=0tab=mvn=sh=1z=smallhc=4 [Tue May 22 14:23:43 2012] [error] [client x.y.z.7] PHP Warning: Invalid argument supplied for foreach() in /var/www/htdocs/ga nglia/inspect_graph.php on line 30, referer: http://ganglia.example.com/ganglia/?r=hourcs=ce=m=cpu_useds=by+namec=B3h=myhosthost_regex=max_graphs=0tab=mvn=sh=1z=smallhc=4 ERROR: Garbage found where STACK expected Any ideas how that can be fixed? Jochen -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
[Ganglia-general] jquery.gangZoom.js: Error in line 19
When running gweb 3.4.2 I get on some pages: [object Error] 'self.float' is Null or not an object jquery.gangZoom.js, line 19 char 17 The line is: var selWidth = self.float.width(); Any idea how to fix that? Jochen -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
[Ganglia-general] Timeline Zooming: doesn't work for me in Internet Explorer 7/8
Hello, I'm running two ganglia instances (3.1.7) with gweb 2.1.3 (packages from Michael Perzl) and 3.3.5 on Debian stable. With both releases I can't select for zooming when using IE. When I use firefox timeline zooming works for me. I've tried several IE options that looked promising, but nothing seems to change. Any idea why the timeline zooming doesn't work in IE? Jochen -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general