Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check IBM Storwize V7000 Unified / SONAS VFS Warnings
1.0
2016-06-23
- Nagios 3.x
- Nagios 4.x
MIT
6602
File | Description |
---|---|
check_sonas_vfswarnings.sh | check_sonas_vfswarnings.sh |
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!
Samba logs slow VFS (filesystem) operations into each interface node's syslog. This script detects such messages and adds them up for all nodes.
The plugin produces Nagios performance data so it can be graphed.
Note that this script only evaluates the new syslog entries logged after the last check was run, and requires information on when that was (-l parameter). Such information is available in Nagios via the $LASTSERVICECHECK$ macro.
Refer to the Samba documentation for details on the VFS module:
https://www.samba.org/samba/docs/man/manpages-3/vfs_time_audit.8.html
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
The plugin produces Nagios performance data so it can be graphed.
Note that this script only evaluates the new syslog entries logged after the last check was run, and requires information on when that was (-l parameter). Such information is available in Nagios via the $LASTSERVICECHECK$ macro.
Refer to the Samba documentation for details on the VFS module:
https://www.samba.org/samba/docs/man/manpages-3/vfs_time_audit.8.html
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
Reviews (0)
Be the first to review this listing!