Sorry for mistake : API questions about Nagios

Andreas Ericsson ae at op5.se
Tue Oct 18 09:06:43 CEST 2005


Zhan Zhaohua wrote:
> Sorry, here is a mistake, the correct question is:
> 
> 1.I know the Nagios is writed in C. Does it
> have C/C++ API?
> 

The core has a C API. You can make a C++ API out of it by adding the 
proper ifdefs. It isn't documented at all. You might want to read the 
sources of the nagios-db NEB-module, or have a look at 
http://oss.op5.se/nagios/sampler.c to see what can be done with it.

> 2. Because I will use it at many way so we want to
> know whether Nagios support Java API, or the other
> language?
> 

It doesn't.

>    Thank you.
> 
> yours Zhan
> 
> 
> --- Zhan Zhaohua <webpurchasing at yahoo.com> wrote:
> 
> 
>>Hi all,
>>    I'm a new guy of nagios, I have some API
>>questions
>>about nagios, would you please to help me.
>>
>>1.I know the Snort is writed in C. Does it
>>have C/C++ API?
>>
>>2. Because I will use it at many way so we want to
>>know whether Snort support Java API, or the other
>>language?
>>
>>   Thank you.
>>
>>yours Zhan
>>
>>
>>
>>	
>>		
>>__________________________________ 
>>Yahoo! Mail - PC Magazine Editors' Choice 2005 
>>http://mail.yahoo.com
>>
>>
>>
> 
> -------------------------------------------------------
> 
>>This SF.Net email is sponsored by:
>>Power Architecture Resource Center: Free content,
>>downloads, discussions,
>>and more.
>>http://solutions.newsforge.com/ibmarch.tmpl
>>_______________________________________________
>>Nagios-users mailing list
>>Nagios-users at lists.sourceforge.net
>>
> 
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 
>>::: Please include Nagios version, plugin version
>>(-v) and OS when reporting any issue. 
>>::: Messages without supporting info will risk being
>>sent to /dev/null
>>
> 
> 
> 
> 
> 	
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list