Monitor network mapped drive

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
vincent_teoh
Posts: 5
Joined: Wed Jan 08, 2014 4:21 pm

Monitor network mapped drive

Post 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? :cry:
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitor network mapped drive

Post by abrist »

check_nt/nsclient cannot check network mounted drives, only local volumes. Check the NAS itself with snmp.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vincent_teoh
Posts: 5
Joined: Wed Jan 08, 2014 4:21 pm

Re: Monitor network mapped drive

Post 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. :cry:

I've tried with check_nrpe and it still unsucessful.. :cry:
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitor network mapped drive

Post by abrist »

What type of system/networking hardware servers the network shares that you are trying to check?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vincent_teoh
Posts: 5
Joined: Wed Jan 08, 2014 4:21 pm

Re: Monitor network mapped drive

Post 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)
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitor network mapped drive

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vincent_teoh
Posts: 5
Joined: Wed Jan 08, 2014 4:21 pm

Re: Monitor network mapped drive

Post 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?
vincent_teoh
Posts: 5
Joined: Wed Jan 08, 2014 4:21 pm

Re: Monitor network mapped drive

Post 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. :cry:
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitor network mapped drive

Post by abrist »

These types of checks will require some knowledge of snmp:
http://en.wikipedia.org/wiki/Simple_Net ... t_Protocol
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked