Skip to main content
NetApp Knowledge Base

Cloud Insight Telegraf agent installation, verification and troubleshooting

Views:
26
Visibility:
Public
Votes:
0
Category:
cloud-insights
Specialty:
cloud
Last Updated:

Applies to

Cloud Insight

Answer

Installation:

Configuring a Telegraf Agent to Collect Data

 

Verification:

  • Once you have installed an agent on a server/VM, Cloud Insights collects metrics from that system in addition to collecting from any data collectors you configure. These metrics are gathered as "Node" metrics.
     
  • If everything was installed and working correctly then withing an hour or so you will start seen the node metrics
     
    • Example
    • node_metrics.png

       
  • Queries enable you to search the assets in your environment at a granular level, allowing to filter for the data you want and sort the results to your liking.

Additional Information

Troubleshooting:

The information will help NetApp Support  to get a heads start if the issue is not resolved following the steps mention below

  1. For accurate audit and data reporting, it is strongly recommended to synchronize the time on the Agent machine using Network Time Protocol (NTP) or Simple Network Time Protocol (SNTP).
    •     Run > timedatectl
       
  2. Did you use proxy and if the answer is Yes, did you setup your proxy using the document? (Configuring an Agent to Collect Data)
     
  3. Please verify your proxy settings after following the documentation
    • share and upload the file “/etc/default/telegraf
       
  4. The telegraf agent will install the "telegraf.conf" file
    • share and upload the file "/etc/telegraf/telegraf.conf"
       
  5. Please verify and collect the following command from Linux agent server
     
    • share and upload the command output to NetApp support
       
    • Run > systemctl status telegraf
       
    • Run > cat /etc/redhat-release "or" cat /etc/centos-release
       
    • Run > iptables –L
       
    • Run > firewall-cmd --list-all
       
    • Run > timedatectl
       
    • Run > set | grep -i proxy
       
    • Run > netstat -tulpn | grep -e 443
       
    • Run > lsof -n -i :443 | grep LISTEN
       
    • Run > traceroute -n -T -p 443 tenanthostname.Z.cloudinsights.netapp.com --back -F -d
      • Where
      • tenanthostname.Z.cloudinsights.netapp.com
      • Z is a constant for a given tenant – Z is the cluster the tenant is on – c01,c02, eu-1, etc
         
    • Run > openssl s_client -host tenanthostname.Z.cloudinsights.netapp.com -port 443

 

Un-installation of Telegraf Agent:

Please follow the documentation to uninstall the agent

 

Telegraf Agent Default Configuration File Location

  • The default Telegraf configuration is located at:
    • Linux: /etc/telegraf/telegraf.conf
    • Windows: C:\Program Files\telegraf\telegraf.conf
    • MacOS: /usr/local/etc/telegraf.conf

 

Telegraf Agent Log File Location

  • Telegraf agent log file location:
    • Linux: /var/log/telegraf/
    • Windows:C:\Program Files\telegraf\