Re: [Nagios-users] C++ Plugins

2009-04-27 Thread Michael Medin
On 2009-04-24 12:05, Christopher McAtackney wrote: 2009/4/21 Michael Medin : Hello, All the "built in" plugins are avalible as source so it should be pretty simple to figure out. The idea is anyways that you fill the buffer passed to the function from the "core". (this will BTW change in the

Re: [Nagios-users] C++ Plugins

2009-04-24 Thread Christopher McAtackney
2009/4/21 Michael Medin : > Hello, > > All the "built in" plugins are avalible as source so it should be pretty > simple to figure out. > The idea is anyways that you fill the buffer passed to the function from the > "core". > (this will BTW change in the next major release) Thanks for the explan

Re: [Nagios-users] C++ Plugins

2009-04-21 Thread Michael Medin
Hello, All the "built in" plugins are avalible as source so it should be pretty simple to figure out. The idea is anyways that you fill the buffer passed to the function from the "core". (this will BTW change in the next major release) Anyways... If you are using the "glue" (around the C api) I

Re: [Nagios-users] C++ Plugins

2009-04-21 Thread Christopher McAtackney
> Chris, > > if you do a search on http://nagiosexchange.org for "c++" you will > find various plugins, utilities and addons written using C++.  I guess > most or at least some of them will include the source code.  I don't > program any version of C myself so can't check for sure which might be >

Re: [Nagios-users] C++ Plugins

2009-04-21 Thread Jim Avery
2009/4/21 Christopher McAtackney : > Hi all, > > I'm trying to develop a plug-in for NSClient++ written in C++, but I'm > unsure of how to return the status code and the check result string > (e.g. 2 and "Service is Critical"). > > Are there any examples of C++ plugins online anywhere that I can us