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

How to associate {vbdata} from an SNMP trap with a name/static variable

$
0
0

I'm interested in improving the messages we receive from the SNMP Trap Viewer. In particular, I want to learn how to go about associating the various data that can be parsed using the {vbdata} syntax and somehow associate this with static names. Here's an example of an SNMP trap that we currently receive. The two fields highlighted in red relate to two questions that I have:

 

 

 

3/22/2019 3:55 PM : There has been a PIM Neighbor change on ${Caption} (${Hostname}). Please see below for the original trap message:

 

PIM-MIB:pimNeighborLoss SNMP Trap

     Received Time:3/22/2019 3:55:53 PM

Source:IPAddress(IPAddress)

     Community:edited

     Variable Bindings

pimNeighborIfIndex.10.83.55.1:= 16777571

snmpTrapOID:= PIM-MIB:pimNeighborLoss (1.3.6.1.3.61.1.0.1)

sysUpTime:= 15 days 10 hours 20 minutes 27.50 seconds (133322750)

experimental.1057.1.0:= IPAddress

snmpTrapEnterprise:= PIM-MIB:pimMIBObjects (1.3.6.1.3.61.1)

 

 

 

1. The trap variable pimNeighborIfIndex.10.83.55.1 returns a value of 16777571. I notice that this value doesn't stay the same, even when the same IP address is returned in the pimNeighborIfIndex variable. I'd like to somehow create a name that always associates with pimNeighborIfIndex.10.83.55.1, or whatever the returned IP address might be, that I could then use in the SNMP trap alert emails. For example, if the IP address returns as 10.83.55.1 in the variable name, this variable would associate with a statically-assigned name such as "CompanyA". If the IP address returns as 10.83.55.2, the name would be set to "CompanyB", and so on. I'm only working with about 6 possible addresses, so scalability isn't a concern.

 

2. Is it possible to somehow grab only part of the pimNeighborIfIndex.10.83.55.1 field and use this in the subject line of the alert email? I can use ${vbdata1} to pull in the returned value of 16777571 in the above example, but I'd like to bring in the variable name and parse out the "pimNeighborIfIndex." part of the variable. This would let me cleanly insert the IP address into the alert message for readability. Is this possible?

 

 

 

Thanks in advance for any guidance.


Re: "Database configuration failed" after NPM 12.2 to 12.4 upgrade

$
0
0

Most recent are these - are they relevant? (The file is almost 6MB, spanning about 10 minutes.) Looks like the relevant entries are earlier in the log.

 

2019-03-23 23:32:09,810 [1] DEBUG Iis8Configurator - Detecting if IIS8 is installed
2019-03-23 23:32:09,935 [1] ERROR ConfigurationProgressScene - Thread ConfigurationProgressScene.DoConfigInThread finished due to error
2019-03-23 23:34:15,537 [1] INFO  MainForm - Form closing: SceneType is Configuration finish.
2019-03-23 23:34:15,584 [1] INFO  OipClient - Tracking event: ConfigurationWizard - Completed - MainForm: Total Time in Configuration Wizard: 0 hours 13 minutes 54 seconds. - True - 834219
2019-03-23 23:34:15,631 [1] INFO  MainForm - Form closed.
2019-03-23 23:34:15,740 [1] DEBUG CwMetricMonitor - Inserting CW metrics into database.
2019-03-23 23:34:15,803 [1] DEBUG SqlHelper - SQL: INSERT INTO [dbo].[ConfigWizardMetric]    ([SessionId]    ,[Started]    ,[Duration]    ,[InstallationType]    ,[EvalType]    ,[TerminationMode])
VALUES    (@sessionId    ,@started    ,@duration    ,@installationType    ,@evalType    ,@terminationMode) (sessionId=3b8cf826-c0ed-418c-a516-3a5d9407d07c, started=3/24/2019 6:20:49 AM, duration=638, installationType=FULL, evalType=Advanced, terminationMode=2)
2019-03-23 23:34:15,865 [1] DEBUG SqlHelper - SQL: INSERT INTO [dbo].[ConfigWizardMessage]    ([MessageId]    ,[SessionId]    ,[CwMessageType]    ,[Message])
VALUES    (@messageId    ,@sessionId    ,@cwMessageType    ,@message) (messageId=1, sessionId=3b8cf826-c0ed-418c-a516-3a5d9407d07c, cwMessageType=1, message= •  Error while executing script- Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
The statement has been terminated.
The statement has been terminated.
)
2019-03-23 23:34:15,928 [1] INFO  CwMetricMonitor - Saving metrics into DB passed - truncating temp files: 
C:\Users\gerua001\AppData\Local\Temp\SolarWinds\OIP\ConfigWizardMetric.csv
C:\Users\gerua001\AppData\Local\Temp\SolarWinds\OIP\ConfigWizardMessage.csv
2019-03-23 23:34:15,979 [1] DEBUG CwMetricMonitor - Publishing of metrics disabled by OIP OptIn registry key.
2019-03-23 23:34:16,041 [1] INFO  ProgramStarter - Configuration Wizard finished.
2019-03-23 23:34:16,105 [1] INFO  OipClient - Tracking event: ConfigurationWizard - Finish - Configuration Wizard finished. - True - 0
2019-03-23 23:34:16,152 [1] DEBUG OipClient - { FinishEventsTransmission entered
2019-03-23 23:34:16,183 [1] INFO  OipClient - All uploads finished successfully.
2019-03-23 23:34:16,214 [1] DEBUG OipClient - } FinishEventsTransmission exited
2019-03-23 23:34:18,571 [1] DEBUG OipClient - { FinishEventsTransmission entered
2019-03-23 23:34:18,633 [1] INFO  OipClient - All uploads finished successfully.
2019-03-23 23:34:18,696 [1] DEBUG OipClient - } FinishEventsTransmission exited
2019-03-23 23:34:18,852 [1] INFO  ProgramStarter - Switching Terminal Server Session to Execute mode.
2019-03-23 23:34:18,915 [1] DEBUG ProgramStarter - RunProgram FileName: 'change', Arguments: 'user /execute', WindowStyle: 'Hidden'.
2019-03-23 23:34:19,010 [1] DEBUG ProgramStarter - RunProgram started Process ID: '12928'.
2019-03-23 23:34:19,118 [1] DEBUG OipClient - { FinishEventsTransmission entered
2019-03-23 23:34:19,172 [1] INFO  OipClient - All uploads finished successfully.
2019-03-23 23:34:19,235 [1] DEBUG OipClient - } FinishEventsTransmission exited
2019-03-23 23:34:19,375 [1] DEBUG OipClient - { FinishEventsTransmission entered
2019-03-23 23:34:19,439 [1] INFO  OipClient - All uploads finished successfully.
2019-03-23 23:34:19,502 [1] DEBUG OipClient - } FinishEventsTransmission exited

 

