newbie question
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Mon Oct 14 19:09:24 CEST 2002
The answer is, "it depends". But I'm sure you expected that. ;)
The Nagios plugins work on exactly that principle: return value 0, green
light; return value 1; yellow/warning; return value 2; red/critical. This
also works across NRPE, which is handy.
If you're interested in writing a plugin (if that's where your question is
coming from), then this is basically it. If you're hoping that Nagios will
know what to do with a return value of, say, 17, then you'll have to write a
wrapper script/program to do the translation. If you're trying to monitor a
daemon and want to be notified (based on the daemon's return value on exit)
with the appropriate value, you'd first have to figure out how to get that
return value. Once you've figured that part out, the rest is easy.
jc
> -----Original Message-----
> From: Eduard San Anselmo [mailto:esananselmo at albasoft.com]
> Sent: Monday, October 14, 2002 10:55 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] newbie question
>
>
> Hi everyone, I've just read about Nagios and I still haven't
> got to play
> with it: before, I would like to make one question (I'm
> afraid it won't
> be the last, so take my apologies in advance): :Does Nagios support
> monitoring of binaries, based on their return values?
> Thank you.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list