Quantcast
Channel: THWACK: Document List - Network Performance Monitor
Viewing all 1956 articles
Browse latest View live

Adding Live Weather to the "Worldwide Map" Resource

$
0
0

Adding Live Weather to the "Worldwide Map" Resource

 

Summary: This will allow you to add live weather to the worldwide map based on the OpenWeatherMap project (free).

Limitations: The map must be on a page where your can insert HTML/JavaScript. This will probably break during future releases.

Notes: If you want to change the height of your map you must do it within the HTML resource.

Preview:

Capture.PNG

 

Step 1: Get the id of your map element, to do this go to a page where you've inserted the map (don't go to the map page itself). Once there view the source of the page (Ctrl + U in most browsers) and search for the map element (Ctrl + F), search for 'id="worldmap' (without the single quotes but with the double quote). Make note of your map ID, in this case 753.

mapID.PNG

Step 2: Add a HTML resource to the page with the map on it that you would like to modify. To do this go to "Customize Page" >>> "Add Resource To Column X" >>> "Custom HTML".

Step 3: Paste the contents of the attached file into the Custom HTML resource you just added to the page. Make sure you update the file with your map ID you found in step 1 and change others settings you would like to.


Fortigate CPU & MEM for Single unit

Nexus Device Tables . UnDP

Linux Disk IOPS

Fortigate CPU & MEM for Single unit

Adding Live Weather to the "Worldwide Map" Resource

$
0
0

Adding Live Weather to the "Worldwide Map" Resource

 

Summary: This will allow you to add live weather to the worldwide map based on the OpenWeatherMap project (free).

Limitations: The map must be on a page where your can insert HTML/JavaScript. This will probably break during future releases.

Notes: If you want to change the height of your map you must do it within the HTML resource.

Preview:

Capture.PNG

 

Step 1: Get the id of your map element, to do this go to a page where you've inserted the map (don't go to the map page itself). Once there view the source of the page (Ctrl + U in most browsers) and search for the map element (Ctrl + F), search for 'id="worldmap' (without the single quotes but with the double quote). Make note of your map ID, in this case 753.

mapID.PNG

Step 2: Add a HTML resource to the page with the map on it that you would like to modify. To do this go to "Customize Page" >>> "Add Resource To Column X" >>> "Custom HTML".

Step 3: Paste the contents of the attached file into the Custom HTML resource you just added to the page. Make sure you update the file with your map ID you found in step 1 and change others settings you would like to.

Linux Disk IOPS

Juniper SA / MAG SSL VPN


Alert on Nodes that stopped responding to SNMP

$
0
0

Custom alert for Nodes which stopped respond to SNMP:

 

use Advanced Alert Manager and create custom SQL alert on Nodes with this custom SQL Query:

SELECT LastSystemUptimePollUtc FROM Nodes WHERE

ObjectSubType='SNMP' AND

DATEDIFF(s, LastSystemUptimePollUtc, GETUTCDATE())>PollInterval


Dell Storage Pollers

VMWARE DATASTORE REPORTS with PowerShell

$
0
0

VMware Datastore Information in VCenter:

01.jpg

As the Solarwinds does not currently collect VMware Datastore usage information using the VMware API as shown above I created a Windows PowerShell Script to collect these information and write to Solarwinds Database – NetPerfMon. Then build a SQL report in Solarwinds shown below:

02.jpg

 

Steps:

 

(1) Create a table to store Datastore Information in Solarwinds Database – NetPerfMon

03.jpg

