[smokeping-users] Anyone have systemd init scripts?
Pacheco Bravo, Dago Javier
dpacheco at unap.cl
Thu Oct 1 16:46:27 CEST 2015
Hi smokeping users.
For anyone that need it, attached is a systemd init script which work fine for me on CentOS 7. The script was a little bit tweaked from the one present in the Fedora 22 smokeping 6.10 RPM package (works fine for 6.11).
The installation is pretty easy
-copy init scritp to /etc/systemd/system/ folder
-edit the file and replace smokeping installation path for wherever you install it.
-for slave servers, add salve options to ExecStar var
-run command “systemctl daemon-reload”
-test start, stop, restart, status, reload commands for smokeping.service. “systemctl start smokeping.service” for example.
-run “systemctl enable smokeping.service” to run smokeping at startup.
And that’s it.
Bye,
Dago
De: smokeping-users [mailto:smokeping-users-bounces+dpacheco=unap.cl at lists.oetiker.ch] En nombre de Sorrell, Al
Enviado el: martes, 21 de abril de 2015 9:57
Para: 'Eric' <eric at rednarb.com>
CC: smokeping-users at lists.oetiker.ch
Asunto: Re: [smokeping-users] Anyone have systemd init scripts?
I setup a virtual box with latest Fedora at home and downloaded Smokeping via yum. There was a smokeping.service file included. I don’t have access to a Linux box at the moment but will forward to the list tonight. Or you can just get it from the repo – I should have tried this before posting!
From: Eric [mailto:eric at rednarb.com]
Sent: Monday, April 20, 2015 9:50 PM
To: Sorrell, Al
Cc: smokeping-users at lists.oetiker.ch<mailto:smokeping-users at lists.oetiker.ch>
Subject: Re: [smokeping-users] Anyone have systemd init scripts?
On Apr 20, 2015, at 2:07 PM, Sorrell, Al <Al_Sorrell at troweprice.com<mailto:Al_Sorrell at troweprice.com>> wrote:
We’re moving from Solaris 10 to RHEL 6.5 Linux which uses systemd. I was wondering if anyone already had a smokeping.services type script for the systemd environment that they would be willing to share?
Thanks,
Al
_________________________
Me too please!
T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its associates do not provide legal or tax advice. Any tax-related discussion contained in this e-mail, including any attachments, is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding any tax penalties or (ii) promoting, marketing, or recommending to any other party any transaction or matter addressed herein. Please consult your independent legal counsel and/or professional tax advisor regarding any legal or tax issues raised in this e-mail.
The contents of this e-mail and any attachments are intended solely for the use of the named addressee(s) and may contain confidential and/or privileged information. Any unauthorized use, copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by the sender and may be unlawful. If you are not the intended recipient, please notify the sender immediately and delete this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20151001/854993ec/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smokeping.service
Type: application/octet-stream
Size: 337 bytes
Desc: smokeping.service
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20151001/854993ec/attachment.obj>
More information about the smokeping-users
mailing list