[systemd-bugs] [Bug 87799] New: [feature request] Sending alarm-message to admin on StartLimitBurst==?UTF-8?Q?=20=D0=B8=20StartLimitInterval?== are hit

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 28 07:25:30 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87799

            Bug ID: 87799
           Summary: [feature request] Sending alarm-message to admin on
                    StartLimitBurst= и StartLimitInterval= are hit
           Product: systemd
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: mikhail.kasimov at gmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

Use-case: some service-unit like
===============
[Unit]
Description=Test-Unit

[Service]
...
Restart=on-failure
StartLimitBurst=5
StartLimitInterval=10
OnFailure=./alarm-message.sh
FailureAction=none

[Install]
WantedBy=multi-user.target
===============

where ./alarm-message.sh is the admin-made script, which sends email OR jabber
OR sms message to administrator if service fail.

The idea is to define the directive to send alarm-message _after_
StartLimitBurst=/StartLimitInterval= are hit, instead of sending alarm-message
after _each_ service failure-state.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141228/3ea78e4d/attachment.html>


More information about the systemd-bugs mailing list