Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This is a nagios plugin vb script (VBS) that will check read or write speed over SMB.
Current Version
1.0
Last Release Date
2011-05-09
Owner
mbrownnyc
Website
http://mbrownnyc.wordpress.com/
License
GPL
Compatible With
It would be useful to be located on one machine targeting another.
The chunk size of reads and writes has taken into account the loose documentation on Microsoft's extended CIFS, SMB v1.0, that the "block size is 64KB."
This script doesn't take into account the clearing of all the caches where previously written data can reside. Think about how appropriate this script is in your situation and how large your cache is.
A useful example is: I want to perform two operations: - write once every 5 minutes to a file server get the time (starting at time 0 minutes) - read once every 5 minutes from a file server, get the time (starting at time 2.5 minutes) Because I know that the I/O on this server is large, it is likely that all of the caches** are cleared by 2.5 minutes. ** caches could include: Client SMB, client NIC buffer, server NIC buffer, Server SMB, Server hdd driver cache, Server RAID controller write cache, Server RAID HDDs individual cache
These are just considerations and are probably not applicable to your situation. This is probably a 100% acceptable test unless you're in an extremely high frequency area.
Suggestion: 1) Run it with warning and critical levels very high to establish a baseline speed of the operation. 2) Set the warning and critical levels according to this baseline.
Read the comments in the vbs for configuration and usage.
perf data output to specs: (label)=(value)(metric);(warn level);(crit level);(min level);(max level)
v1.0 has been tested with NSClient++, expanded configuration example and addressed security thoroughly, can not be integrated into NSClient++'s wrapper.
You must be logged in to submit a review.
To:
From: