Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504540 - net-analyzer/munin - add systemd units for munin-cron
Summary: net-analyzer/munin - add systemd units for munin-cron
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sysadmin Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2014-03-14 02:12 UTC by Emery Hemingway
Modified: 2021-06-16 18:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
munin-cron.service (munin-cron.service,100 bytes, text/plain)
2014-03-14 02:13 UTC, Emery Hemingway
Details
munin-cron.timer (munin-cron.timer,110 bytes, text/plain)
2014-03-14 02:14 UTC, Emery Hemingway
Details

Note You need to log in before you can comment on or make changes to this bug.
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?