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
4317
Files:
FileDescription
check_smb1.ps1check_smb1.ps1
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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