29 Jan
2007
29 Jan
'07
2:01 p.m.
Hi Henrik,
Will this example be included in the next release or in the FAQ/documentation?
I think this is worth it! (I might even have to reconsider the way I'm aggregating clients values for my ganglia-like output *grumble*)
Cheers, Gildas
I'm not familiar with Perl at all, but a couple of hours work produced this, which appears to work fine. I'll include it as a sample of how to hook into the Hobbit server-side channels.
To use it, put it in your ~hobbit/server/ext/ directory, and add this to your hobbitlaunch.cfg on your server:
[rootlogin] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.pl
Regards, Henrik