Quantcast
Viewing all 20625 articles
Browse latest View live

Traffic utilization for group interfaces

Hi,

 

I have created several groups on my Solarwinds platform, now i would like to see the traffic utilization on the interface of the nodes specific to each group.

However, when i try to customize the group, i am seeing traffic utilization for all interfaces on every single node on the platform.

Has anyone worked with groups and been able to achieve this ?

Please assist.


Cisco ISE services monitoring

Hello All,

 

Is there anyone who is monitoring Cisco ISE services through Solarwinds? We are having module NPM and SAM in our environment.

Need to monitor ISE services in solarwinds. However, no such built-in template available in SAM.

 

Kindly support.

 

Thanks in Advance..!!

Re: Bogus interfaces on Juniper routers and switches

Re: HA SQL Server

Beware that availability groups do mean a transaction-logged database (instead of simple mode).   This is discouraged for performance reasons.

 

SQL Clustering is replicating the data at the block level (ie disk level) which is why it needs no transaction logs to function.

Require Netflow Reports Customization

Hello All,

 

There are some of the built-in Netflow reports like Top 100 applications, Top 50 Conversations, Top 5 Protocols, and etc.

However, we need to create report which will give this irrespective of Node. Also, one report which will have co-relation between Applications, Protocol, Device, Conversations.

I see that customization is very less for Netflow reporting.

 

Anyone is there who has customized NTA reports based on customer needs to identify traffic Application Wise or protocol wise analysis.

If possible, pls share report screenshot which would help us to create new reports.

 

Thanks in Advance...!!!

Re: LEM to SEM????

It can be either. You can use domain\username for an AD account or just use the username (with no domain name) for a local account. If you have issues with the network share, there is also an ISO upgrade available.

Image may be NSFW.
Clik here to view.

Re: Multi Homed Windows Agents

Thanks for confirming. I was certain I couldn't but just needed a gut check confirmation. :-)

TopN application custom chart of NTA

Hello,

 

I want to make TopN application custom chart of NTA.

Because I want to make this graph for any interfaces pair, I am trying this by custom graph with following SWQL query.

Graph is shown on NTA dashboard. (Attached image file).

But, all application are shown on graph.

I want to make TopN graph to configure condition in SWQL query.

Can i do this using SWQL query ?

 

-----

SELECT

F.TimeStamp As Time,

A.Name AS ApName,

SUM(F.Bytes)*8/60 AS DataBytes

FROM Orion.Netflow.Flows As F Inner Join Orion.Netflow.Applications As A ON F.ApplicationID = A.ApplicationID

WHERE (F.TimeStamp > GETUTCDATE() - 7) AND ((F.InterfaceIDRx =  500 AND F.InterfaceIDTx = 501)  OR (F.InterfaceIDRx = 501 AND F.InterfaceIDTx = 500))

GROUP BY F.TimeStamp, A.Name

Order By Time, DataBytes DESC

----

 

Best regards,

 

KH


Re: What do you think of this? Real time network map made from Solarwinds SWQL

Re: SWQL Code HELP!!!!!!!!!

Re: What do you think of this? Real time network map made from Solarwinds SWQL

jblankjblank the table orion.routing.neighbors shows the ifindex from the snmp ifindex, but interfaceid is a global value.  I can track it back obviously by finding the node id in the interfaces table but anyway that sw could actually collect and store the global interfaceid here or would that be too invasive?  It would make connecting the dots a lot less complex.  I realize it isnt necessary but the global interface id is way more interesting to me than ifindex.

Re: What do you think of this? Real time network map made from Solarwinds SWQL

Edit:  I removed a test field from an array while typing notes and in the part where I was pushing the edges into the edges array I left a comma that is not needed as it is the last item being pushed into the array.  That would have possibly broke the code.  I am removing the extra comma in these notes.  I found it by mistake reviewing my post.

 

Ok I decided to release it into the wild.  Please note, I am not a programmer yet just learning and I know the code lacks efficiency majorly.  Some of the thinks I did in here (naming the peers array for example were me just testing new methods of doing things that I havent done before.  Enjoy and I wont be able to answer much about it until monday but see if anyone wants to try to make it work...show me what you got...lol

 

 

//must have this code for visjs to work

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.js"></script>

    <link href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.css" rel="stylesheet" type="text/css" />

 

 

<style>

 

///size of container for map

   #mynetwork {

            width: 1500px;

            height: 1000px;

            border: 1px solid lightgray;

        }

 

 

</style>

<div id="mynetwork"></div>  ///div id used in this example for map

<script>

 

 

///declaring variables outside of the function so all functions can use them i think

var nodes;

var edges;

var edges=[];

var swql;

var results=[];

var links;

responses=[];

var node;

var node=[];

var nodename;

var nodename=[];

var nodes=[];

let result;

var data;

data=[];

var x;

var y;

var peers;

var peers=[]

var basenodes;

var basenodes=[]

var outsidenodes;

var outsidenodes=[];

 

 

 

 

////datareduce function

 

 

 

 

function datareduce(){

///push each query response into data[0,1,2,3,4,etc]

    for(x=0; x<responses.length; x++) {

       data.push(responses[x].d.Rows);

     

    }

 

 

 

    //find my ip addresses

///check to see if my node is in my node list if not push my node id/nodename  seperated them to make searchable arrays probably a total waste of time but i had issue with includes and the dataset returned directly from sw

    for(x=0; x<data[0].length; x++){

if (node.includes(data[0][x][1])==false){

node.push(data[0][x][1]);

nodename.push(data[0][x][0]);

 

 

}

 

 

        for(y=0; y<data[2].length; y++){

///push my ip addresses for each node into an array of ip addresses of only interesting nodes...so later dont loop the entire ip address table every time lot of wasted steps going on here.  Making it work before i try to make it work cleanly lol

            if(data[0][x][1]==data[2][y][0]){

                basenodes.push(data[2][y]);

 

 

            }

 

 

 

 

        }

    }

 

 

 

 

///go through my basenodes ip and find ospf neighbors that show me as their neighbor this match represents a peer push to peer record.  I did master break here once i find a match no need to keep looking

 

 

    for(x=0; x<basenodes.length; x++){

 

 

    for(y=0; y<data[1].length; y++){

 

 

        if(data[1][y][1]==basenodes[x][1]){

 

 

          

 

 

peers.push(

{

peer1:basenodes[x][0],

peer1ip:basenodes[x][1],

peer1ifindex:basenodes[x][2],

peer2:data[1][y][0]

});

break;

    }

 

 

}

}

 

 

////go through peers and look for peers that are not part of my initial search...if not in my initial search need to check for their neighbors and include my initial node list nodes as peer statements going back the other way (two sides of every connection need to find that interface as well)

for(x=0; x<peers.length; x++){

if (node.includes(peers[x]['peer2'])==false){

outsidenodes.push(peers[x]['peer2']);

for(y=0; y<data[3].length; y++){

if(peers[x]['peer2']==data[3][y][0]){

node.push(data[3][y][0]);

nodename.push(data[3][y][1]);

}

}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

}

}

 

 

 

 

///searching new set of nodes for matches in original list

basenodes=[];

for(x=0; x<outsidenodes.length; x++){

    for(y=0; y<data[2].length; y++){

        if(outsidenodes[x]==data[2][y][0]){

            var z;

            for(z=0; z<data[1].length; z++){

                if(data[2][y][1]==data[1][z][1]&&node.includes(data[1][z][0])){

                 

 

 

 

 

 

 

peers.push(

{

peer1:outsidenodes[x],

peer1ip: data[2][y][1],

peer1ifindex:data[2][y][2],

peer2:data[1][z][0]

});

 

 

 

 

 

 

                 

 

 

                }

 

 

            }

 

 

        }

 

 

    }

}

////formatting data for visjs mapping it only cares about nodes and edges in general for a basic map

for(x=0; x<node.length; x++){

nodes.push({

id:node[x],

label:nodename[x]

});

}

var color=["black","green","red"]

for(x=0; x<peers.length; x++){

for(y=0; y<data[4].length; y++){

 

 

if(peers[x]['peer1']==data[4][y][0] && peers[x]['peer1ifindex']==data[4][y][2]){

 

 

edges.push({

from:peers[x]['peer1'],

to:peers[x]['peer2'],

title:data[4][y][3] + " " + data[4][y][4] +" InBPS",

value:data[4][y][4]  ///i was toying around with making line thickness match traffic on link so i got rid of all interface stats except inbps and used it here

///the line above here is where I removed the comma from the value: line

 

})

break;

}

}

}

console.log(data);

// create a network

var container = document.getElementById('mynetwork');

 

// provide the data in the vis format

var dataset = {

nodes: nodes,

edges: edges

};

var options = {

 

 

layout:{

    improvedLayout: false

  }

  }

 

 

var network = new vis.Network(container, dataset, options);

 

 

 

 

//network.on('select', function (properties) {

//  alert('selected edge: ' + properties.edges);

//});

 

 

 

 

 

 

}

 

 

 

 

 

 

 

 

 

  

  

 

 

 

 

 

 

 

 

 

 

//doajax request to solarwinds and push answer to responses object

async function doAjax(swql) {

  var params = JSON.stringify({

            query: swql,

            parameters: {

                }

        });

const result = await $.ajax({

            type: 'POST',

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

            data: params,

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

            dataType: "json",

success: function(result) {

return result;

}

});

responses.push(result);

 

 

}

//enddoajax

 

 

 

 

 

 

 

 

var swql=["SELECT  distinct i.node.nodename, i.NodeID  FROM Orion.NPM.Interfaces i where i.caption like '%r1-r1%'" ,

"SELECT NodeID, NeighborIP FROM Orion.Routing.Neighbors where protocolname ='ospf'" ,

"SELECT NodeID, IPAddress, InterfaceIndex FROM Orion.NodeIPAddresses",

"SELECT nodeid, caption FROM Orion.nodes" , " select nodeid,interfaceid,index,caption,inbps,operstatus from orion.npm.interfaces"] ;

 

 

///these lines run the swql queries and wait till they are done to process the data

///i learned about asynch funtions and waiting for them with then...before I learned this I was having to nest all my swql queries inside eachother and copy and paste them all over and over again the entire code which was really bad.  This new method has opened up for me to declare my ajax call in an outside script then call it on any page at any time which once I implement will be really cool..I will also be doing the same for all future graphing types with outside function that I call and pass args to.

 

const test0=doAjax(swql[0]).then(finalResult => {

const test1=doAjax(swql[1]).then(finalResult2 => {

const test2=doAjax(swql[2]).then(finalResult3 => {

const test3=doAjax(swql[3]).then(finalResult3 => {

const test4=doAjax(swql[4]).then(finalResult4 => {

 

 

 

 

///weird  function name for a function that does a lot of extra work it doesnt need to...i wanted to get rid of responses.d.Rows(or columns) and just have the data

datareduce();

 

 

})

})

})

})

})

 

 

</script>

The list of Windows Update that conflicts with Kiwi Syslog Server

Hi,

I use Kiwi Syslog Server on Windows Server 2016.

 

I got an error on Kiwi Syslog Server due to conflict with Windows Update several times.

 

1) Performed on April 26, 2017

*Environment

- Windows Server 2016

- Kiwi Syslog Server version 9.5.2

 

The following patchs were installed by Windows Update successfully.

KB4015217

KB890830

 

Then KSS is unable to load and presents the following error:

---------------------------

Syslogd

