It depends which traces the exception left ... if the exception is logged to some logfile, you can use the "check file" statement with content test.
Best regards, Martin > On 17 Aug 2016, at 18:47, Joseph Larsen <[email protected]> wrote: > > I’m using monit to watch a few node.js servers that i’m running. So far, so > good. My question, if they are stopped it’s almost always because an > uncaught exception happened. Is there a way to use monit to email me the > exception(s) that caused the server to die? > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
