This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

SolarWinds MIB Database

This Template will download and extract the contents of the SolarWinds MIB database. It then compares the date/time stamp on the new database to that running on your Orion Server and calculates the age difference. There is no need to download a new MIB database daily, so the default polling frequency should be set at 24 hours (86400 seconds) or higher. You may need to increase the polling timeout depending on your Internet Connection speed. The MIB Database download is over 200 MB, so adjust accordingly.

Parents
  • Sure thing!  I can't test it, but you should be able to insert this between the WebClient declaration and the DownloadFile function.

    # Create a Web Proxy
    $WebProxy = New-Object System.Net.WebProxy
    $WebProxy.Address = "http://proxy.address.local:80"
    # Create Credentials for Proxy
    $ProxyCreds = New-Object -TypeName System.Net.NetworkCredential
    $ProxyCreds.UserName = "ProxyUsername"
    $ProxyCreds.Password = "ProxyPassword"
    # Assign the Creds to the Proxy
    $WebProxy.Credentials = $ProxyCreds
    # Assign the Proxy to the Client
    $WebClient.Proxy = $WebProxy

Reply
  • Sure thing!  I can't test it, but you should be able to insert this between the WebClient declaration and the DownloadFile function.

    # Create a Web Proxy
    $WebProxy = New-Object System.Net.WebProxy
    $WebProxy.Address = "http://proxy.address.local:80"
    # Create Credentials for Proxy
    $ProxyCreds = New-Object -TypeName System.Net.NetworkCredential
    $ProxyCreds.UserName = "ProxyUsername"
    $ProxyCreds.Password = "ProxyPassword"
    # Assign the Creds to the Proxy
    $WebProxy.Credentials = $ProxyCreds
    # Assign the Proxy to the Client
    $WebClient.Proxy = $WebProxy

Children
No Data