2009/4/21 Christopher McAtackney <crist...@gmail.com>: > 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 use > as a template? > > Cheers, > Chris
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 a good example for you. Cheers, Jim ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Nagios-users mailing list Nagios-users@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