KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Vss snapshot monitoring

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
boxy_25



Joined: 02 Dec 2003
Posts: 26
Location: France

PostPosted: Mon Sep 12, 2022 2:42 am    Post subject: Vss snapshot monitoring Reply with quote

Hi Alex,

We saw that the recently cyberattacks starts by disabling the vss snapshots on all servers.
We use vss snapshot on our file servers because it is very usefull for restoring files and folders, especilally when a user get some files encrypted by ransomware...
We'd like HM to monitor if snapshots are available and renewed.
I've tried to monitor the snap files but it seems that its not accessible because it's system files.
The only command i found is "vssadmin list shadows" that list all the snaps, but i cannot use it in HM
any idea how i can do that??
Thanks.
Back to top
View user's profile Send private message Visit poster's website
boxy_25



Joined: 02 Dec 2003
Posts: 26
Location: France

PostPosted: Mon Sep 12, 2022 7:02 am    Post subject: Reply with quote

I found a way to count snapshots with powershell

Code:
(Get-CimInstance win32_shadowcopy).count


So if the output is 0 there is a pb. else it's ok
I've try to put that in a shell test but it doesn't work. I'm not very familiar with shell test...
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Mon Sep 12, 2022 9:09 am    Post subject: Reply with quote

Script result should look like
scriptres:Ok:5
or
scriptres:Bad:0
or
scriptres:Bad:snapshot missed

HostMonitor does not know what results are good, what results are bad so you should tell HostMonitor what status to set

https://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#shellres

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index