Hello
I am modifying jmxetric to adapt it to our cluster requirements. I will
send a pull request when I finish.
I would like that jmxetric reports the same host than ganglia plugins are
reporting. my servers have 2 host names: localhost and a name assigned by
DNS. Right now jmxetric is reporting stats using localhost as hostname.
However ganglia pluings are reporting stats using the DNS assigned hostname.
I would like jmxetric information is reported like the others ganglia
plugins, that is, I would like it uses the other name assigned by the DNS
(no localhost). I do not want to configure this hostname by hand because I
do not want to edit each jmxetric config file one by one.
The code setting this information lives in Protocolv31x.java:
if (spoofName != null && !spoofName.isEmpty()) {
this.isSpoofName = true;
this.localHostName = spoofName;
} else {
this.isSpoofName = false;
this.localHostName = InetAddress.getLocalHost().getHostName();
}
What should it send in order to behave like the others ganglia plugins?
Null, empty string?
My intention is that if this value is not configured, the default reported
value is none or the same than reported by the others plugins.Each server
will report its stats and they will be groups by DNS name.
Thanks
Pablo
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers