Software Development Kit (SDK) and API Discussions

Access vFiler network stats via SDK?

jeras
3,799 Views

Is there an interface that can provide access to network statistics for a vFiler?  There is no SNMP access to vFiler statistics, so I'm trying to determine if there is an alternative means to get that information that could then be passed to a monitoring tool.

 

Thanks!
Ken

2 REPLIES 2

ryanc
3,797 Views

Collecting network interface level performance data through a vFiler will not be possible as vFilers do not have access to interfaces; only the IPs they are granted upon creation.

There might be alternate ways to accomplish what you want. Some questions:

1) Is the physical filer containing the vFilers reachable? Do you have credentials?

2) If connecting to the hosting filer is possible and you want to breakout utilization per vFiler, are they each using distinct interfaces, vifs or vlans?

-ryan

ingo_lantschner
3,796 Views

Yes it is possible, that you access the vFiler by using the SDK. In Perl f.e. NaServer::set_vfiler is responsible for that. I used something like this:

my $s = NaServer->new( $hostname, $ontapi_major_version, $ontapi_minor_version);

$s->set_vfiler($vfiler_name);

...

You'll find further information in the manage-ontap-sdk - it's worth the download: https://communities.netapp.com/docs/DOC-1152

I used it to develop several Nagios Plugins for NetApp, which are capable of checking vFilers thanks to this API. See http://netapp-monitoring.info/en/

Hope this helps, Ingo Lantschner

Public