Fw: Re: Plugins and remote monitoring

Bill Wilson <[email protected]> Wed, 14 Mar 2012 22:07:39 -0500
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Wed, 14 Mar 2012 20:32:42 +0000
Damien Moody <[email protected]> wrote:

> Hi Bill,
> 
> I've tried gkrelltop but have not gotten it to display remote
> data. Do I need to install gkrelltop on both the remote and local
> machines? 
> 
> Damien

When you emerged gkrelltop, the local gkrelltop.so and a gkrelltopd.so intended
for a server was probably built, but the server gkrelltopd.so plugin needs to be
installed on the server machine and it needs to be enabled . 
So the requirements on the server are:
	1) gkrelltopd.so in one of
		~/.gkrellm2/plugins-gkrellmd
		/usr/local/lib/gkrellm2/plugins-gkrellmd

	2) Enable gkrelltopd.so on the server by having the line
		plugin-enable gkrelltopd
	in at least one of the files
		~/.gkrellmd.conf
		/usr/local/etc/gkrellmd.conf

On the server, run gkrellmd -plist to see what server plugins are installed
and gkrellmd -plog to see if it can load OK.

If the local and remote architectures are compatible, you can just copy over the
gkrellmtopd.so file from where it was built.  Otherwise you can build on the server
in the gkrelltop source directory with:

	make gkrelltopd.so

You might then need to manually install gkrelltopd.so in an install directory because
it seems a make install will also try to build gkrelltop.so which you might not want on
the server.

Well, I think that should do it.  The latest gkrelltop version I know of is 2.2.6 but I
think the server gkrelltopd.so first appeared for the gkrelltop 2.2 or 2.2.1 version.

Bill
 
> On Wed, 14 Mar 2012 14:24:45 -0500
> Bill Wilson <[email protected]> wrote:
> 
> > On Wed, 14 Mar 2012 13:32:15 +0000
> > Damien Moody <[email protected]> wrote:
> > 
> > > I seem to be unable to use plugins with remote monitoring. All the
> > > builtins use remote data, but any plugins I add use local data, even
> > > when starting with the -s switch. 
> > > 
> > > Is this a known issue? Can I fix this?
> > > 
> > > I use Gentoo, and I've installed gkrellm + various plugins via
> > > emerge. 
> > 
> > A plugin has to be written to handle the server possibility.  This
> > means a plugin needs to written to have a gkrellmd server module and
> > a corresponding local gkrellm module that will check for the presence
> > of its remote running plugin counterpart.  Unfortunately, there just
> > aren't many plugins written this way, but off the top of my head, I
> > can list at least gkrellmwho2 and gkrelltop that are.
> > 
> > Bill
> > 
> > ______________________________________________
> > Gkrellm mailing list
> > [email protected]
> > Read archives-join-leave-set RSS feed:
> > http://archive.lists.netservicesgroup.com
> > This service is provided by The Network Services Group:
> > http://www.netservicesgroup.com
> > 
>

______________________________________________
Gkrellm mailing list
[email protected]
Read archives-join-leave-set RSS feed:
http://archive.lists.netservicesgroup.com
This service is provided by The Network Services Group:
http://www.netservicesgroup.com