(2) On the Solarwinds server (or a polling engine), Install VMware vSphere PowerCLI (You can download it from https://my.vmware.com/web/vmware/details?productId=285&downloadGroup=VSP510-PCLI-510)

 

(3) Create a PowerShell script to get Datastore Information from a Vcenter (not from VM host) and save to Solarwinds Database – NetPerfMon

 

################### GetDatastoreInfo.ps1 #####################################

##### Add VMWare Snanpin.

if(-not (Get-PSSnapin VMware.VimAutomation.Core -ErrorAction SilentlyContinue))

{

   Add-PSSnapin VMware.VimAutomation.Core 

}

 

$MB_TO_GB = 1024

$report = @()

$rowValues = @()

 

##### Get VC connected. ######################

$VCServer = "your-vcener-ip-or-name"

$VCUserName = "vcenter-user-name"

$VCPassword = "vcenter-password"

$VCconnection = Connect-VIServer $VCServer -Protocol https -User $VCUserName -Password $VCPassword -ErrorAction SilentlyContinue

 

##### Get Datastore Information ##################

$allDataStores = Get-Datastore

foreach ($dStore in $allDataStores) {

     $row = $VCServer + "," + $dStore.Datacenter + "," + $dStore.UID  + "," + $dStore.Name + "," + $dStore.Type + "," + [int]($dStore.CapacityMB/$MB_TO_GB*10)/10.0 + "," + [int]($dStore.FreeSpaceMB/$MB_TO_GB*10)/10.0 + "," + [int](($dStore.FreeSpaceMB/$dStore.CapacityMB)*1000)/10.0 +  "," + [System.DateTime]::Now 

     $report += $row

}

Disconnect-VIServer $VCServer -Confirm:$False -ErrorAction SilentlyContinue

 

##### Write to NetPerfMon database #########################

### open database connection

$SQLServer = "your-solarwinds-sql-server-name-or-ip" #use Server\Instance for named SQL instances!

$SQLDBName = "NetPerfMon"

$SQLDBUser = "db-username"

$SQLDBPwd = "db-password"

$SqlConnection = New-Object System.Data.SqlClient.SqlConnection

$SqlConnection.ConnectionString = "Server = $SQLServer; Database = $SQLDBName; user id=$SQLDBUser;password=$SQLDBPwd"

$SqlConnection.Open()

 

### instet rows

$Sqlcmd = $SqlConnection.CreateCommand()

foreach ($currentRow in $report){

  $rowValues = $currentRow.Split(",")

  $InsertStatement = "INSERT [dbo].[VIM_DatastoreInfo]  VALUES ( "

  $InsertStatement = $InsertStatement + "'" + $rowValues[0] + "','" + $rowValues[1] + "','" + $rowValues[2] + "','" + $rowValues[3] + "','" + $rowValues[4] + "'," +  $rowValues[5] + "," +  $rowValues[6] + "," + $rowValues[7] + ",'" + $rowValues[8] + "')" 

  #### Write-Host $InsertStatement   --- test code

  $Sqlcmd.CommandText = $InsertStatement

  $Sqlcmd.ExecuteNonQuery()

}

$SqlConnection.Close()

###########################################

 

(4) Run the PowerShell script as a schedule task

04.jpg

 

(5)  Create a Solarwinds report

05.jpg

 

Tested in Solarwins NPM 10.4 & VMware 4 & 5

 

Thanks

"Bad trap packet received from Node with IP x.x.x.x. Error description: Unknown user and engine. Packet discarded."

$
0
0

This is one possible reason for the error "Bad trap packet received from Node with IP x.x.x.x.  Error description: Unknown user and engine.  Packet discarded."

I ran into this issue not too long ago. All of our Cisco routers & switches are running SNMPv3 and I was receiving the error "Bad trap packet received from Node with IP x.x.x.x.  Error description: Unknown user and engine.  Packet discarded." that was showing up in the Events window. After troubleshooting that SNMPv3 was configured correctly on the routers and switches. I noticed that the IP address in the error message was actually assigned to interfaces on the routers and that the traps were being sent from the interfaces. Since the SNMPv3 credentials are used by the router and not the interfaces I needed to find a way to source all traps from the router's Loopback address themselves. The easiest way to do this was to enter the following line within the SNMP portion of the router configuration. "snmp-server trap-source Loopbackxxxx" Where xxxx is the loopback # that the router's IP address is assigned to.

Cisco ASA Active VPN Connections

Adding Live Weather to the "Worldwide Map" Resource

$
0
0

Adding Live Weather to the "Worldwide Map" Resource

 

Summary: This will allow you to add live weather to the worldwide map based on the OpenWeatherMap project (free).

Limitations: The map must be on a page where your can insert HTML/JavaScript. This will probably break during future releases.

Notes: If you want to change the height of your map you must do it within the HTML resource.

Preview:

Capture.PNG

 

Step 1: Get the id of your map element, to do this go to a page where you've inserted the map (don't go to the map page itself). Once there view the source of the page (Ctrl + U in most browsers) and search for the map element (Ctrl + F), search for 'id="worldmap' (without the single quotes but with the double quote). Make note of your map ID, in this case 753.

mapID.PNG

Step 2: Add a HTML resource to the page with the map on it that you would like to modify. To do this go to "Customize Page" >>> "Add Resource To Column X" >>> "Custom HTML".

Step 3: Paste the contents of the attached file into the Custom HTML resource you just added to the page. Make sure you update the file with your map ID you found in step 1 and change others settings you would like to.

Google Maps Integration


Transmode TM-3000 DWDM and Packet Optical

$
0
0

UnDP for Transmode TM3000 (and possibly other transmode devices).

 

This UnDP has support for the Transponder cards, Optical Amps, EMXP, MPLS-TP, and some of the alarm reporting.  Please let me know if you need me to add anything else.

Adding Live Weather to the "Worldwide Map" Resource

$
0
0

Adding Live Weather to the "Worldwide Map" Resource

 

Summary: This will allow you to add live weather to the worldwide map based on the OpenWeatherMap project (free).

Limitations: The map must be on a page where your can insert HTML/JavaScript. This will probably break during future releases.

Notes: If you want to change the height of your map you must do it within the HTML resource.

Preview:

Capture.PNG

 

Step 1: Get the id of your map element, to do this go to a page where you've inserted the map (don't go to the map page itself). Once there view the source of the page (Ctrl + U in most browsers) and search for the map element (Ctrl + F), search for 'id="worldmap' (without the single quotes but with the double quote). Make note of your map ID, in this case 753.

mapID.PNG

Step 2: Add a HTML resource to the page with the map on it that you would like to modify. To do this go to "Customize Page" >>> "Add Resource To Column X" >>> "Custom HTML".

Step 3: Paste the contents of the attached file into the Custom HTML resource you just added to the page. Make sure you update the file with your map ID you found in step 1 and change others settings you would like to.

NetApp Stencils for Visio Part 1

Alert on Nodes that stopped responding to SNMP

$
0
0

Custom alert for Nodes which stopped respond to SNMP:

 

use Advanced Alert Manager and create custom SQL alert on Nodes with this custom SQL Query:

SELECT LastSystemUptimePollUtc FROM Nodes WHERE

ObjectSubType='SNMP' AND

DATEDIFF(s, LastSystemUptimePollUtc, GETUTCDATE())>PollInterval


Palo Alto HA Firewall Failover Poller

Viewing all 1956 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>