Re: [Ganglia-general] Dynamic views in the web interface

2013-03-20 Thread Torstensen Morten
Heh, best practices is a fluffy term indeed. But I will take it that JSON is 
a good way to do what we want to do. Thanks for the feedback!


Best regards
Morten Torstensen
Chief Solution Architect, BA Nordic Open Server  Virtualization
Future Proof Supporting Services Coordinator
morten.torsten...@evry.com
M +47 46819584


-Original Message-
From: Vladimir Vuksan [mailto:vli...@veus.hr] 
Sent: 19. mars 2013 15:58
To: Torstensen Morten
Cc: ganglia-general@lists.sourceforge.net
Subject: Re: [Ganglia-general] Dynamic views in the web interface

I am not very keen on best practices since they are often anything but best.

One of the reasons why view definitions were designed in a way that they were 
ie. using JSON was to make it fairly easy to generate those using a wide 
variety of tools from config management systems, shell scripts, etc. 
So you could technically run something every few minutes that looks at the list 
of hosts and generates the proper JSON view.

Vladimir

On Tue, 19 Mar 2013, Torstensen Morten wrote:

 [IMAGE]
 
 Investigating a little, it looks like we have to define a list of 
 hostnames and scripted add it to a view. We can easily enough define this 
 hostname list, but any “best practices” or examples of adding this to the web 
 views in a well behaved manner?
 
  
 
  
 
 Best regards
 
 Morten Torstensen
 
 Chief Solution Architect, BA Nordic Open Server  Virtualization
 
 Future Proof Supporting Services Coordinator
 
 morten.torsten...@evry.com
 
 M +47 46819584
 
  
 
 From: Torstensen Morten [mailto:morten.torsten...@evry.com]
 Sent: 19. mars 2013 07:59
 To: ganglia-general@lists.sourceforge.net
 Subject: [Ganglia-general] Dynamic views in the web interface
 
  
 
 We would like to create views in ganglia-web that is based on serial 
 number, so that any server on the same physical hardware will aggregate 
 together dynamically.
 
  
 
 Any pointers in how to achieve this?
 
  
 
  
 
  
 
 Best regards
 
 Morten Torstensen
 
 Chief Solution Architect, BA Nordic Open Server  Virtualization
 
 Future Proof Supporting Services Coordinator
 
 morten.torsten...@evry.com
 
 M +47 46819584
 
 cid:image002.png@01CDEE4D.C6FB68B0
 
  
 
 evry.com
 _
 
  
 
 EVRY AS
 
 Visiting: Nedre Skøyen vei 26, Oslo, Norway
 
 P.O. Box 494 Skøyen, N-0213 Oslo
 
 T +47 06500
 
  
 
 Follow us on Twitter | Facebook | LinkedIn
 
  
 
 EVRY is a leading IT company in the Nordic region. Through advice, 
 technology and solutions, EVRY brings information to life, creating 
 value for our customers' business to the benefit of society. With a 
 combination of extensive industry experience and a customer centric approach, 
 as well as international capabilities and local presence, we help customers 
 realise the full potential of IT.
 
  
 
 This message contains information which may be confidential and 
 privileged. Unless you are the intended recipient (or authorized to 
 receive this message for the intended recipient), you may not use, 
 copy, print, disseminate or disclose to anyone the message, the attachments 
 hereto or any information contained in the message. If you have received the 
 message in error, please advise the sender by reply e-mail, and delete the 
 message with any attachments.
 
  
 
 

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Making use of metric titles?

2013-03-20 Thread Vladimir Vuksan
You absolutely can however it may be a bit of coding to get it out. 
Basically titles are part of metric extra data in the output gmond/gmetad 
expose e.g.


METRIC NAME=bytes_out VAL=656.45 TYPE=float UNITS=bytes/sec 
TN=120 TMAX=300 DMAX=0 SLOPE=both

EXTRA_DATA
EXTRA_ELEMENT NAME=GROUP VAL=network/
EXTRA_ELEMENT NAME=DESC VAL=Number of bytes out per second/
EXTRA_ELEMENT NAME=TITLE VAL=Bytes Sent/
/EXTRA_DATA

You'd have to modify either one of the graph.d/ scripts or create your own 
script that uses the mapping.


Vladimir

On Wed, 20 Mar 2013, Alexander Karner wrote:


Is there a way to create a report that makes use of the metric titles?

Background: I have Ganglia installed on AIX. In this specific environment I 
also collect fibrechannel (FC) data as defined in the
conf.d/ibmfc.conf file, where I give the metrics a name, based on the 
attachment to the adapter (disk or tape).
For example:
[...]
 metric {
    name = fcs0_input_requests
    title = fcs0 Disk Read IOs
    value_threshold = 0.001
  }
[...]
  metric {
    name = fcs1_input_requests
    title = fcs1 Tape Read IOs
    value_threshold = 0.001
  }
[...]

Could I use the title information to create aggregrate graphs? (at least for 
host and cluster but perhaps also for the grid).
Or do I have to change the metric definitions?

Mit freundlichen Grüßen / Kind regards

Alexander Karner


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] IP Change on gmetad/apache server

2013-03-20 Thread dan . franco
Thank you Chris.  We are identifying hosts by DNS name.  The only thing 
that changed is that the IP address for the gmetad/apache server has 
changed, and as a result, most of the cluster are no longer visible in the 
Ganglia console. 

__
Dan Franco 
Team Lead, Midrange Standards and Engineering
PNC Financial Services
600 Grant Street, P6-PUSX-39-3, Pittsburgh, PA 15219
412-762-5132
dan.fra...@pnc.com

Learn about  PNC Midrange Systems on Connections (internal only)



From:
Chris Burroughs chris.burrou...@gmail.com
To:
dan.fra...@pnc.com
Cc:
ganglia-general@lists.sourceforge.net
Date:
03/18/2013 05:37 PM
Subject:
Re: [Ganglia-general] IP Change on gmetad/apache server



I gather from the context that you are identifying hosts by ip?  In that
case you could (in principle) 'mv old-name new-name' for all rrd files.

On 2013-03-17 14:39, dan.fra...@pnc.com wrote:
 Due to issues beyond my control, the Linux VMWare server that runs our 
 top-level gmetad and apache web server has come up with a different IP 
 address.  Now, all but one of my clusters are no longer showing up in 
 Ganglia, yet I can still see the data under /var/lib/ganglia/rrds.  Is 
 there any way to recover from this and keep the old data, or do I have 
to 
 start over?
 
 __
 Dan Franco 
 Team Lead, Midrange Standards and Engineering
 PNC Financial Services
 600 Grant Street, P6-PUSX-39-3, Pittsburgh, PA 15219
 412-762-5132
 dan.fra...@pnc.com
 
 Learn about  PNC Midrange Systems on Connections (internal only)
 
 
 
 The contents of this email are the property of PNC. If it was not 
addressed to you, you have no legal right to read it. If you think you 
received it in error, please notify the sender. Do not forward or copy 
without permission of the sender. This message may contain an 
advertisement of a product or service and thus may constitute a commercial 
electronic mail message under US Law. The postal address for PNC is 249 
Fifth Avenue, Pittsburgh, PA 15222. If you do not wish to receive any 
additional advertising or promotional messages from PNC at this e-mail 
address, click here to unsubscribe. 
https://pnc.p.delivery.net/m/u/pnc/uni/p.asp 
 By unsubscribing to this message, you will be unsubscribed from all 
advertising or promotional messages from PNC. Removing your e-mail address 
from this mailing list will not affect your subscription to alerts, 
e-newsletters or account servicing e-mails.
 
 
 
 
 
 
--
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 
 
 
 ___
 Ganglia-general mailing list
 Ganglia-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general
 




The contents of this email are the property of PNC. If it was not addressed to 
you, you have no legal right to read it. If you think you received it in error, 
please notify the sender. Do not forward or copy without permission of the 
sender. This message may contain an advertisement of a product or service and 
thus may constitute a commercial electronic mail message under US Law. The 
postal address for PNC is 249 Fifth Avenue, Pittsburgh, PA 15222. If you do not 
wish to receive any additional advertising or promotional messages from PNC at 
this e-mail address, click here to unsubscribe. 
https://pnc.p.delivery.net/m/u/pnc/uni/p.asp 
By unsubscribing to this message, you will be unsubscribed from all advertising 
or promotional messages from PNC. Removing your e-mail address from this 
mailing list will not affect your subscription to alerts, e-newsletters or 
account servicing e-mails.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general