<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.2">
</HEAD>
<BODY>
Dnia 2010-01-27, śro o godzinie 10:49 -0500, Sébastien Pierre pisze:<BR>
<BLOCKQUOTE TYPE=CITE>
Hi Xani,
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
I would like to create a dashboard to display collectd values coming from many different servers. From my understanding, collectd can "push" values to a specific server, provided it speaks collectd protocol -- but here I'd like to do it the other way, ie. pulling collectd data directly from the individual servers (and then populate a dashboard with this raw data).
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
I should note that the servers are slices, so not on the same private network. In essence, what I'd like to do is:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
$ collectd_get_data <B><A HREF="http://slice1.mydomain.com">slice1.mydomain.com</A></B>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRINTS ALL COLLECTD VALUES FROM SLICE <A HREF="http://slice1.mydomain.com">slice1.mydomain.com</A>>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
$ collectd_get_data <B><A HREF="http://slice2.mydomain.com">slice2.mydomain.com</A></B>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRINTS ALL COLLECTD VALUES FROM SLICE <A HREF="http://slice2.mydomain.com">slice2.mydomain.com</A>>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
So where should I start ?
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
-- Sébastien
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
Probably the simplest way to do it would be to "push" them thru collectd protocol to collectd instance on server with dashboard<BR>
and then query that instance using one of plugins, for example unixsocks plugin<BR>
<A HREF="http://collectd.org/wiki/index.php/Plugin:UnixSock">http://collectd.org/wiki/index.php/Plugin:UnixSock</A><BR>
<A HREF="http://collectd.org/wiki/index.php/Plain_text_protocol">http://collectd.org/wiki/index.php/Plain_text_protocol</A><BR>
You probably could hack some simple daemon to serve data on nodes and then "pull" data but setting up simple VPN would probably be simpler (in case nodes and dashbaord server cant see eachother
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
Mariusz Gronczewski (XANi) <<A HREF="mailto:xani666@gmail.com">xani666@gmail.com</A>>
GnuPG: 0xEA8ACE64
<A HREF="http://devrandom.pl">http://devrandom.pl</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>