check_disk_smb dependencies

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Bitflogger
Posts: 226
Joined: Mon Oct 16, 2017 9:24 am

check_disk_smb dependencies

Post by Bitflogger »

Hello, I'm running v5.6.14 on a CentOS 7 64-bit VM.

When I run check_disk_smb, I get:

check requires smbclient, smbclient not set

I see a smbclient file on my server, but it seems to be a text file that something else includes, there is no main function.

What do I need to install to support check_disk_smb ?

Thanks!

Earl
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: check_disk_smb dependencies

Post by ssax »

Do this:

Code: Select all

yum install samba-client
Then edit this file:

Code: Select all

/usr/local/nagios/libexec/utils.pm
Change this:

Code: Select all

$PATH_TO_SMBCLIENT = "";
To this:

Code: Select all

$PATH_TO_SMBCLIENT = "/usr/bin/smbclient";
Then it should work.
Bitflogger
Posts: 226
Joined: Mon Oct 16, 2017 9:24 am

Re: check_disk_smb dependencies

Post by Bitflogger »

That worked!

Thanks!

Please lock the case.

Earl
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_disk_smb dependencies

Post by scottwilkerson »

Bitflogger wrote:That worked!

Thanks!

Please lock the case.

Earl
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked