Quantcast
Channel: THWACK: All Content - Network Performance Monitor
Viewing all 21870 articles
Browse latest View live

Add “Search for Nodes" element in every Solarwinds Webpages header with ‘hit’ Enter enabled

$
0
0

I have added some codes in “C:\inetpub\SolarWinds\Orion\Controls\PageHeader.ascx” which adds the 'Search for Nodes' element on every SolarWinds webpages in the page header.

 

sw-search.jpg

In order to prevent form resubmission message popup when page is refreshed I try to use “onClick” function instead of using the Submit button. The IE and other browsers (Chrome, FF, ..) seem have different way to handle the onClick event, so in IE the “search” will be a button but not submit button,    in other browsers it will be text.

 

Also, you can just type in the search criteria and hit ‘enter’ then the search will execute (search by node name by default)

 

The codes are:

 

<div style="font-family:arial;color:#FFFFFF;font-size:10pt;font-weight:bold;padding-top:3px;">

<form id="MySearchForm" name="MySearchForm" onSubmit="returnfalse;">

Find  <input id="MySearchText" name="MySearchText" type="text" size="10" style="font-size:10pt;"  onkeypress="var searchStr = MySearchText.value; var propertyStr = MySearchProperty.value; if(event.keyCode==13  && searchStr!=''){window.open('/Orion/NetPerfMon/Resources/NodeSearchResults.aspx?'+'Property='+propertyStr+'&SearchText='+searchStr);}"/> By

<select id="MySearchProperty" name="MySearchProperty" size="1" style="width:100px;font-size:10pt;">

<option value="Caption">Node Name</option>

<option value="IP_Address">IP Address</option>

</select>

<![if !IE]>

<a id="mySearchLink" onClick="var searchStr = MySearchText.value; var propertyStr = MySearchProperty.value; if(searchStr==''){alert('Node name or IP must be filled out!');} else {window.open('/Orion/NetPerfMon/Resources/NodeSearchResults.aspx?'+'Property='+propertyStr+'&SearchText='+searchStr);}">

Search</a>

<![endif]>

<!--[if IE]>

<button id="mySearchButton" onClick="var searchStr = MySearchText.value; var propertyStr = MySearchProperty.value; if(searchStr==''){alert('Node name or IP must be filled out!');} else {window.open('/Orion/NetPerfMon/Resources/NodeSearchResults.aspx?'+'Property='+propertyStr+'&SearchText='+searchStr);}">

Search</button>

<![endif]-->

</form>

</div>

 

SW-Search-code.jpg

I have tested the code in IE, FF & Chrome, same results from FF & Chrome, but not IE:

 

Firefox V17 and Chrome V27

when press enter with empty search string, page refreshed only

when press enter with non-empty search string, page refreshed and results opened in a new page

when click “Search” text with empty search string, alert message displayed, not refresh page

when click “Search” text  with non-empty search string, results opened in a new page and not refresh page

 

IE 9,

when press enter with empty search string, alert message and page refreshed

when press enter with non-empty search string, page refreshed and results opened in a new page

when click “Search” button with empty search string, alert message displayed AND  refresh page

when click “Search” button  with non-empty search string, results opened in a new page and refresh page

 

I notice it will take a bit longer to load the webpages when you first to load pages after making the changes, but it will be back to “normal” after a few loads. (Not sure why, may be refresh the caches?)

 

Hope this is useful.

 

PLEASE MAKE BACKUPS BEFORE YOU CHANGE THE FILE.

PLEASE TEST THE CODES BEFORE APPLY TO LIVE SYSTEM.

USE THE CODES AT YOUR OWN RISK AND FEEL FREE TO MODIFY THEM.

 

Thanks

 

update:

================================

add onSubmit="returnfalse;" in <form Tag>, now when press "Enter", page NOT refresh any more in IE and others, also NOT refresh when click Search Button in IE. BUT in IE when press Enter, search result page open twice, not in other browsers. Why? any help? Thanks


update: 23/07/2013

================================

fixed issue above.

seems IE handles "Enter" key press as submit button clicked, to stop this:

added return false; in <input> tag:

