Thoughts about a custom plugin
stan
stanb at panix.com
Sun Jul 20 17:19:30 CEST 2008
On Sun, Jul 20, 2008 at 10:16:45AM -0500, Marc Powell wrote:
>
> On Jul 20, 2008, at 9:28 AM, stan wrote:
> >
> > After having looked at the way Nagios plugins work, i have a couple of
> > concerns about this design. The first is the rule that says the status
> > returned by a plugin should be less than 8 characters. The 2nd is
> > that, for
>
> Perhaps I'm not following but I'm not aware of any such restriction.
> Nagios only really cares about the exit _code_ code of a plugin (1-4)
> and the text is for humans only. That text can be quite large. In
> nagios-2 it must all be on one line. There is a limit but it depends
> on how you're getting your results back to nagios but in all cases is
> much greater than 8 characters (i.e. ~500 at minimum I believe for
> passive checks). In nagios-3 it can be split across multiple lines
> (with documented caveats) with no limit I believe (but check the
> documentation).
>
Sorry for the 8, it was supposed to be 80, and came from a web page I read
about developing NAGIO plugins. If I recall the reason corectly, it was
because that status might go to a printed report?
--
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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