On Mon, 29 Mar 2010 10:47:32 +0000, "Joseph L. Casale" <jcas...@activenetwerx.com> wrote: >>How are you checking the exit code? > > With the %errorlevel% if in a batch file, or as my scripts are > all powershell, $LASTEXITCODE as an example. > > With a conditional if it's not "0", I pass the specific trap back.
Care to share your scripts? Thanks, Glynne ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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