Well, saying that we should edit all checks is more work than just making the H parameter optional.
There are many custom checks out there which don’t use the H parameter and which don’t even need it.
So what do we have to do to get the optional H parameter implemented in Librenms. Surely this cannot be to hard.
I’m not really understanding the goal here. Can you all clarify a bit?
Generally speaking, if a Nagios check doesn’t have a -H option that means it was designed to be run locally on the server you’re checking and from there it’s meant to be called through some sort of remote execution protocol, like check_by_ssl, or check_mk or NRPE.
So when that’s the case all removing -H does is let you run your check locally on the LibreNMS server/poller. You still need another piece to be able to call that check on the remote server.
In the current implementation its a Ceph plugin that runs locally but could run on any server as long as the Ceph client configuration is present. The target server/mons are also configured in the Ceph configuration.
Librenms runs all checks from local host but against external servers if configured so.
I don’t know of any way to execute checks on remote servers with librenms via nagios itself.
Hints are welcome.
I don’t know PHP and have no time to learn programming it. To many other things going on.
It was mere a logical conclusion that one change instead of many continuous changes makes more sense especially when one solution is the only one out there doing it like this.