---------------------------

Component 'KiwiSocket.ocx' or one of its dependencies not correctly registered: a file is missing or invalid

---------------------------

 

 

2) Performed on May 19, 2017

*Environment

- Windows Server 2016

- Kiwi Syslog Server version 9.6.1

 

The following patchs were installed by Windows Update successfully.

KB3150513

KB4019472

KB890830

KB4013418

 

 

Then KSS is unable to load and presents the following error:

---------------------------

Syslogd

---------------------------

Component 'XceedZip.dll' or one of its dependencies not correctly registered: a file is missing or invalid.

---------------------------

 

 

[Resolution]

Both cases, I uninstalled and re-installed Kiwi Syslog Server.

 

Please refer:

https://support.solarwinds.com/Success_Center/Kiwi_Syslog_Server/KSS_error_Component_XceedZip_dll_or_one_of_its_dependencies_not_correctly_registered_a_file_is_missing_or_invalid

 

 

 

3) Performed on June 21, 2017

*Environment

- Windows Server 2016

- Kiwi Syslog Server version 9.6.1

 

The following patchs were installed by Windows Update successfully.

(KB3186568)

(KB4023834)

(KB4022715)

(KB890830)

(KB3150513)

 

Then KSS is unable to load and presents the following error:

---------------------------

Syslogd

---------------------------

Component 'XceedZip.dll' or one of its dependencies not correctly registered: a file is missing or invalid.

---------------------------

 

[Resolution]

I uninstalled and re-installed Kiwi Syslog Server.

 

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

4) Performed on April 3, 2018

*Environment

- Windows Server 2016

- Kiwi Syslog Server version 9.6.3

 

The following patchs were installed by Windows Update successfully.

KB4089510

 

Then KSS is unable to load and presents the following error:

---------------------------

Syslogd

---------------------------

Component 'KiwiSocket.ocx' or one of its dependencies not correctly registered: a file is missing or invalid

---------------------------

 

[Resolution]

I uninstalled and re-installed Kiwi Syslog Server.

 

 

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

 

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

5) Performed on June 29, 2018

*Environment

- Windows Server 2016

- Kiwi Syslog Server version 9.6.3

 

The following patchs were installed by Windows Update successfully.

KB4284833

2018-06 x64 ベース システム用 Windows Server 2016 の累積更新プログラム (KB4284833)

 

Then KSS is unable to load and presents the following error:

---------------------------

Syslogd

---------------------------

Component 'KiwiSocket.ocx' or one of its dependencies not correctly registered: a file is missing or invalid

---------------------------

 

[Resolution]

I uninstalled and re-installed Kiwi Syslog Server.

 

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

 

メッセージ編集者: JTC Osaka After Windows Update(2018-June), KSS can not start again.

 

 

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

6)

Performed on Nov 22, 2018

*Environment

- Windows Server 2016

- Kiwi Syslog Server version 9.6.3

 

The following patchs were installed by Windows Update successfully.

--------------------------

2018-11 x64 ベース システム用 Windows Server 2016 更新プログラム (KB4465659)

2018-11 x64 ベース システム用 Windows Server 2016 の累積更新プログラム (KB4467691)

悪意のあるソフトウェアの削除ツール x64 - 2018 年 11 月 (KB890830)

--------------------------

 

 

Then KSS is unable to load and presents the following error:

---------------------------

Syslogd

---------------------------

Component 'KiwiSocket.ocx' or one of its dependencies not correctly registered: a file is missing or invalid

---------------------------

 

 

[Resolution]

I uninstalled and re-installed Kiwi Syslog Server.

 

メッセージ編集者: JTC Osaka  2018/11/29 15:31

 

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

7)

Performed on March 4, 2019

*Environment

- Windows Server 2012 R2

- Kiwi Syslog Server version 9.6.6.1

 

The following patchs were installed by Windows Update successfully.

--------------------------

- 2019-02 x64 用 Windows 8.1 および Server 2012 R2 の .NET Framework 3.5、4.5.2、4.6、4.6.1、4.6.2、4.7、4.7.1、4.7.2 用セキュリティおよび品質ロールアップ (KB4487080)

- 2019-02 x64 ベース システム用 Windows Server 2012 R2 向けセキュリティ マンスリー品質ロールアップ (KB4487000)

- 悪意のあるソフトウェアの削除ツール x64 - 2019 年 2 月 (KB890830)

--------------------------

 

Then KSS is unable to load and presents the following error:

---------------------------

Syslogd

---------------------------

Component 'ipdaem160.ocx' or one of its dependencies not correctly registered: a file is missing or invalid

---------------------------

Image may be NSFW.
Clik here to view.
Error message:

 

[Resolution]

I uninstalled and re-installed Kiwi Syslog Server.

 

メッセージ編集者: JTC Osaka 2019/03/04 10:44

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

8)

Performed on May 31, 2019

*Environment

- Windows Server 2016

- Kiwi Syslog Server version 9.6.7.1

 

The following patchs were installed by Windows Update successfully.

--------------------------

2019-05 x64 ベース システム用 Windows Server 2016 の累積更新プログラム (KB4499177)

--------------------------

 

Then KSS is unable to load and presents the following error:

---------------------------

Syslogd

---------------------------

Component 'XceedZip.dll' or one of its dependencies not correctly registered: a file is missing or invalid.

---------------------------

Image may be NSFW.
Clik here to view.

 

[Resolution]

I uninstalled and re-installed Kiwi Syslog Server.

 

メッセージ編集者: JTC Osaka

DYNAMIC CUSTOM PROPERTIES "CHANGE ALERT" ON NCM inventory value/field ?

Hi

 

I try to run a alert/Job that will update some CP hardware fields without manual intervention

 

 

I have cisco 4500 that has different versions of  cisco supervisor card

 

The CP has dropdown.

 

 

 

Image may be NSFW.
Clik here to view.

 

 

 

I can find the switch supervisor card in NCM reports

 

Image may be NSFW.
Clik here to view.

 

 

I sure like to know if I can run alert that will change the CP to the right type by looking into NCM inventory ?

Re: SWQL Code HELP!!!!!!!!!


Restart Module Engine notification on removed, offline polling engine.

We are getting notifications of the following format in our Orion platform:

Plugin "Orion Licensing Business Layer" failed to start on [HOSTNAME]. Please restart the Module Engine service on [HOSTNAME].

 

We recently migrated our entire environment from Amazon to Azure. The hostnames in the notifications are of three Amazon servers that used to function as Polling Engines (ROP's). These servers were brought offline before we started migrating Solarwinds to the new servers.

I'd like to know where this Event is triggered, so that it can be silenced. I can no longer access the old servers, so solving this the standard way isn't possible.

The old hostnames are no longer present in the Engines table and the nodes monitoring them have also been deleted.

 

The event looks like this in the database. Note that it doesn't give any information regarding the origin of this event.

Image may be NSFW.
Clik here to view.

 

Acknowledging the alert throws this error:

{

"data": {

"message": "An error has occurred.",

"exceptionMessage": "Object reference not set to an instance of an object.",

"exceptionType": "System.Exception",

"stackTrace": "   at SolarWinds.Orion.Web.Platform.Data.SwisRepository.Invoke[T](String entity, String verb, Object[] args) in C:\\buildAgent\\work\\1ec88b4de741def0\\Src\\Lib\\SolarWinds.Orion.Web.Platform\\Data\\SwisRepository.cs:line 181\r\n   at SolarWinds.Orion.Web.Services.Data.SwisQueryRepository.Invoke[T](String entity, String verb, Object[] args) in C:\\buildAgent\\work\\1ec88b4de741def0\\Src\\Lib\\SolarWinds.Orion.Web.Services\\Data\\SwisQueryRepository.cs:line 35\r\n   at SolarWinds.Orion.Web.Services.SwisService.Invoke[T](String entity, String verb, Object[] parameters) in C:\\buildAgent\\work\\1ec88b4de741def0\\Src\\Lib\\SolarWinds.Orion.Web.Services\\SwisService.cs:line 40\r\n   at SolarWinds.Orion.Api.Host.Controllers.SwisController.Invoke(InvokeParam verb) in C:\\buildAgent\\work\\165e2f5a876348dd\\Src\\Web\\SolarWinds.Orion.Api.Host\\Controllers\\SwisController.cs:line 61\r\n   at lambda_method(Closure , Object , Object[] )\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__18`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__18`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()"

},

"status": 500,

"config": {

"method": "POST",

"transformRequest": [

null

],

"transformResponse": [

null

],

"jsonpCallbackParam": "callback",

"params": {

"lang": "en-us",

"swAlertOnError": true,

"swLogOnError": [

401,

403,

500,

501,

502,

503,

504,

505,

506,

507,

508,

509,

510

],

"swToastOnError": [

401,

403,

500,

501,

502,

503,

504,

505,

506,

507,

508,

509,

510

]

},

"headers": {

"Accept": "application/json, text/plain, */*",

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

"X-XSRF-TOKEN": "eDXQkOnXEFRIcpKJjU8doDh5xIHux006kxHN/hcfKU8="

},

"cache": false,

"url": "ORIONWEBSITE:443/api2/swis/invoke",

"data": {

"entity": "Orion.NotificationItemGrouped",

"verb": "AcknowledgeById",

"parameters": [

"2dadbe78-9185-4bc1-bf1d-de82b3011d5f",

"Sander",

"2019-05-31T10:52:37.008Z"

]

}

},

"statusText": "",

"xhrStatus": "complete"

}

Image may be NSFW.
Clik here to view.

Re: Generate report that will list the alert and the associated email address that is getting this alert.

Hey thanks, that didn't entirely work for me for whatever reason but, you put me on the right track. After trying a couple things I stumbled on the ActionTypeID named SendHttpRequest with that and the Title and Description gives me what I was looking for... now to figure out the joins and what not to get the report to look good.

 

Thanks again!

Re: Email New User with Credentials?

Hi Paul,

 

Is there any documentation around setting something like this up? I'm not very familiar with the Send-MailMessage powershell command.  Are there any plans add this functionality into the native UI at some point in the future?

 

I'm able to get a simple email to fire off after a new account is created but for some reason the password variable isnt returning any value.  Is there anything else I need to check on my end?

 

Image may be NSFW.
Clik here to view.

Re: SW Powershell Help with Credential for Monitoring field when prompted by the script

Most of my PowerShell monitors do this to get the user name and password from the ${CREDENTIAL} variable:

 

$c = Get-Credential -credential ${CREDENTIAL};
[string] $user = $c.Username;
[string] $password = $c.GetNetworkCredential().password;

To connect to an Oracle database, build your connection string with $user and $password, then use it establish the database connection:

 

$conn_string = "User Id=$user;Password=$password;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=$hostname)(PORT=$port))(CONNECT_DATA=(SERVICE_NAME=$serviceName)))";
try {  $conn = New-Object Oracle.ManagedDataAccess.Client.OracleConnection($conn_string);
} catch {  Write-Host "Message: Failed to connect to service $serviceName at $hostname`:$port. Error: $($Error[0])";  exit 1;
}

Re: Email New User with Credentials?

Hi Eric,

 

can you specifiy what you mean by "the password variable isn´t returning a value"? Could you post the parameter definition of your script and how you try to access the variable?

There is documentation regarding the usage of scripts and the passing of parameters in the extended install & config guide you can find in the success center.

 

Regards

Paul

Viewing all 20625 articles
Browse latest View live


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