I have an OpenNMS system configured and up and running.
I have a few Linux (debian) servers and I need to monitor if a specific service is running on them. This must be done using only ssh access. No SNMP or agents. I must configure OpenNMS to log-in on these servers and check if this service is running.
I've read about Polling, but I haven't found instructions on how to configure OpenNMS to access a remote Linux computer and check if a service is running.
Ideally what I'm looking for is a way to specify in OpenNMS, an IP Address, username, password and the name of the process I want to monitor.
How can I do this?
Check out the this SSH plugin from the Pandora FMS community library.
It is a server plugin, read this documentation to see how to register the plugin and use it.
If you've never heard of Pandora FMS, check out their community website at pandorafms.org where you can download the Community edition.