I had to set the full path to my SMBCLIENT in line 61. James
On 9/8/06 9:20 AM, "James Marcus" <[EMAIL PROTECTED]> wrote: > Hi, > I'm running the check_smb_client from the CLI and can't get seem to get it > right, or it isn't compatible with SNAP appliance's implementation of SMB? > > Here is what I'm doing: > ./check_disk_smb -H fileserver -W DOMAIN -u testaccount -p changeme -s > Documents > Can't exec "//fileserver/Documents": No such file or directory at > ./check_disk_smb line 126. > Use of uninitialized value in split at ./check_disk_smb line 135. > Use of uninitialized value in pattern match (m//) at ./check_disk_smb line > 143. > Result from smbclient not suitable > > ./check_disk_smb -H myDesktop -W DOMAIN -u testaccount -p changeme -s MP3 > Can't exec "//myDesktop/MP3": No such file or directory at ./check_disk_smb > line 126. > Use of uninitialized value in split at ./check_disk_smb line 135. > Use of uninitialized value in pattern match (m//) at ./check_disk_smb line > 143. > Result from smbclient not suitable > > > ./check_disk_smb -V > check_disk_smb (nagios-plugins 1.4.2) 1.12 > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > copies of the plugins under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING. > > I also tried it against my desktop without any luck? > > [EMAIL PROTECTED] /usr/nagios/libexec] 65# smbclient -V > Version 3.0.22 > > > Thanks, > James > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
