Re: Monit with Node Js as foreground

"[email protected]" <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hi,

monit currently doesn't support foreground processes monitoring.

Best regards,
Martin


> On 3 Jun 2019, at 08:45, Yogesh Jangra <[email protected]> wrote:
> 
> Hi all,
> 
>       I am trying to monitor a node js app using monit. The node server is getting started using a script which starts the server as an foreground process. but it results in specified error :-
> 
>             failed to start (exit status -1) -- Program 'start_script.sh 8881' timed out after 30 s
> 
>       1. Does monit `check process` expect an exit status as start_script output ?
>       2. Does monit support monitoring the foreground run processes, if yes, kindly give an example
> 
> Thanks
> 
> 


-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.