Page 1 of 1

Extending Nagios

Posted: Wed Jun 06, 2012 10:19 am
by joaquin
Hello,

I put a question to you all, I realized that studying Nagios the only point where we can extend and customize it in writing your own plugins. It 's true?

Re: Extending Nagios

Posted: Wed Jun 06, 2012 11:14 am
by agriffin
There are many existing components built on top of Nagios, but you're right in the sense that there is no easy API to help you. Most of them use ugly hacks to communicate with Nagios.

Re: Extending Nagios

Posted: Thu Jun 07, 2012 2:27 am
by joaquin
agriffin wrote:There are many existing components built on top of Nagios, but you're right in the sense that there is no easy API to help you. Most of them use ugly hacks to communicate with Nagios.
For example, to introduce basic functionality without plugins should I integrate my code, and recompile. Right?

Re: Extending Nagios

Posted: Fri Jun 08, 2012 9:52 am
by agriffin
That's certainly one option, but it's not the approach taken by most third-party projects. For example, NagiosQL is a configuration utility which reads and writes the config files directly. Alternative interfaces might read information by parsing Nagios Core's web interface.