[smokeping-users] using sudo in an alert

Andrew Pattison andrum99 at gmail.com
Tue Jul 24 23:35:25 CEST 2012


I am trying to set up smokeping with an alert script. The alert script is
called like this entry in /etc/smokeping/config.d/Alerts:

to = |sudo script.py

When called as simply |script.py this works fine, but with sudo the script
does not get called. How can I get this working?

Thanks

Andrew.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120724/ca3fe2ff/attachment.htm 


More information about the smokeping-users mailing list