Extending Nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
joaquin
Posts: 6
Joined: Wed Jun 06, 2012 10:12 am

Extending Nagios

Post 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?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Extending Nagios

Post 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.
joaquin
Posts: 6
Joined: Wed Jun 06, 2012 10:12 am

Re: Extending Nagios

Post 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?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Extending Nagios

Post 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.
Locked