You use your short user name to login into Grafana once LDAP has been configured. What you use in terms of LDAP terminology is the sAMAccountName, this property doesn't have any space in it. The only way I know of is to use ldapsearch tools to query active directory but that's tricky. Can you give a sample of your LDAP config here, hiding sensible informations? Are you using NAbox or your own Grafana Install?
... View more
Anytime 🙂 everyone please provide any feedback you might have, test the betas if you can in your environment and help making NAbox even better!
... View more
Following up on that issue for our fellow members. Some dashboard are not meant to be used with a lot of performance objects in the graphite database. For example, when the Volume: detail dashboard is brought up, it will query Graphite with all your volume names in the HTTP request, this will break at some point. The easiest thing to do to avoid that issue is to restrict the number of objects by selecting only a few volumes you're interested in. Another option is to modify the dashboard template and place a custom value for "All", there is a settings for that in the settings for the dashboard template value. The custom value should be "*" to have the same behavior for the dashboard. You might then experience slowness if really there is a lot of volume but it shouldn't fail.
... View more
Hi Jay, You can you send me a support bundle at yann.bizeul@netapp.com I will take a look at it. Usually where I start with that kind of issue is going in the virtual appliance shell and check Harvest logs in /opt/netapp-harvest/logs. They are also exported in the support bundle if you create and open it. A time change might be the source of that kind of problem as well.
... View more
30mn looks like a a stretch yes, but regarding memory, I wouldn't be surprised indeed, it's worth doing some tests with the original VM size.
... View more
Do you have any kind of proxy defined on your workstation? Even though it doesn't seem to be a problem for most requests, maybe some requests are built differently and would try to go to the proxy instead of directly to ONTAP.
... View more
For cDOT volumes, to get the inodes count you can use one of the following methods : - SSH to the cluster and run df -i - Query the OCUM MySQL database with traditional MySQL client/APIs - Use REST APIs with NetApp API services (untested myself but according to the documentations it should be here)
... View more
From what I see Harvest enforces HTTPS, you will have to modify "netapp-worker" around my $out = $s->set_transport_type('HTTPS'); To override this @madden, thoughts? 🙂
... View more
No update so far, sorry about that. We still didn't find any simple solution that would satisfy both legal and technical team and as frustrating as it is, there is not much we can do. For now you still have to turn to the your NetApp contact to get guidance on getting and deploying the OVA.
... View more
I did some tests and was able to reproduce your problem. It looks like the API parses the interface name up to the first "-" character and determines the VLAN with what follows. If you have a "-" character in your interface name it doesn't work. Here with "test-ifgrp" : <results status="passed">
<net-config-info>
<ifgrps>
<ifgrp-info>
<interface-name>test-ifgrp</interface-name>
<ifgrp-type>single</ifgrp-type>
<ifgrp-policy>single</ifgrp-policy>
<links>
<link>e0c</link>
<link>e0d</link>
</links>
</ifgrp-info>
</ifgrps>
<vlans>
<vlan-info>
<interface-name>test-ifgrp-100</interface-name>
<parent-interface>test-ifgrp</parent-interface>
<gvrp-enabled>false</gvrp-enabled>
<vlanid>0</vlanid>
</vlan-info>
</vlans>
<interfaces>
[...]
<interface-config-info>
<interface-name>test-ifgrp</interface-name>
<ipspace-name>default-ipspace</ipspace-name>
<mac-address>02:0c:29:3f:83:81</mac-address>
</interface-config-info>
<interface-config-info>
<interface-name>test-ifgrp-100</interface-name>
<ipspace-name>default-ipspace</ipspace-name>
<mac-address>02:0c:29:3f:83:81</mac-address>
</interface-config-info>
</interfaces>
<routes>
[...] </routes>
<config-status></config-status>
</net-config-info>
</results> Here with "testifgrp" <results status="passed">
<net-config-info>
<ifgrps>
<ifgrp-info>
<interface-name>testifgrp</interface-name>
<ifgrp-type>single</ifgrp-type>
<ifgrp-policy>single</ifgrp-policy>
<links>
<link>e0c</link>
<link>e0d</link>
</links>
</ifgrp-info>
</ifgrps>
<vlans>
<vlan-info>
<interface-name>testifgrp-100</interface-name>
<parent-interface>testifgrp</parent-interface>
<gvrp-enabled>false</gvrp-enabled>
<vlanid>100</vlanid>
</vlan-info>
</vlans>
<interfaces>
[...]
<interface-config-info>
<interface-name>e0c</interface-name>
<ipspace-name>default-ipspace</ipspace-name>
<mac-address>02:0c:29:3f:83:81</mac-address>
<mediatype>auto-1000t-fd-up</mediatype>
<flowcontrol>full</flowcontrol>
</interface-config-info>
<interface-config-info>
<interface-name>e0d</interface-name>
<ipspace-name>default-ipspace</ipspace-name>
<mac-address>02:0c:29:3f:83:81</mac-address>
<mediatype>auto-1000t-fd-up</mediatype>
<flowcontrol>full</flowcontrol>
</interface-config-info>
<interface-config-info>
<interface-name>testifgrp</interface-name>
<ipspace-name>default-ipspace</ipspace-name>
<mac-address>02:0c:29:3f:83:81</mac-address>
</interface-config-info>
<interface-config-info>
<interface-name>testifgrp-100</interface-name>
<ipspace-name>default-ipspace</ipspace-name>
<mac-address>02:0c:29:3f:83:81</mac-address>
</interface-config-info>
</interfaces>
<routes>
[...]
</routes>
<config-status></config-status>
</net-config-info>
</results>
... View more
What version of ONTAP are you running? Did a quick test and I get a VLAN section beside the interfaces section that lists the VLANs. import sys
sys.path.append("netapp-manageability-sdk/lib/python/NetApp")
from NaServer import *
s = NaServer("10.78.7.100", 0 , 30)
s.set_server_type("FILER")
s.set_transport_type("HTTP")
s.set_port(80)
s.set_style("PASSWORD")
s.set_admin_user("ontapi","Netapp01")
result = s.invoke_elem(NaElement("net-config-get-active"))
print result.sprintf() Result : <results status="passed">
<net-config-info>
<ifgrps></ifgrps>
<vlans>
<vlan-info>
<interface-name>e0a-100</interface-name>
<parent-interface>e0a</parent-interface>
<gvrp-enabled>false</gvrp-enabled>
<vlanid>100</vlanid>
</vlan-info>
</vlans>
<interfaces>
[...]
</interfaces>
<routes>
[...]
</routes>
<config-status></config-status>
</net-config-info>
</results>
... View more
If you change the original file without renaming it, you should be able to use your own modifications. I'm sorry for the (very) late answer, but I don't check my communities profile very often!
... View more
It seems like if I try to use a different user, it doesn't work. I get a "Not authorized for that command (13003)" error. Now, if I assign a password to that user, it works, even if I keep authenticating with a certificate, without putting that password anywhere in my script. Is that expecetd?
... View more
Unfortunately this is your own code and it doesn't give us visibility on the actual API you are calling. I think what it is is thatearlier in the code you loop through all the vservers, getting the data vservers but also the node and cluster vservers. You need to skip these in your loop to iterate only through the data vservers
... View more