windows network share checker
Subhendu Ghosh
sghosh at sghosh.org
Mon May 16 21:02:35 CEST 2005
On Mon, 16 May 2005, Michael Da Silva wrote:
> can anyone fill me in on how to use check_rpc to check for window shares?
>
> # 'check-nfs' command definition
> define command{
> command_name check-nfs
> command_line /usr/lib/nagios/plugins/check_rpc -H $HOSTADDRESS$ -C
> nfs -c2,3
> }
>
> when the above command is run against a server hosting windows shares i
> receive the following error:
>
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = "en_CA:en",
> LC_ALL = (unset),
> LANG = "en_CA.UTF-8"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> CRITICAL: RPC program nfs version 2 version 3 udp is not running
>
>
> does anyone know whats wrong?
>
>
Unless you are running a NFS server on Widows - check_rpc is the WRONG
plugin to use.
You should be using check_disk_smb for windows shares (SMB being M$
protocol for file shares)
--
-sg
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list