Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

SMB Connection

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2020-05-19
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Owner
Hits
4207
Files:
FileDescription
check_smb1.ps1check_smb1.ps1
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
SMB Connection
Powershell Script to check SMB Connection on Windows Server.
Works with Windows 2012 and higher.

Output: OK: SMB1=0, SMB2=7, SMB3=14 Connections active
Connections seperated for every Version.
Shows Performancedata and IP, Computername, User and SMB Version for SMB1 Connections only.
Warning and Critical Level for SMB1 only!
NSCLIENT.ini: check_smb1 = cmd /c echo scriptscheck_smb1.ps1 $ARG1$ $ARG2$; exit $LastExitCode | powershell.exe -command -

Checkcommand ./check_nrpe -H $IPADRRESS$ -c check_smb1 -a $ARG1$ $ARG2$
$ARG1$ Warning
$ARG2$ Critical