Quantcast
Channel: THWACK: Discussion List - All Communities
Viewing all 21219 articles
Browse latest View live

Duplicate entries in IPAM.GroupNode, and is there a hidden index?

$
0
0

I'm writing a little script that will pull used IPs from specific blocks, and check to see if they are in any of our Visio drawings.

 

When I'm running a query though I'm getting a lot of duplicate entries which seems a little odd to me. I tried pulling every entity (difficult to do because we can't use SELECT *) I could from the table and I am not seeing any difference in the returned results.

 

Here's an example of the entities I'm looking to get:

 

$OrionIPAM_GroupNode = Get-SwisData $swis "SELECT GroupId, ParentId, Address, AddressMask, CIDR, FriendlyName, Comments, VLAN, LastDiscovery FROM IPAM.GroupNode WHERE GroupID = '964'"

 

This returns 4 results that are all the same.

 

Is there something wrong with our database?

 

Is there a hidden index record I'm not seeing from my other query of all entities?

 

Should I be querying on a different ID?

 

The idea here is to eventually grab every used IP from every subnet that has "MGMT" somewhere in the Description field in IPAM, which seems to be the 'Comments' field in the IPAM.GroupNode table.

 

Thanks!


Mobile Admin installation on Windows Server 2016 / 2019?

$
0
0

Hi Team,

 

Did anyone try to deploy Mobile Admin on Windows Server 2016 or 2019?

In the Admin Guide, I am only seeing support for Windows Server 2012 R2.

 

Do you know if this is currently on the roadmap?

 

Thanks,

Marcin.

Minimum parameters for StatusIcon.ashx?

$
0
0

I just discovered this handy tool for _IconFor in SWQL queries but can't find any doc.  I found examples by looking at the source of various pages but there's still variety.

 

First question: is there doc?

 

Second question: it seems like I should be able to give it NetObjectID=X:N and let it figure out everything... supplying other parameters should be an override... but that's not how it appears to work.  It appears that your SWQL code does half of the work and the ashx does the rest.

 

Insights?

Swql Donut Chart with caption on Total Nodes

$
0
0

Hi, was trying out on the sqwl with donut chart, successfully create the chart but having problem to display the total nodes on the same custom html. Below is the swql code used, appreciate anyone can help to advise. Thanks!

 

Donut Chart

<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

<div>

<script>

 

var swql="SELECT n.MachineType, count(n.caption) as Qty from  Orion.Nodes as n where n.MachineType like 'OmniSwitch%' OR n.MachineType like  '%Unknown%' OR n.MachineType like 'PA%' OR n.MachineType like 'Forti%' OR n.MachineType like 'MAG%' OR n.MachineType like 'Cisco%' OR n.MachineType like 'Pulse%' OR n.MachineType like 'HUAWEI%' OR n.MachineType like 'ForeScout%' OR n.MachineType like 'net-snmp%' GROUP BY n.MachineType order BY Qty DESC"

var params = JSON.stringify({

query: swql,

parameters: {

}

});

 

$.ajax({

type: 'POST',

url: '/Orion/Services/Information.asmx/QueryWithParameters',

data: params,

contentType: "application/json; charset=utf-8",

dataType: "json",

success: function(response) {

 

var i;

 

google.charts.load("current", {packages:["corechart"]});

google.charts.setOnLoadCallback(drawChart);

 

function drawChart() {

var dataTable = new google.visualization.DataTable();

dataTable.addColumn({ type: 'string', id: 'MachineType'});

dataTable.addColumn({ type: 'number', id: 'Count' });

 

for(var i=0; i < response.d.Rows.length; i++){

var row = [response.d.Rows[i][0],response.d.Rows[i][1]];

dataTable.addRow(row);

}

 

var chart = new google.visualization.PieChart(document.getElementById('Network_Devices'));

 

var options = {

            title: 'Network Devices',

    pieHole: 0.4,

            colorAxis: {colors:['#86ce76','#d61007']},

                            legend: {position: 'right'},

                            tooltip: {trigger: 'selection'},

                            chartArea:{left:2,top:2,width:500,height:500},

            };

 

chart.draw(dataTable, options);

}

 

}

})

 

</script>

</div>

<div id="container" style="width: 500px; height: 215px;">

<div id="Network_Devices" style="width: 500px; height 215px;"></div>

</div>

"Check mismatched MS updates" in every Server

$
0
0

After deploying 7 fresh servers, Windows 2016 with the latest updates installed on them. I ran the Deployment Health and I'm getting the followign error message for every server:

 

Cannot get .NET version for the following servers:

Cannot get OS version for the following servers:

Cannot get System.Runtime.Serialization.dll or mscorlib.dll versions for the following servers:

 

Any idea how to resolve this?

SAM Monitor IIS Powershell Errors

$
0
0

I'm trying to monitor IIS via SAM. When Solarwinds attempts to automatically configure the IIS server it returns an error that Powershell 2.0 is required. However, the version of Powershell running on the remote server is version 5.1. I then attempted to configure the server manually. All went well until Step 6 Create a WinRM listener for AppInsight for IIS which produced the error pictured below. No idea what it means. In the meantime, Solarwinds reports IIS as "unknown". What's strange is I'm monitoring another node with an identical set up and I had no problem getting Solarwinds to monitor IIS on that machine. Any help would be greatly appreciated.

 

 

 

 

Cisco WLC are not polling ?

$
0
0

frequently cisco WLC are not polling and got stuck with the old AP data in NPM. Am not getting any resolution for this issue we are facing this issue frequently. I have raised TAC case regarding this issue but not getting any update. Its badly impacting the production.

Changing the component monitor name?

$
0
0

Hi,

 

I have recently added multiple Linux/Unix Script Monitors from the available default component monitors.

 

Is there a way to change the Component Monitor Name value for these as it is not very intuitive in the web console when three of these are under the same template.

 

 

Thanks


NPM L2-L3 connection widget in SQL

$
0
0

Hello,

I am trying to create a SQL query to get the same data as in the widget NPM L2-L3 connections :

 

I create the following query :

 

SELECT NodesData.caption as Source_Name

    ,SourceInterface.InterfaceName as Source_Interface

    ,Layer_Type

    ,MappedNode.Caption as Mapped_Name

    ,MappedInterface.InterfaceName as Destination_Interface

FROM [SolarWindsOrion].[dbo].[TopologyConnections] as TopologyConnections

LEFT JOIN dbo.NodesData as NodesData

    on TopologyConnections.SourceNodeID = NodesData.NodeID

LEFT JOIN dbo.NodesData as MappedNode

    on TopologyConnections.MappedNodeID = MappedNode.NodeID

LEFT JOIN dbo.Interfaces as SourceInterface

    on TopologyConnections.SourceInterfaceID = SourceInterface.InterfaceID

LEFT JOIN dbo.Interfaces as MappedInterface

    on TopologyConnections.MappedInterfaceID = MappedInterface.NodeID

WHERE NodesData.caption LIKE 'OFF-RE-I157-01%'

 

and get the following results :

 

One connection is missing and I don't find where I should get it.

 

Any idea ?

 

Thanks for your help

 

Christine Delhougne

Client groups with leaders?

$
0
0

We have a number of different teams within the various departments in our company. Each team has a leader. We are hoping that team leaders can see tickets placed by all of the members in their team without having to be added to each ticket individually.

App insight for MS SQL - SAM component monitor consumption

$
0
0

Dear Solarwinds Experts,

 

I been involved in 3 different client projects, where SAM was scoped to monitor MS SQL Databases & we activated it using Appinsight for MS SQL.

 

As per document, Appinsight for Mssql tenmplates consume - 50 component monitors, but ideally when i assign it to MS SQL servers, this particular application template itself consuming on average 300 -500 component monitors.

 

My constrains are not with the SAM licensing, i am seeing problem with Additional polling engine scalability limit, As Each Ape can accommodate 10K component monitors, if we on-board a single MS SQL servers,, it is consuming ~800 components , as shown in below case.

 

I am using SWQL utility to verify my understanding,

 

In Application table, i am retrieving Application ID (41) for MySQL application that is applied to Node id (75)

 

And  if i check for the component list , related to Application ID 41, the count goes beyond 800.

 

Could some one , help me to understand, any thing wrong with my understanding..

Email Custom Property Variable

$
0
0

Has anyone set an email custom property for an Application object?  I added a new Applications custom property called "Email_Notification", set the email address on the application page, and set the alert up with a variable called ${Email_Notification}.  When I test the alert action I continue to get "The specified string is not in the form required for an e-mail address.".  I've tried several variable iterations and the only one that worked is, ${Node.email}, but falls under the Node custom property time.  I'm wanting Application.

 

 

Custom Alert Message using Variables and/or SWQL

$
0
0

So what I'm trying to do is create an alert for when Agent Status is not equal to running, which is fine, but I also want the Alert Message to show the Agent Status Message so I can quickly see what reason the Agent is not running.

 

When you create the alert the fifth section allows you to configure trigger action and to show a custom message when the alert is triggered.

I can use the following built-in variable to get Agent Status but this just returns the Agent Status ID, which is no use.

 

${N=SwisEntity;M=AgentStatus}

 

What I want to be able to do, but doesn't work is this: -

 

${N=SwisEntity;M=AgentStatusMessage}

 

Looking at other forum posts I see suggestions about referring to Orion SDK Schema but I don't see how I can reference any data using SwisEntity, I've tried all the following but none of these work: -

 

${N=SwisEntity;M=Orion.AgentManagement.Agent.AgentStatusMessage}

${N=SwisEntity;M=AgentManagement.Agent.AgentStatusMessage}

${N=SwisEntity;M=Agent.AgentStatusMessage}

${N=SwisEntity;M=AgentStatusMessage}

 

So then I look to SWQL as I know from SWQL Studio that I can reference the correct information but if I use SWQL in variable, I cannot seem to pass NodeID to the WHERE clause so I cannot get it to return the correct information for Node that generated the alert.

 

This does nothing: -

${N=SWQL;M=SELECT OAM.AgentStatusMessage FROM Orion.AgentManagement.Agent OAM WHERE OAM.NodeId = ${N=SwisEntity;M=NodeID}}

 

This only resolves the NodeID but doesn't process the SWQL query: -

${N=SWQL;M=SELECT OAM.AgentStatusMessage FROM Orion.AgentManagement.Agent OAM WHERE OAM.NodeId = ${NodeID}}

So I get back this: -

${N=SWQL;M=SELECT OAM.AgentStatusMessage FROM Orion.AgentManagement.Agent OAM WHERE OAM.NodeId = 763}

 

If I don't use a WHERE clause the SWQL works but obviously the information returned is just from the first node, not the node that generated the alert.

 

${N=SWQL;M=SELECT OAM.AgentStatusMessage FROM Orion.AgentManagement.Agent OAM}

Returns: -

Agent is running

 

 

So how on earth can I get this Agent Status Message to populate in the Alert Message?

What is the point of being able to use SWQL/SQL statements in variables if you cannot pass anything into the query?

Am I missing something?

 

BTW I did raise a case with SolarWinds for this too but I just got a reply saying they don't support help with SWQL queries. Even though strictly speaking its not help with the query I want, I just want better documentation/syntax information to correctly construct this custom variable.

 

Cheers for help

 

Message was edited by: Anthony Yates Corrected SWQL statement

Duplicate entries in IPAM.GroupNode, and is there a hidden index?

$
0
0

I'm writing a little script that will pull used IPs from specific blocks, and check to see if they are in any of our Visio drawings.

 

When I'm running a query though I'm getting a lot of duplicate entries which seems a little odd to me. I tried pulling every entity (difficult to do because we can't use SELECT *) I could from the table and I am not seeing any difference in the returned results.

 

Here's an example of the entities I'm looking to get:

 

$OrionIPAM_GroupNode = Get-SwisData $swis "SELECT GroupId, ParentId, Address, AddressMask, CIDR, FriendlyName, Comments, VLAN, LastDiscovery FROM IPAM.GroupNode WHERE GroupID = '964'"

 

This returns 4 results that are all the same.

 

Is there something wrong with our database?

 

Is there a hidden index record I'm not seeing from my other query of all entities?

 

Should I be querying on a different ID?

 

The idea here is to eventually grab every used IP from every subnet that has "MGMT" somewhere in the Description field in IPAM, which seems to be the 'Comments' field in the IPAM.GroupNode table.

 

Thanks!

Some WPM transactions failing after 2019.4 upgrade "401 Unauthorized"

$
0
0

We recently upgraded to 2019.4 and about a third of our WPM transactions are failing when they did not before.  All are throwing a 401 unauthorized.  We found a kb article saying this can be due to the latest recorder not supporting ntlm auth.  But, these scripts were all recorded with the previous version of the recorder and were running fine on the previous version of orion/wpm.  A number of other ntlm scripts are running fine.  Has anyone else seen anything like this since the recent upgrade?


Index Fragmentation

$
0
0

Hello Everyone,

 

I'm on a new job and just got AppInsight for SQL installed for our Orion and NTA SQL databases. Simple question: How serious is this?

 

Thanks!

 

Minimum parameters for StatusIcon.ashx?

$
0
0

I just discovered this handy tool for _IconFor in SWQL queries but can't find any doc.  I found examples by looking at the source of various pages but there's still variety.

 

First question: is there doc?

 

Second question: it seems like I should be able to give it NetObjectID=X:N and let it figure out everything... supplying other parameters should be an override... but that's not how it appears to work.  It appears that your SWQL code does half of the work and the ashx does the rest.

 

Insights?

Solarwinds Webconsole working very slow

$
0
0

We are struggling with Web Console working very slow. CI details and all the pages are taking alot of time to load. Performed many troubleshooting to solve at network\database\application level. Issue still persists. 

 

Please suggest

Major Issues with WPM in 2019.4

$
0
0

We recently had serious problems with orion that took several days with support to get resolved.  In the end, we had Orion upgraded to 2019.4.  In the latest version of WPM, there seems to be major problems and we are now having a difficult time getting it working.  Most of our apps use ntlm auth and this is apparently not supported anymore (?!?!?!?!?!?).  After a couple of days on the phone with support we got this response "And also here's a thing, I was told that if you want to monitor HTTPS site you should use the SAM (Server and Application Monitor) module for better outcome instead of WPM as there are a lot of issues and limitations with WPM."

 

The HTTPS monitor is nothing compared to WPM, and there is no timeline for supporting NTLM in WPM.  So we just renewed maintenance on a product that no longer works for us.  Newly recorded scripts also do not work.  Is anyone else having major issues with WPM since the upgrade?

Limiting the numbe of results per page on my Custom table resource of my View

$
0
0

Hey, I'm new to Solar Winds.  I am creating a new view and on that view I've added a custom table resource/widget. The data pulled back is exactly what I need.  However, I would like to limit the returned results to say 10 per page so that I can same real estate on the view for other things.

Any help would be appreciated.

Viewing all 21219 articles
Browse latest View live


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