You have two options.  Using just the command below the metric will be
called  PBSJOBS and will appear as a simple graph under the node you are
running on.  You can even select it from the drop down in the cluster
view, but the other nodes in the cluster will not produce graphs (unless
they are also running it).  In this instance I would assume that would
be correct.

 

You can however write a different configuration file and tell gmetric to
use it through the -c switch.  If you do this, then you will also need
to start an additional daemon using -c and -p to specify the
configuration file and pid-file respectively.  You can also spoof the
name and IP of the sender by using -S <IP>:<name>  I do the latter to
monitor switches.  The server gathers the metrics and sends them to
gmetric using the alternative configuration file and the IP-and-name of
the switch.  The alternative gmond forwards them and they appear to be a
separate cluster.  I very much doubt that this is what you want for PBS
statistics, so leave spoofing and alternate configuration files well
alone.

 

HTH, Martin

 

From: Rita [mailto:[email protected]] 
Sent: 16 October 2013 13:15
To: [email protected]
Subject: [Ganglia-general] gmetric question

 

I want to implement a gmetric. To implement one, do I need to create a
virtual host or something else?

 

I am taking a look at this for example, 

https://github.com/ganglia/gmetric/blob/master/hpc/pbs_jobs/pbs_jobs.sh

 

 

But, what graph will this go under?  There is no specification just a
command. 

 

$GMETRIC --name PBSJOBS --type uint16 --units jobs --value $QSTAT 

 


This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is 
addressed. If you are not the intended recipient of this email,
you must neither take any action based upon its contents, nor 
copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. QinetiQ may 
monitor email traffic data and also the content of email for 
the purposes of security. QinetiQ Limited (Registered in England
& Wales: Company Number: 3796233) Registered office: Cody Technology 
Park, Ively Road, Farnborough, Hampshire, GU14 0LX  http://www.qinetiq.com.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to