PT_DELETED Auto Restart
Posted: 13 Apr 2011, 16:19
Is it possible to either have LFD restart services which have been updated (which leave the old deleted processes running), or for LFD to call a customisable script with the details of the deleted process.
I have multiple servers, and (according to Cpanel) cpanel cannot cope with auto restarts of RPM based software. (The most common culprit is messagebus).
I would love it if when lfd first sees that the dbus proccess has been deleted, that it could attempt an automatic restart of it, instead of emailing me about it every hour.
Sure this is only relevant for certain services, which is where I think a customisable script would be good. This could be called each time lfd sees a deleted process, and would then allow admins of individual systems to decide which services they want to auto restart, along with the server specific syntax for doing so.
Other common updates which cause lfd to spam are
pure-ftpd
haldaemon
dovecot
postgresql
mysql
Deleted process tracking is a great idea, and not something i am keen to turn off, but we do need some kind of way to limit the amount of spam it sends, so that a real threat doesnt get lost amongst all the junk.
I have multiple servers, and (according to Cpanel) cpanel cannot cope with auto restarts of RPM based software. (The most common culprit is messagebus).
I would love it if when lfd first sees that the dbus proccess has been deleted, that it could attempt an automatic restart of it, instead of emailing me about it every hour.
Sure this is only relevant for certain services, which is where I think a customisable script would be good. This could be called each time lfd sees a deleted process, and would then allow admins of individual systems to decide which services they want to auto restart, along with the server specific syntax for doing so.
Other common updates which cause lfd to spam are
pure-ftpd
haldaemon
dovecot
postgresql
mysql
Deleted process tracking is a great idea, and not something i am keen to turn off, but we do need some kind of way to limit the amount of spam it sends, so that a real threat doesnt get lost amongst all the junk.