Hello, currently the pidfile based monitoring doesn't allow any prefix for the PID. The process matching method should be fine in this case - there were performance improvements for this method in recent monit versions, upgrade to monit 5.18 is recommended.
Best regards, Martin > On 27 May 2016, at 18:26, Stephen Berg (Contractor) > <[email protected]> wrote: > > I have a couple of daemons that do create a pid file at startup but the pid > file contains the text "pid: " before the pid. How can I set up a config > file that will be able to ignore the "pid: " part of that file and just read > the pid that's in there? > > Right now I'm checking using the process matching method, but I'd like to > know if matching for the pid is still possible. > > -- > Stephen Berg > Systems Administrator > NRL Code: 7320 > Office: 228-688-5738 > [email protected] > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
