Monitoring Agents

DFS Replication and BackLog

Description:

Check DFS Replication and Check DFS Backlog are VBS scripts written to check Windows Distributed File System for good status and backlog workflow.

Author: Kevin Keck
ITDevops
ArgoTurbo Corporation

Current Version

Nagios XI

Last Release Date

2015-10-10

Compatible With

  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner

License

GPL


Project Files
Project Notes
Check DFS Replication and Check DFS Backlog are VBS scripts written to check Windows Distributed File System for good status and backlog workflow. DFS replication can be setup locally and will check all DFS groups setup on that server, it has one variable that can be passed to check the conflicts and deleted directory sizes in MB. DFS Backlog needs to have the specified folder you want to check for backlog. Three variables are fed from Nagios, warning/critical (in number of files), and the folder name you want to check. Keep in mind that external variables have to be setup in the Windows check utility you are using. I have mentioned the changes I had to make in the INI files along with the check command for either of the two I use. Example: Nagios service: $USER1$/check_nrpe -u -H $HOSTADDRESS$ -p 5666 -c check_DFSR -t 180 -a $ARG1$ COMMAND: /usr/local/nagios/libexec/check_nrpe -u -H SERVERNAME -p 5667 -c check_DFSR -t 180 -a 600 OUTPUT: 14 Replication groups passed, all under 600MB synch difference. $USER1$/check_nrpe -u -H $HOSTADDRESS$ -t 420 -p 5667 -c check_DFSBacklog -a $ARG1$ $ARG2$ $ARG3$ COMMAND: /usr/local/nagios/libexec/check_nrpe -u -H SERVERNAME -t 420 -p 5667 -c check_DFSBacklog -a FOLDERNAME 100 200 OUTPUT: OK - 0 -BackLog Count for FOLDERNAME 0 -BackLog Count for FOLDERNAME NRPE: dont_blame_nrpe=1 command[check_DFSR]=cscript.exe //NoLogo C:nrpe_nt.0.8b-binbinDFSR.vbs $ARG1$ command[check_DFSBacklog]=cscript.exe //NoLogo C:nrpe_nt.0.8b-binbinDFS-Backlog.vbs $ARG1$ NSClient: [/settings/NRPE/server] allow arguments=1 [/settings/external scripts/scripts] check_DFSR = cscript.exe //NoLogo C:nrpe_nt.0.8b-binbinDFSR.vbs $ARG1$ check_DFSBacklog = cscript.exe //NoLogo C:nrpe_nt.0.8b-binbinDFS-Backlog.vbs $ARG1$
Reviews (10) Add a Review
Not for Win server 2016
by anthonyCHU, July 31, 2018

hello, 2016 Server don't use DFSR, now it's storage replica....



Error Scripts DFSR line 27
by Stronix, March 31, 2018

Hello,I want to run your script on Windows Server 2016 but i have a error message who appears : Line : 27 Caract : 1 Error : Subscript outside of the range Code : 800A0009 Source : Error execution of Microsoft VBScript Thank's you for your work !



DFS replication and Backlog
by bladezz, April 30, 2016

I have managed to get the DFS replication script to work , but having a vbscript runtime error: Subscript out of range when I run the command shown on the page for backlog. as I'm not a coder not sure what the problem is.



No handler for that command
by Rookie23, February 29, 2016

I am getting this message when I want to try it from my nagios server. NSClient on Windows is 0.4.172, and set up is per your instructions here Tried the script manually from command line in Windows, works really good. Please if you can, contact me, I am quite clueless what to do



WOW
by tyrese65, November 30, 2015

I implemented DFS in my environment recently but was disappointed by the lack of monitoring tools available. But since I was already using Nagios, this was perfect! Really amazed by the quality of this plugin. Perfect reporting every time. Thanks for your effort!



Awesome Plugin!
by GChildress1975, November 30, 2015

This plugin is very useful in our environment. We recently implemented DFS and looked to Nagios for alerting. This plugin does exactly what we need. Thank you for spending the time to create this for other Nagios customers ArgoTurbo!!!



Super Helpful
by bkhan20, October 31, 2015

This is super Helpful. There was no way for us to be proactive in identifying issues with DFS replication. With this we can identify and resolve DFS replication and backlog issue way before our users are impacted. Thanks Argoturbo



Nice!
by HoodieWhatie, October 31, 2015

This is excellent! So much easier than the alternative solutions. Thank you for putting forth the time and effort on this one. Easy 5 Stars.



DFS Replication and BackLog
by arindam, October 31, 2015

Nice add-on to check the DFS replication and DFS backlog if any in no time. Really appreciated Argoturbo for this awesome add-on.



What a find!
by lfazal, October 31, 2015

Glad this was uploaded We have had issues with DFS replication and backlog reporting for a while. There was no plugin up until this point for nagios. Using powershell was good however not integrated and required constant maintenance. Glad Argoturbo wrote this plugin.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.7 (15)
Favorites
0
Views
21,453