Home Directory Plugins Hardware Storage Systems SAN and NAS IBM San Volume Controller Check IBM Storwize V7000 Unified / SONAS SMB Sessions

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

Check IBM Storwize V7000 Unified / SONAS SMB Sessions

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2016-06-14
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Owner
License
MIT
Hits
2508
Files:
FileDescription
check_sonas_smbsessions.shcheck_sonas_smbsessions.sh

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

This bash script reports on the number of SMB sessions in an IBM Storwize V7000 Unified / SONAS system, by evaluating syslog entries in /var/log/messages.
Storwize V7000 Unified / SONAS systems report the current number of sessions to each interface node's syslog. This script collects the current value and adds it up for all nodes.
The plugin produces Nagios performance data so it can be graphed.

The actual code is managed in the following GitHub rebository - please use the Issue Tracker to ask questions, report problems or request enhancements.

https://github.com/acch/nagios-plugins

It is strongly recommended to create a dedicated privileged Storwize V7000 Unified / SONAS user to be used by this script. This eases problem determination, allows for proper audit tracing and helps avoiding undesired side-effects.

To create a privileged user 'nagios' with password 'secret' on Storwize V7000 Unified / SONAS, run the following command as the Nagios operating-system user (by default called 'nagios', too):

# ssh admin@[mgmt_ip_address] mkuser nagios -p secret -g Privileged