Also, you might want to check with the Harvest people (on thePub #harvest as well) because it might not be a standard feature, I don't remember if it requires specific activation on Harvest side. If you see the environment specific dashboard, it probably is that you have the correct Harvest version, so there's that
... View more
And any time I need to make some space : find /mroot/etc/log/ -name "*log.00*" -exec rm -f {} \;
find /mroot/etc/www/webjail/apache/mroot/etc/mlog/ -name "*log.00*" -exec rm -f {} \;
find /mroot/etc/log/autosupport -name "*.*.files" -exec rm -rf {} \;
find /mroot/etc/www/webjail/apache/mroot/etc/mlog -name "*.previous*" -exec rm -f {} \;
... View more
That's my go-to anytime I have an unclean shutdown : set diag systemshell sudo -s
kenv -up bootarg.init.boot_recovery
kenv -up bootarg.rdb_corrupt
rm /mroot/etc/cluster_config/monitor_mroot.nvfail
reboot
... View more
Strictly speaking, Harvest doesn't talk through HTTP with graphite, it talks on port 2003 usually with the carbon sub component. Grafana and Graphite HTTP is not in harvest scope (except when Harvest injects dashboards) Are you talking about Harvest or NAbox ?
... View more
Can you be more specific, what is the issue exactly ? If you disable http for graphite, it makes it pretty much useless, since Grafana cannot connect anymore and display the metrics
... View more
@yannbizeul is probably an old account when I was a partner back in the days 🙂 NAbox will totally be updated, but only with v3. beta5 will include Harvest GA !
... View more
That's a good question and one of the limitations of the current time series backend (Graphite). It should get easier with Harvest 2.0 as it has better options to tag data instead of relying on a folder hierarchy like Graphite does today. @vachagan_gratian would you keep that in mind or do you have any thoughts ?
... View more
For reference, this is the relevant portion of code : if ($conf{global}{grafana_url} =~ m!^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?!)
{
$addr = $4;
$port = 80 if ($2 eq 'http');
$port = 443 if ($2 eq 'https');
if ($addr =~ /(.*):(\d{1,5})/)
{
($addr, $port) = ($1, $2);
}
}
It looks like $addr is undefined, so the regexp matched but group $4 is empty for some reason. In the logs you posted it makes sense because you didn't put protocol:// Let's do the same thing with http://grafana-ip:3000/ instead.
... View more
x.y.z.a is you replacing the server name in the logs right ? I'm assuming in [global] section there is an error in grafana_url. This should be an actual URL, not just an ip address or host name (with http(s):// and all...)
... View more
Is it possible that for some reason the data directory has a privileges issue ? Did you do anything in NAbox as root ?
you can collect a support bundle in NAbox and send it to ftp://ftp.netapp.com/to-ntap/ and give me the exact file name.
... View more
1. is always a good idea, but usually not a necessary step. There were few occurrences where an upgrade of the SDK was necessary
2. Shouldn't be necessary with recent harvest versions
3. Yes, you need to restart harvest.
... View more
Well done, yes you can totally use that with Harvest.
it might be a little bit challenging and might require some manual integration with NAbox, but latest version starts to implement the configuration of harvest « extensions ». That’s a mechanism described in harvest install guide, that let you do exactly what you’re trying to do. Once you have refactored you’re code as a Harvest extension we can work on the NAbox part !
... View more
Sorry I forgot to react to that part of your question. Netapp Harvest doesn’t use SNMP to fetch data, but direct ZAPI calls. But you’re certainly free to do so.
... View more
Unfortunately, capacity informations are not available for 7-mode.
The reason is that NetApp Harvest is not compatible with older versions of OCUM. Capacity informations are always collected against OCUM / AIQUM.
... View more
@vachagan_gratian, I would take a look at this, but maybe you know off the top of your head ?
Is it possibily a bug in Harvest when -n is zero?
... View more