Netsaint statuses

Frank Schafer <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <1036497301.378.8.camel@ADMIN>
Hi there,

on my way learning NetSaint, I hit the following problem:
I've looked at some of the scripts in the netsaint-plugins.
Some of them are exiting with $STATUS_OK, $STATUS_WARNING etc. Some
other do an ``echo OK'', ``echo WARNING'' etc. I've seen too, that some
do simply ``exit 0'', ``exit 1'' and so on.
The least of this should be the right way, due to the plugin development
guidelines.
Where the hick do the shell variables like $STATUS_OK and so on come
from? Does netsaint itself change the environment and (if so) how can
these plugins run from the command line (as the documentation says)?
From the guidelines too I took, that I always should print something.
Where does these printings go to?

Thanks for every explanation
Frank



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.