Linux localhost.localdomain 2.6.32-358.2.1.el6.x86_64 #1 SMP Wed Mar 13 00:26:49 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Nagios XI 2012R2.8c
I have downloaded this
http://exchange.nagios.org/directory/Pl ... re/details
I have copied check_smb_share to /usr/local/nagios/libexec and made it executable.
It runs from the command line with an error but still completes ok
Code: Select all
[root@localhost libexec]# ./check_smb_share -H <ipaddress> -s <sharename> -u <user> -p <pass>
./check_smb_share: line 8: /usr/bin/basename: No such file or directory
OK SMB Sharename: <sharename> Disk
That is the only way I know how to go about setting this up as a regular check.
How to I make it appear in the pull down menu or is there another way to do this?
The second question I have is why is it complaining about line 8, /usr/bin/basename.
smbclient is in /usr/bin.
Thanks for your help
M