Below are entries with the first "Subquery returned more than"... occurrence - which happened on line 147205 of the log (here, line 30).

 

IF (dbo.GetVimDbVersion() < 9)
BEGIN    -------------------------------------    -- Renaming the old "Top XX VMs by Overallocated CPU" to "Top XX VMs by Overallocated vCPUs"    UPDATE dbo.Resources        SET ResourceName = 'Top XX VMs by Overallocated vCPUs'        WHERE ResourceName = 'Top XX VMs by Overallocated CPU'            AND (ResourceFile = '~/Orion/VIM/resources/VManSprawl/TopXXVMCpuOverallocated.ascx' OR ResourceFile = '/Orion/VIM/resources/VManSprawl/TopXXVMCpuOverallocated.ascx')    UPDATE dbo.Resources        SET ResourceTitle = N'Top XX VMs by Overallocated vCPUs'        WHERE ResourceTitle = N'Top XX VMs by Overallocated CPU'            AND (ResourceFile = '~/Orion/VIM/resources/VManSprawl/TopXXVMCpuOverallocated.ascx' OR ResourceFile = '/Orion/VIM/resources/VManSprawl/TopXXVMCpuOverallocated.ascx')    -------------------------------------    -- Renaming the old "Top XX VMs by Underallocated CPU" to "Top XX VMs by Underallocated vCPUs"     UPDATE dbo.Resources        SET ResourceName = 'Top XX VMs by Underallocated vCPUs'        WHERE ResourceName = 'Top XX VMs by Underallocated CPU'            AND (ResourceFile = '~/Orion/VIM/resources/VManSprawl/TopXXVMCpuUnderallocated.ascx' OR ResourceFile = '/Orion/VIM/resources/VManSprawl/TopXXVMCpuUnderallocated.ascx')    UPDATE dbo.Resources        SET ResourceTitle = N'Top XX VMs by Underallocated vCPUs'        WHERE ResourceTitle = N'Top XX VMs by Underallocated CPU'            AND (ResourceFile = '~/Orion/VIM/resources/VManSprawl/TopXXVMCpuUnderallocated.ascx' OR ResourceFile = '/Orion/VIM/resources/VManSprawl/TopXXVMCpuUnderallocated.ascx')
END
2019-03-23 23:32:08,999 [11] ERROR ConfigurationProgressScene - Error while executing script- Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
The statement has been terminated.
The statement has been terminated.
SolarWinds.ConfigurationWizard.Common.ConfigurationException: Error while executing script- Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
The statement has been terminated.
The statement has been terminated.   at SolarWinds.ConfigurationWizard.Plugin.Common.DBConfigProcessor.ExecuteSqlBatch(IDbConnection connection, String sqlQuery, ConfigurationLogDelegate configLog)   at SolarWinds.ConfigurationWizard.Plugin.Common.DBConfigProcessor.Process(IDbConnection connection, ConfigurationProgressDelegate progress, String scriptFile, ConfigurationLogDelegate logger)   at SolarWinds.ConfigurationWizard.Plugin.Common.ModuleHelper.ConfigureDatabase(IOrionConfigHost host, ConfigurationProgressDelegate progress, ConfigurationLogDelegate logger, String dbStructureFile, String dbConfigFile, String initialWebConfigFile)   at SolarWinds.ConfigurationWizard.Plugin.VIM.VIMPlugin.ConfigureDatabase(IOrionConfigHost host, ConfigurationProgressDelegate progress, ConfigurationLogDelegate log)   at SolarWinds.ConfigurationWizard.Plugin.VIM.VIMPlugin.DoConfigure(IOrionConfigHost host, IComponentInfo component, ConfigurationProgressDelegate progress, ConfigurationLogDelegate log)   at SolarWinds.ConfigurationWizard.Plugin.Common.OrionConfigPlugin.SolarWinds.ConfigurationWizard.Common.IOrionConfigPlugin.DoConfig(IOrionConfigHost host, IComponentInfo component, ConfigurationProgressDelegate progress, ConfigurationLogDelegate log)   at SolarWinds.ConfigurationWizard.Host.Presentation.CommonConfiguration.ConfigurationProgressScene.DoConfigForComponents(ICollection`1 ids, ComponentType componentType)
2019-03-23 23:32:09,073 [1] TRACE ConfigurationProgressScene - Updating progress bars (input: 1 4 6 63) (output: 1 4 25 252)
2019-03-23 23:32:09,122 [1] INFO  OipClient - Tracking event: ConfigurationWizard - ConfigurationProgressScene - UpdateFailureText: •  Error while executing script- Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
The statement has been terminated.
The statement has been terminated.
 - False - 0

Re: "Database configuration failed" after NPM 12.2 to 12.4 upgrade

$
0
0

I would look into this in the database and see if there are duplicate view ID's

 

  1. UPDATE dbo.Resources 
  2.         SET ResourceTitle = N'Top XX VMs by Underallocated vCPUs' 
  3.         WHERE ResourceTitle = N'Top XX VMs by Underallocated CPU' 
  4.             AND (ResourceFile = '~/Orion/VIM/resources/VManSprawl/TopXXVMCpuUnderallocated.ascx' OR ResourceFile = '/Orion/VIM/resources/VManSprawl/TopXXVMCpuUnderallocated.ascx') 
  5. END 

F5 iControl

$
0
0

Hey Guys,

 

Anyone can help me i was getting "Connection attempt failed! Unknown error during F5 iControl test." when testing the local F5 account with administration access. I've got a sha256 has halgorithm.

 

Thanks!

Re: Netpath not establishing any connections

$
0
0

I was experiencing this issue. Uninstalled WinCap from agent and reinstalled. Corrected issue. 

Re: Change Windows Credentials Save button fails

$
0
0

This issue is resolved. It turns out there were some phantom discovery profiles that had to be deleted. Who would of thought the process of saving or changing a password in Windows credentials could be failed by a bad discovery profile? I suppose since Windows credentials can be created or selected when creating a profile there must be some link such that when hitting save some effort is made to update those profiles as well. If you have have a bad/corrupted profile it fails with no apparent error. YOU have to dig for the clues such as null reference pointers in the Orion web log and a series of other errors that that indicate there is a bad discovery profile. In my case, the profiles did not list in network discovery but could be found, and deleted from the database. I have no clue how they got there. Anyway, once deleted these profiles the problem was solved.

Ask about alert to Whatsapp

SNMP / WMI: Configuring New Environment for NPM

$
0
0

Good morning all,

 

We're in the process of establishing a new Solarwinds NPM / SAM monitor at one of our sites. This is replacing old outdated information, and we're taking the approach that starting from scratch is going to be better here. In this regard, we're running into two questions that have plagued me for quite a few days, so I wanted to get direct opinions on the matter. Without further adieu:

 

  • SNMP or WMI?
    • The majority of our environment is going to be Windows Servers, however there are a couple linux servers and networking devices that are going to be monitored as well. I was reading old information about how WMI had some bugs (2013). Has this improved? I know WMI is going to be enabled on all of the Windows devices out of the box, which makes this seem more appealing due to issue #2...
  • Mass enabling of SNMP / SNMP settings
    • I have been searching around for this. There used to be an application in Windows that you could run psexec against and enable SNMP. I see my domain already has an existing GPO that updates the SNMP settings, but through my research everything I am looking at says use the registry changes instead of the GPO. Do we know why that is? Do we know what we can do to enable SNMP on newer servers that don't have that default application anymore?

 

Thanks!


Custom Table in Reports Web Interface. Sample Interval issue.

$
0
0

Greetings

 

I am trying to perform some AD-HOC reports on interfaces, Each node has 2-8 interfaces.

 

I think I have everything setup correctly, however the sample intervals we need adjusted.

     We need the last 30 days worth of data using 15 minute intervals (our environment is setup for 5 min statistical intervals) so the Do Not summarize option does not work.  It pulls back too much data

 

The other tables we have setup work just fine as for example

 

3 months of % utilization xmit and recv per hour

 

30 days of errors and discards per hour

 

30 days of total bytes transferred per day

 

Everything else is good but we can't go below 1 hour for the sample intervals without going to 5 minutes, which breaks the pages.  This report easily brings back 100k lines of data per node.  We can kind of gimp it by executing it in the web and doing a cut and paste into excel as the export function refuses to work on something this big.  And we been up and down every setting.  We feel if we can bring the report to the 15 minutes instead of 5 we might have something more functional

Re: SNMP / WMI: Configuring New Environment for NPM

$
0
0

My 2 cents....  for data equipment go SNMP v3 with the strongest auth/priv mode the equipment will support.  Stay away from SNMP v1 & v2 at all cost, the simplicity isn't worth it.  My take on it is this, as far as I know 'no company or IT staff has ever made the news for having too strong of a network standard'.

 

As for WMI vs SNMP vs agent based the same argument should be made.  What's the most secure and most feature packed option that works best for your environment?  With out a doubt, agent based, WMI and SNMP all offer different features and each as their own pros & cons. Take a look at these KB articals, hopefully something there will help decide.

Re: Ask about alert to Whatsapp

NPM for Mist Wireless APs

$
0
0

Does anyone use NPM to monitor their Mist Wireless APs?

If so, how do you have it setup?

Re: NPM Node Summary View versus Default View:  Brain Failure.  Where to adjust views in NPM to duplicate some of the (default) Widgets in a custom Summary View?

$
0
0

This is one of those many little things that would show up in a five-day off-site training class, and make the entire $6K in tuition, room, board, travel worth it.

 

It's not the solution I expected, but it does the job, and no one else has offered a solution within the NPM GUI configuration All Settings realm.  So that makes it the Correct Answer!

Can I change how many times an Event must happen ? (Node Event) - Event must occur at least 1x to nx per time period

$
0
0

Hi all, I want to change the "Node Reboot" alert so that the event must happen at least 5x (arbitrary) per 24hours (for instance) instead of just '1x'?

 

Thanks in advance...

Question on SolarWinds Events

$
0
0

Can someone explain to me or point me to a resource that will explain what the SolarWinds events are?  How they are detected and what they mean?  Specifically, I have the following event on a bunch of servers.

 

[Volume Name] on [Entity] has been removed from [Polling Engine]

 

The particular volumes in the event message are still on the Entity and are recording values.


Re: Question on SolarWinds Events

$
0
0

Events are just that the events within your orion application. Anything that happens with the entities that you have chosen to manage. This would include status change, change in monitoring method, adding or removing entities, or changing settings(globally) or specific Entity settings.

In the case of the volume being removed, that is a message about someone deleting a volume.

If you want to see a username, check the 'audit events' to correlate.

 

And let us know if you need more insight into the data, or more data all together.

 

-CharlesH

Loop1 Systems: SolarWinds Training and Professional Services

Re: NPM Node Summary View versus Default View: Brain Failure. Where to adjust views in NPM to duplicate some of the (default) Widgets in a custom Summary View?

$
0
0

What can I say, I wrestle this Orion beast every day.  It's laid bare all it's weaknesses to me and now I exploit them for fun and prizes

Re: Can I change how many times an Event must happen ? (Node Event) - Event must occur at least 1x to nx per time period

Re: Is it possible to take different actions for different trigger conditions using the same alert?

$
0
0

So the easy answer is No,

 

But if you want to get into the world of wildly complex sql in your messages you could use a custom sql variable with case statements to change your verbiage based on whatever conditions you want.

 

something like

Subject: {SQL: Select top 1 case when n.cpuload > 90 then 'Critical' when n.cpuload > 80 then 'Warning' when n.cpuload > 70 'Notice' end as [Sev] from nodes n where n.nodeid = ${nodeid} }

Re: Is it possible to take different actions for different trigger conditions using the same alert?

$
0
0

I agree with your overall philosophy, and like the idea of using a report for this instead of email alerts. I may still configure a utilization alert for 90%+ for certain interfaces, but leave it at that.

 

I'm still new to the SolarWinds platform as a whole, but have managed to clean up a fair amount of the alert fatigue that was present in the configuration that I inherited. It would be a shame to introduce more of it by using the three-tiered alerts that I asked about. This will be the first custom report that I've built, and I found good article that should guide me through the process.

Viewing all 25172 articles
Browse latest View live


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