Page 1 of 1
Monitor network mapped drive
Posted: Wed Jan 08, 2014 4:29 pm
by vincent_teoh
Hi,
I have a problem to monitor the network mapped drive. It shows an error " Free disk space : Invalid drive "
I'm using check_nt. It works in other systems with local drives, but not for the network mapped drive.
define command{
command name check_nt
command_line $USER1$/ check_nt -H $HOSTADDRESS$ -p 12489 -t 60 -v $ARG1$ $ARG2$
}
define service{
use generic-service
host_name ABC123
service_description N:\ Drive Space
check_command check_nt!USEDDISKSPACE! -1 n -w 80 -c 90
}
Anyone can help please?

Re: Monitor network mapped drive
Posted: Wed Jan 08, 2014 4:42 pm
by abrist
check_nt/nsclient cannot check network mounted drives, only local volumes. Check the NAS itself with snmp.
Re: Monitor network mapped drive
Posted: Wed Jan 08, 2014 5:02 pm
by vincent_teoh
abrist wrote:check_nt/nsclient cannot check network mounted drives, only local volumes. Check the NAS itself with snmp.
Hi,
Thanks for your response.
What do you mean by "check the NAS itself with snmp" ?
Is NAS or snmp a plugin for Nagios?
any Nagios configuration (command) for this? Appreciate if you can provide the details.
I've tried with check_nrpe and it still unsucessful..

Re: Monitor network mapped drive
Posted: Wed Jan 08, 2014 5:09 pm
by abrist
What type of system/networking hardware servers the network shares that you are trying to check?
Re: Monitor network mapped drive
Posted: Wed Jan 08, 2014 5:36 pm
by vincent_teoh
abrist wrote:What type of system/networking hardware servers the network shares that you are trying to check?
It is one of the folder in our netapp filer.
eg. \\filer01\folderABC
When I map this folderABC in my server, server123 and choose a drive letter as Z:\
And it becomes like Z:\folderABC (from \\filer01)
Re: Monitor network mapped drive
Posted: Wed Jan 08, 2014 5:40 pm
by abrist
Take a look at the exchange, there are a few netapp plugins. You could also just check the values with snmp if you know the mib/oid fro the metrics you wish to check. Datasheets/mibs from the manufacturer helps.
http://exchange.nagios.org/index.php?op ... ord=netapp
Re: Monitor network mapped drive
Posted: Wed Jan 08, 2014 5:55 pm
by vincent_teoh
abrist wrote:Take a look at the exchange, there are a few netapp plugins. You could also just check the values with snmp if you know the mib/oid fro the metrics you wish to check. Datasheets/mibs from the manufacturer helps.
http://exchange.nagios.org/index.php?op ... ord=netapp
Thanks for your info..

appreciate it..
but i have doubt.. for now, what should I actually monitor / check ? the netapp filer01 or the folderABC inside the netapp?
Re: Monitor network mapped drive
Posted: Wed Jan 08, 2014 5:57 pm
by vincent_teoh
abrist wrote:Take a look at the exchange, there are a few netapp plugins. You could also just check the values with snmp if you know the mib/oid fro the metrics you wish to check. Datasheets/mibs from the manufacturer helps.
http://exchange.nagios.org/index.php?op ... ord=netapp
and, i have no idea what is mid/oid.

Re: Monitor network mapped drive
Posted: Wed Jan 08, 2014 6:04 pm
by abrist
These types of checks will require some knowledge of snmp:
http://en.wikipedia.org/wiki/Simple_Net ... t_Protocol