I'm having a go at creating a worker and scheduler utility for mrtg under gearman.
Gearman is a distributed processing server, so you'd run gearmand on your central server somewhere to manage the queues, the mrtg_gearman_worker on multiple hosts to handle the queues. On your central MRTG host, you'd run rrdcached, and mrtg_gearman to schedule all the cfg files via the gearman daemon. Then, one of the workers would pick up the job, run MRTG (via cached embedded perl compiler) on it (which would submit the results via rrdcached), and submit an 'OK' back to the centre. It might also be possible to wrap custom target checks (IE, things in backticks) in gearman to run them in a distributed way. I'm basing this on the mod_gearman structure used by Nagios to distribute the Nagios checks; this is very similar to the way MRTG would work, though MRTG would be simpler having only one thing to do. Anyone interested in this possibility? It would make a distributed MRTG work much more easily than the other methods of manually splitting cfg files between satellites, and using NFS rather than rrdcached. Steve _____ Steve Shipway ITS Unix Services Design Lead University of Auckland, New Zealand Floor 1, 58 Symonds Street, Auckland Phone: +64 (0)9 3737599 ext 86487 DDI: +64 (0)9 924 6487 Mobile: +64 (0)21 753 189 Email: <mailto:[email protected]> [email protected] P Please consider the environment before printing this e-mail
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
