My project wants to use Nagios not only to monitor processes, but also to receive custom messages from a few different software components. What we're looking for is some sort of open API where we can make direct calls from our software components to Nagios, and send some sort of custom event. Basic message, something like an event id, and a few strings for component, message severity and message text.
So instead of using like the NSClient to monitor points and talk back with the server, we're looking for a plugin that would live on each of our servers, that exposes a Nagios API, that our software can import and make direct calls to.
Can someone point me to documentation that explains how this can be done, or if there are already custom plugins that do this I can read about those. We want to avoid things like having our software write to the Windows Event Log and having Nagios parse that, we'd really like a direct software to software solution.
And again, forgive my ignorance. If this is very commonly done and I just haven't found the documentation yet, I apologize!
Thanks!