Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504540

Summary: net-analyzer/munin - add systemd units for munin-cron
Product: Gentoo Linux Reporter: Emery Hemingway <emery>
Component: [OLD] ServerAssignee: Sysadmin Bugs <sysadmin>
Status: UNCONFIRMED ---    
Severity: normal CC: graaff, systemd
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    
Attachments: munin-cron.service
munin-cron.timer

Description Emery Hemingway 2014-03-14 02:12:04 UTC
Attached are systemd units to start munin-cron every five minutes with systemd rather than cron.

They are installed with systemd_dounit, and can be activated with `systemctl start munin-cron.timer`.

Reproducible: Always
Comment 1 Emery Hemingway 2014-03-14 02:13:21 UTC
Created attachment 372626 [details]
munin-cron.service
Comment 2 Emery Hemingway 2014-03-14 02:14:16 UTC
Created attachment 372628 [details]
munin-cron.timer
Comment 3 Pacho Ramos gentoo-dev 2014-03-15 09:50:07 UTC
I am sure if we really need this (and, also, why we need this every 5 minutes :/), wouldn't this be something completely up to the user?
Comment 4 Emery Hemingway 2014-03-17 14:12:07 UTC
(In reply to Pacho Ramos from comment #3)
> I am sure if we really need this (and, also, why we need this every 5
> minutes :/), wouldn't this be something completely up to the user?

Its what cron was doing before:
*/5    * * * *         /usr/bin/munin-cron

Munin-cron goes out and asks nodes for updates, running it every five minutes is quite normal.
Comment 5 Pacho Ramos gentoo-dev 2014-03-17 21:41:56 UTC
But I doubt we should provide this kind of cron replacement from the distribution, it looks to me like something up to the user

@systemd, any thoughts?