Software Development Kit (SDK) and API Discussions

Access vFiler network stats via SDK?

jeras

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

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

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public