Thoughts about a custom plugin

Marc Powell marc at ena.com
Sun Jul 20 17:16:45 CEST 2008


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).

--
Marc

-------------------------------------------------------------------------
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