VMware Sample Exchange

Browse and download code samples from VMware as well as code samples contributed by the VMware community. Log in to Sample Exchange using your MyVMware credentials to submit requests for new samples, contribute your own samples, as well as propose a sample as a solution for open requests.

Disclaimer: All sample content and code in Sample Exchange is licensed to you by the sample's author. VMware does not guarantee the samples; they are provided "AS IS". Use of this site is subject to the VMware Community Terms of Use.

Browse the list below for code samples from VMware and the community. You can filter the list of samples by selecting a platform or language, or enter other search keywords above.

Filters

SDK / Platform / Tool

  • App Modernization

  • Cloud Management

  • Compute Virtualization

  • Desktop & App Virtualization

  • Developer Tools

  • Digital Workspace

  • Hybrid Cloud & Data Center Infrastructure

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Private & Hybrid Cloud

  • Storage & Availability

  • Virtual Cloud Networking

  • Other Platform

Contributor

Language

1 - 10 of 14 Results Sample vRealize Network Insight
  • datasource-bulk-set-snmp.ps1

    Contributor Martijn Smit

    This PowervRNI example script configures SNMP communities for all network devices listed in a CSV file. This example needs PowervRNI, on which more info can be found here: https://powervrni.github.io/ ...
    vRealize Network Insight PowerShell
    Download

    29 Downloads

    0 Comments

    Updated 2 months ago

  • Archiving Network Flows from vRealize Network Insight to Log Insight

    Contributor Martijn Smit

    This script will fetch the network flows from vRealize Network Insight according to a defined filter (in the script) and send them to vRealize Log Insight for archival purposes. As vRNI only keeps 1 m ...
    vRealize Network Insight Python
    Download

    30 Downloads

    0 Comments

    Updated 4 months ago

  • Guidebook for Monitoring VMware Tanzu Kubernetes Grid Integrated Environment

    Contributor Sajal Debnath

    Authored by Sajal Debnath With the ever-increasing use of containerized applications, we see a significant proliferation of related technologies in modern datacenters. These latest technologies have ...
    NSX-T Data Center Enterprise PKS vRealize Log Insight vRealize Network Insight vRealize Operations Manager Other Language
    Download

    376 Downloads

    0 Comments

    Updated 8 months ago

  • Query for Four Metrics at once in vRNI

    Contributor Ramazan Kilimci

    Please change hostname or metrics according to your needs.  
    vRealize Network Insight vRealize Network Insight Search
    Download

    52 Downloads

    0 Comments

    Updated 5 months ago

  • PowervRNI - Bulk import of data sources

    Contributor Martijn Smit

    This script uses an input CSV (example: datasource-bulk-import.csv) to add multiple vRealize Network Insight Data Sources. Modify datasource-bulk-import.csv to contain your own data sources (vCenters, ...
    vRealize Network Insight vRealize Network Insight API Network Insight PowerShell
    Download

    1097 Downloads

    0 Comments

    Updated 1 year ago

  • PowervRNI - Import Network Insight Applications from iTop CMDB

    Contributor Martijn Smit

    This sample requests the CMDB items from iTop and imports the applications that are created inside iTop, into Network Insight application constructs.  It requires the PowervRNI module to be installed, ...
    vRealize Network Insight API vRealize Network Insight Network Insight PowerShell
    Download

    1050 Downloads

    0 Comments

    Updated 2 years ago

  • PowerShell Script to deploy vRNIC Proxy OVA on VMC SDDC

    Contributor Arun Sharma

    vRealize Network Insight Cloud - Guide to deploy vRNIC Proxy (Collector) on VMC SDDC using PowerShell Script. Pre-requisites: * PowerShell version is 6.1 or above. * Connectivity to Internet from wher ...
    vRealize Network Insight vRealize Network Insight API PowerShell
    Download

    1184 Downloads

    0 Comments

    Updated 1 year ago

  • Adding multiple Data Sources with Python

    Contributor Martijn Smit

    This vRealize Network Insight Python SDK example script adds all data sources that are listed in the CSV you specify. This script requires the vRNI Python SDK, which is available here: https://github. ...
    vRealize Network Insight API vRealize Network Insight Python
    Download

    906 Downloads

    0 Comments

    Updated 1 year ago

  • Export Network Flows from vRealize Network Insight

    Contributor Martijn Smit

    This vRealize Network Insight Python SDK example script saves all network flows that match the search query used in the code. Make sure to update the filter_string variable into a search that's valid ...
    vRealize Network Insight API vRealize Network Insight Python
    Download

    956 Downloads

    0 Comments

    Updated 1 year ago

  • Backup and Restore Applications - vRealize Network Insight

    Contributor Martijn Smit

    This vRealize Network Insight Python SDK example script saves all available applications in vRNI to a YAML file, and can restore this backup file to another vRNI instance. This script requires the vRN ...
    vRealize Network Insight API vRealize Network Insight Python
    Download

    885 Downloads

    0 Comments

    Updated 1 year ago