Checking Windows Backup (ntbackup)

Joseph L. Casale jcasale at activenetwerx.com
Mon Mar 29 12:47:32 CEST 2010


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

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