<input id="MySearchText" name="MySearchText" type="text" size="10" style="font-size:10pt;"  onkeypress="var searchStr = MySearchText.value; var propertyStr = MySearchProperty.value; if(event.keyCode==13  && searchStr!=''){window.open('/Orion/NetPerfMon/Resources/NodeSearchResults.aspx?'+'Property='+propertyStr+'&SearchText='+searchStr);return false;}"/>


update: 24/07/2013

================================

Found a bug in my code:


when you go to page "Admin -> Settings -> SAM Settings -> Browse for Component Monitor", the radio buttons selection not working, see screenshot below

sw-search-error1.jpg

Cause: my codes conflict with code in that page. To see the source code:


sw-search-error2.jpg


The page uses Java scripts to select radio button. In the script, document.form(0) refer to my search form rather than the original one.


Fix: REMOVE <form></form> Tags from my code.

<form id="MySearchForm" name="MySearchForm" onSubmit="returnfalse;">

</form>


update: 02/08/2013

================================

I uploaded modified  PageHeader.ascx (NPM version 10.4). Please test. Thanks




Getting email alert with the node name specified (NPM)

$
0
0

Hi All,

 

I was configuring the alerts for different nodes on my network using NPM. I realized we cannot see the name of the Node on which the alert has been triggered.

Is there any way that we can specify the variable for the node name in the email action, so that it would be easy for us to figure out which device triggered the alert without getiing into the NPM.

 

Thanks in advance,

 

Sathvik

WAN speed testing tool needed

$
0
0

For the longest time I've used a tool called LAN Speedtest with great, very accurate results. Of late the results have been all over the board.

 

Here's what I've tried.

 

LAN Speedtest

jPerf - works, but doesn't seem to really replicate real world traffic

Windows file copy and paste - works, but you have to use that windows "chart" and kind of guess at what you are getting

FTP transfers - works, but again FTP doesn't really replicate real world traffic

 

