-
Notifications
You must be signed in to change notification settings - Fork 72
Handle services when their executable paths are not availabe #108
Copy link
Copy link
Open
Description
Hello,
I have some services I want to monitor but their executable paths are not available (they show up in 'ps' command as "[cmd]" with square brackets) and they don't have pid files..
One example is "[mega-cmd-server]" from MEGAcmd
https://github.com/meganz/MEGAcmd
Currently $settings['services']['executables'] array only takes full path of the executable:
// Format: Label => path to executable or array containing arguments to be checked
$settings['services']['executables'] = array(
// 'MySQLd' => '/usr/sbin/mysqld' // uncomment to enable
// 'BuildSlave' => array('/usr/bin/python', // executable
// 1 => '/usr/local/bin/buildslave') // argv[1]
);
Is it possible for settings array to handle services running as "[cmd]" in 'ps'?
see: https://unix.stackexchange.com/questions/22121/what-do-the-brackets-around-processes-mean
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels