Writing a custom detector

Hello everyone!

Im currently in the process of writing a custom detector for openNMS.
I was wondering if there were any links to useful information about this topic!

Thanks in advance,


There’s not a lot specifically on that, outside of the Java API docs.

I would suggest our Mattermost chat server as there are more developers there.

What kind of detector are you working on?

Hello, thanks for the response.
Im working on a websocket service Detector.

I will check Mattermost chat aswell.

There is a TcpDetector that may work for that. (currently missing from the documentation) It connects to a TCP port and checks for a matching response from the banner message.

Updating here that the original issue isn’t creating a new WebsocketDetector, but using the existing WebDetector to check the status of websocket service.