How to configure OpenNMS it's own service?

I was wondering if OpenNMS can self-monitor itself and send out a notification before a crash. If yes, how can I configure this?

Thanks for helping.

It does so out of the box in V29 and newer.

Otherwise, add a node with interface in location Default with (at least) the OpenNMS-JVM service.

That will self-monitor to collect performance stats and provide non-fatal alerts. If the service itself goes down, it won’t send an alert to say the service has crashed.