Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Simple Shell Script, which touches a textfile with smbclient on an SMB-Mount, then checks if the file is readable, and deletes the file.
Current Version
Last Release Date
June 15, 2009
Owner
Nagios Exchange
check_diskwrite
Simple Shell Script, which touches a textfile with smbclient on an SMB-Mount, then checks if the file is readable, and deletes the file. Installation hints:
- Needs smbclient installed - in this Version you'll need a file /usr/local/nagios/etc/share1.pw in which you enter the smb-mount credentials like this (in this example with user: nagios and password: nagiosexec):
username = nagios password = nagiosexec
this User must have read/write access to the share!
Checkcommands.cfg looks like this: # 'check_diskwrite' command definition # ARG1: hostname, ARG2: Sharename ARG3: Domain / Workgroup of the host define command{ command_name check-diskwrite command_line $USER1$/check_diskwrite.sh $HOSTNAME$ "$ARG1$" $ARG2$
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!