Anyone testing Microsoft Volume Shadow Copy?

C. Bensend benny at bennyvision.com
Thu Dec 17 14:44:48 CET 2009


> On Mon, Dec 14, 2009 at 8:17 PM, C. Bensend <benny at bennyvision.com> wrote:
>>
>>   Looking at the vssadmin.exe command on the Windows server, I see
>> I can:
>>
>>
>> vssadmin List Shadows
>>
>>
>>   And it prints out a listing of the existing shadow copies.
>> However, without awk and grep (and no, I cannot install cygwin or
>> anything like that), I don't have a clue how to process it.
>
> you'll have to parse the output of that command with the tools at
> hand: vbscript or powershell, even and oldfashined bat file. Write
> your own plugin, it is not that hard. Once you have the script, you
> have it executed by nrpe (nsclient++ has an nrpe client).

Just an FYI, after I spent an hour or two learning VBscript and
writing a shell wrapper to parse the output, I found:

http://exchange.nagios.org/directory/Plugins/%2A-Plugin-Packages/Nagios-Plugin-Collection/details

which includes a test for Shadow Copies.  Sigh.  Oh well, good
learning experience.  :)

Benny


-- 
"It's not all about getting up and putting four slices of kickass
in a two slice toaster."         -- ark86, on Fazed.net



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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