The problem that we are looking to resolve is that we have several connections on which users complain of slow speeds (and it's true, we can watch them work and see the performance) One of the lines is a Gig connection so even if it is "slow" it should perform pretty well for the 20 or so people that it is supporting.

 

So, what are your recommendations for measuring the actual bandwidth available on a connection?

SolarWinds NPM - Tutorial on how to use SNMP traps in alerts

$
0
0

Introduction

A long journey ended when the proper syntax was found (Thank you, Thwack community) to correlate certain SNMP traps received with other alert values. Here is a short guide on how to use traps in alerts within the GUI of SolarWinds NPM.

 

In this example, I am receiving a "dying gasp" in SNMP from an Alcatel-Lucent (Now Nokia) 7210SASD. When such an event happens, the equipment is basically telling me it lost power. This allows me to separate losing nodes from network failures or power failures. In other words, I only take action if the node is down due to the network. There isn't much I can do about power in those remote locations or customer premises.

 

Using Node Custom Properties

It all starts with a custom property on the nodes, which I called LossOfPower. (Boolean) See the attached picture for more details.

 

SNMP Traps

The traps have to be sent to SolarWinds. Here is the code for the 7210.

        snmp-trap-group 1

            description "SolarWinds 1"

            trap-target "solarwinds1" address <Solarwind NPM Server IP> snmpv2c notify-community "CatchyNameHere"

        exit

        snmp-trap-group 98

            description "OtherSNMPServers"

            trap-target "Server1" address <Server1 IP> snmpv2c notify-community "snmpv2cSAMtrap98"

            trap-target "Server2" address <Server2 IP> snmpv2c notify-community "snmpv2cSAMtrap98"

        exit

        snmp-dying-gasp primary 1 "solarwinds1" secondary 98 "Server1" tertiary 98 "Server2"

 

The next step is to create the new alert which will set this property. This was written in SQL, not SWQL.

Trigger

SELECT Nodes.NodeID, Nodes.Caption FROM Nodes

INNER JOIN Traps

ON Nodes.NodeID = Traps.NodeID

AND Traps.DateTime > DATEADD(MINUTE, -6, SYSDATETIME())

AND Traps.TrapType = 'TIMETRA-SAS-SYSTEM-MIB:tmnxDyingGasp ';

 

The two tables intersect using the INNER JOIN command, based ON the NodeID. There is a timer on this and only the DyingGasp received in the last 6 minutes is considered.

 

Reset

SELECT Nodes.NodeID, Nodes.Caption FROM Nodes

INNER JOIN Traps

ON Nodes.NodeID = Traps.NodeID

AND Traps.DateTime < DATEADD(MINUTE, -9, SYSDATETIME())

AND Traps.TrapType = 'TIMETRA-SAS-SYSTEM-MIB:tmnxDyingGasp '

AND Nodes.Status = 1;

 

If it has been more than 9 minutes and if the node is back online, this alert is reset.

 

Trigger Action

It simply sets the LossOfPower variable to "YES".

 

Reset Action

Set the LossOfPower variable to "No".

 

Usage

This is modular. The LossOfPower variable is used in another much simpler alert (it could be several other alert contexts) where we get contacted when a node is down. If the node is down due to LossOfPower, we do nothing. If it is otherwise down due to other causes, we take action.

 

Testing and Researching

To get all the properties from a table, SolarWinds NPM includes a query test page. Note the database names are slightly different. It is located at http://<yourserverIP>/Orion/Admin/swis.aspx

If Orion.Traps is selected as a source, the Generate Select Query button returns this:

SELECT Acknowledged, ColorCode, Community, DateTime, Description, DisplayName, EngineID, Hostname, InstanceType, IPAddress, NodeID, ObservationRowVersion, ObservationSeverity, ObservationSeverityName, ObservationTimestamp, Tag, TimeStamp, TrapID, TrapType, Uri FROM Orion.Traps

This is useful in finding new fields you might need in your particular case.

 

It is possible to remove certain fields from the SELECT and see what is returned. This won't work with traps though, as the table can get quite lengthy. This particular table is a log file of all traps. Try it on Orion.Nodes instead.

SELECT AgentPort, Allow64BitCounters, AncestorDetailsUrls, AncestorDisplayNames, AvgResponseTime, BlockUntil, BufferBgMissThisHour, BufferBgMissToday, BufferHgMissThisHour, BufferHgMissToday, BufferLgMissThisHour, BufferLgMissToday, BufferMdMissThisHour, BufferMdMissToday, BufferNoMemThisHour, BufferNoMemToday, BufferSmMissThisHour, BufferSmMissToday, Caption, ChildStatus, CMTS, Community, Contact, CPULoad, CustomPollerLastStatisticsPoll, CustomPollerLastStatisticsPollSuccess, CustomStatus, Description, DetailsUrl, DisplayName, DNS, DynamicIP, EngineID, EntityType, External, GroupStatus, Icon, Image, InstanceType, IOSImage, IOSVersion, IP, IP_Address, IPAddress, IPAddressGUID, IPAddressType, IsServer, LastBoot, LastSync, LastSystemUpTimePollUtc, Location, MachineType, MaxResponseTime, MemoryAvailable, MemoryUsed, MinResponseTime, MinutesSinceLastSync, NextPoll, NextRediscovery, NodeDescription, NodeID, NodeName, ObjectSubType, OrionIdColumn, OrionIdPrefix, PercentLoss, PercentMemoryAvailable, PercentMemoryUsed, PollInterval, RediscoveryInterval, ResponseTime, RWCommunity, Severity, SkippedPollingCycles, SNMPVersion, StatCollection, Status, StatusDescription, StatusIcon, StatusIconHint, StatusLED, SysName, SysObjectID, SystemUpTime, TotalMemory, UiSeverity, UnManaged, UnManageFrom, UnManageUntil, Uri, Vendor, VendorIcon FROM Orion.Nodes

 

Using the SWIS Query test page will be the subject of another entry.

 

Regards,

Discovery settings changing after running config wizard?

$
0
0

Has anyone else run into this? The configuration wizard ran during an upgrade to NTA 4.2, which seems to have knocked out some of the settings I had in my discoveries. I love the "Define Monitoring Settings" feature in the Sonar Wizard, it's what keeps my nightly discovery from gobbling up all those useless WAN Miniport interfaces

 

For some reason, after the config wizard ran, the filters in the picture above were wiped out and all of the checkboxes for status, port mode, and hardware were selected. Additionally the IIS, SQL, and Exchange monitors under the Applications section were changed to be included in the discovery. Needless to say the next morning our polling engines were overrun, and it took a few hours to manually delete the thousands of newly imported WAN Miniport interfaces and the hundreds of AppInsight monitors. Maybe this was a fluke, but it seems like this shouldn't happen?

MSMQ Filling up

$
0
0

I am having issues with the MSMQ filling up on my primary polling engine. Has anyone elese had this issue?

 

I raised it from default 1GB to 2GB but it isnt helping.

 

 

/collector/processingqueue/core.trap.messages has 533271 messages

 

NPM:12.0.1 SAM 6.3

WPM

$
0
0

Does WPM Player have functionality to open and download attachment documents?

 

Thanks

David

Events not generating emails after upgrading to NPM 12.0.1

$
0
0

Hi all. I've looked at different threads regarding emails failing out of NPM in general, but the traditional fixes aren't working for me. I've verified the SMTP server, I've sent test emails, and I get emails fine from NCM (which I installed the same day I upgraded NPM) - and the alerts appear to be firing fine on the alerts page/events page, but we've traditionally gotten emails for these events. I'm just not sure where to look to specifically troubleshoot emails with one portion of NPM and not Orion in general. All of the alerts that were there before are still turned on, but anything that shows up specifically on the "events" page is not generating an email like it was before. I've looked multiple times and cannot figure out where this is breaking. Any suggestions? Thanks!


SNMP Polling Meraki Devices (NPM 11.0.1) - How To

$
0
0

Background:

Thousands of Meraki devices needed to be added to Solarwinds for my situation, and so the hunt began.  First stop was Meraki for some help, which led me to this document: https://docs.meraki.com/download/attachments/13500458/ConfigurationGuide-Meraki-SolarwindsSNMP%20(2).pdf?version=1&modif…  The document's instructions weren't for the implementation that I was looking for, and that document was all I could find in online.  What I needed was to poll the devices directly instead of through the dashboard.  When I followed Meraki's document for alerting, it wasn't what I was looking for.  Passing relevant information to the alerts wasn't available, based on Meraki's instructions.  Eventually, I accidentally stumbled upon the answer, and now looking back it seems so simple .

 

How-To Steps:

  • On the SolarWinds Network Discovery page, create a new discovery
  • Use the SNMP string that was input on each Meraki network under Network-wide>General or Configure>Alerts & administration (located on Meraki's dashboard) and click ‘next’
    • SNMP settings include the version (V1/V2c), and a SNMP string.  They are located under 'Reporting'
    • Meraki SNMP.png
  • Uncheck ‘poll for VMware’ and click next
  • Uncheck ‘add to NCM’ and click next
  • Click ‘next’ on the windows credentials page
  • Paste in your Meraki IPs and click on ‘next’
  • Set the Discovery name and click on ‘next’
  • Set your discovery schedule and click on ‘discover’
  • Select the Meraki device interfaces you’d like to import and click ‘next’
    • Selecting the advanced options section can help for picking out specific interfaces.
  • Click ‘next’ on the volume type page.
  • Click ‘import’ on the import preview page.
    • Wait for the import to finish before clicking on ‘finish’

 

Results:

Here's a Meraki MX80 that's been added.

MX80 SW Node.png

Here's an MR16 that's been added:

MR16 SW Node.png

After the nodes have been added, I setup alerts and they'll be able to pull helpful information (Hostname, IP, Custom Properties, etc.) when an event happens.

 

Misc. Info:

Version info: NPM 11.0.1

 

Devices I've tested:

Firewalls

MX80

MX400

 

Wireless Access Points

MR16

MR18

 

Switches

MS22P

 

Current issues:

From the screenshots you can see that the Last Boot date isn't correct, however that isn't a pressing issue for me.

 

I hope this will help some of you, and feel free to ask questions.

I'll be adding updates as more info comes in, so feel free to post what you have run into.

 

Message was edited by: Naters

Monitor APs on WLC 4400 & 5508

$
0
0

I would like to use ORION NPM to monitor and alert on our wireless access points that are managed by Cisco controllers.

 

Currently I am able to monitor the controller (4400) and its associated Thin Access Points and connected clients.  I would like to be able to send an alert when one of the APs goes down.

 

I have set up as a test, the "Alert me when a Thin Wireless Access Point goes down" alert with a trigger action to send me an email.

 

The trigger condition is "status is equal to down".  The problem I have...i think...is when an AP goes down in our organization the WLC drops it from control and monitoring and when ORION runs the next poll it see the AP as"non-existent" instead of status down.  In other words...after the poll is completed the AP no longer shows in ORION to alert on.

 

Has anyone else come across this issue.


Thanks for your help.

 

Ryan

how to monitor Alcatel OS6350 Switch hardware in NPM

$
0
0

we want to monitor Alcatel OS6350 Switch paramters like power supply fan speed ,CPU & memory. Does NPM has it out of box ?

Monitor D-LINK WLC's/AP's

$
0
0

Hi guys,

 

I want to monitor D-link WLC and APs, can anyone help me with it? because i have tried every possible way to monitor them from solarwinds, but all i can see is cpu/memory/interfaces and response time. I want to monitor connected APs to a WLC and connected clients to DLink AP. I am in real need of help. If someone can provide me a walk through on how to do it, or if you can share a template which i can assign to DLink WLC and/or AP. Your co-operation will be very much appreciated.

 

Best Regards.

Custom Node Tree

Filter thin access point list

$
0
0

Is there a way to filter the list of thin access points? Specifically, right now I'm trying to list only the ones with problems or down.

I've looked and I haven't been able to find where this is possible or not...

Wireless heat map

$
0
0

I have configured a couple of wireless heat maps.

My issue is that when I run the map I get the following error:

Automatic re-generation from 12/1/2015 11:15:59 AM was not successful. Try to generate in the Network Atlas manually and updated map will be visible here.

Last error message: 'There is no available engine to process the WirelessHeatMap generation.'


I am new to Solarwinds and have no idea what I am looking for.

Can someone send me in the right direction?


Thanks


Interface Count (nodes with no interface monitoring)

$
0
0

Hi All

 

I've seen some interface count reports on thwack, but I don't believe it's accurate, as they are using joins.  When doing this, it excludes nodes with no interfaces.

 

This is what I have been using (a very simple query) and it gets me the results for nodes with no interface monitoring.

 

select n.caption, n.IP_Address [IP_Address], n.vendor [Vendor],

(select count(*) from interfaces i where i.nodeid = n.nodeid) [iCount]

from nodes n

where n.vendor like 'Cisco%'

order by [iCount] asc

 

 

It can always be expended to show the poller, etc.

 

I use it to aid in interface clean up - such as all Cisco nodes needs to have at least 1 interface monitored.  Any device with more than 50 interfaces needs to be reviewed.

 

Thanks

Amit

Reduce Response Time Polling for Network Device

$
0
0

Guys, we have a remote router that we monitor. It's business critical so we monitor a loopback interface IP on it for both ICMP and SNMP. ICMP response time is generally about 250 ms but we wan't to know ASAP if it goes above that. Out of the box it appears that NPM 11 polls it for response every 5 mins. Can this be reduced to 30s or do I have to look at doing this with SAM or a custom script outside of NPM.

Using IP address as a condition in an alert

$
0
0

Hey all-

We've added some devices on the other side of the world that are always triggering our 'response time' alert.  My approach was to creat to alerts, one for APAC and one for EMEA and NA.

I tried to use the IP address of the node as a qualifier for APAC:

'when all of the following are true'

IP address begins with 10.50

IP address begins with 10.51

and for the other alert

'when none of the following are true'

IP address begins with 10.50

IP address begins with 10.51

 

The conditions don't seem to make a difference and I'm still getting the lower response time alerts for devices in the 10.50 and 10.51 range.

Could someone let me know how to properly qualify an IP address, or better yet a CIDR network?

tia- Brad

WPM Transaction

$
0
0

I would appreciate if you can tell me if there is a option to create an alert in WPM Transaction Availability.  Want to trigger an alert event after two consecutive failures polls of 5 minutes?

 

Thanks

David

NPM reports Device already in OrionDB, but it is not

$
0
0

We are running NPM 11.5.2. We are attempting to import 10 Windows devices into NPM.  The discovery is successful.  When we go to import the devices, NPM says these devices already exist in the OrionDB.  We have checked the Nodes table and the devices definitely do not exist in the DB by name OR IP address.  They are also only single NIC devices.  We ran the configuration wizard as well as Database Maintenance and reran the discovery and import process with the same results.  We again verified that the devices do not exist in Managed Nodes and the Nodes table of the DB by caption name OR IP address.  We ARE able to manually add the devices to Orion without any problem.

 

Has anyone seen this issue before and might know what is causing the problem?

 

 

Scott

Viewing all 21870 articles
Browse latest View live