Quantcast
Channel: THWACK: All Content - Server & Application Monitor
Viewing all 12281 articles
Browse latest View live

Create a component that references multiple components within a template

$
0
0

I need to configure a component that provides the exact hard faults/sec metric.  The formula is (Memory:Page Input/sec Divided by Memory Page Fault/sec) *100 = % hard faults per second.

 

I have created one component that collects the Page Input / sec and another component that collects the page Fault/sec, but now I need to figure out how to divide the two components and display it as a statistic in a new component.

 

Any suggestions would be appreciated, thank you


Web Based SSH Client

$
0
0

SAM 6.3 Includes a awesome new web based SSH client, which is accessible from the 'Management' resource on the 'Node Details' view. This Web Based SSH Client can be used to remotely access virtually any Linux host, switch, router, firewall, etc. which has SSH configured, enabled, and is reachable from the Orion server or Additional Poller that the node is managed by.

 

Node Details View Management Resource Web Based SSH Client
SSH Client.pngSSH Client Session.png

 

 

The design of the Web Based SSH client allows you to access devices through your web browser without requiring direct access to the device from your laptop. Regardless of how complex your distributed Orion architecture may be, the web based SSH client makes the process of connecting to your devices simple and completely transparent; just click and connect.

 

Web Based SSH Client.png

 

Sound too good to be true? Checkout the short video clip below or try it out for yourself in the SAM 6.3 beta. We'd love to hear your feedback!

 

 

Why doesn't AppInsight for SQL pick up the TAB and MLT processes

$
0
0

Why doesn't AppInsight for SQL pick up the TAB and MLT processes (named msmdsrv.exe)?

Microsoft Windows Server 2012 R2 for Orion platform (-Enterprise or Standard)

$
0
0

Dear all,

 

We are preparing to install Orion platform 2018.2 with npm , nta , in a virtual machine with Windows 2012 R2. But confused with the option whether to go with 'Enterprise' or 'Standard'. Could some one can help me to understand it correctly.

 

I believe both versions are supported. Kindly validate my understanding

 

FYI: we aware of the fact that 2012 is depreciated as part of current release.

Powershell Component Monitor with Kemp - No Output

$
0
0

I'm quite new to all the parts of this (Kemp, Powershell and Solarwinds Components) so there is quite likely something straight forward I have missed here but i'm banging my head against the wall to figure out what.

 

I have written a Powershell script which works both from my machine and direct on the Orion server through Powershell ISE, however when i enter the below into the edit script box in a new template the Get Script Output returns Not Defined.

 

For reference the Kemp Powershell module has been saved into both System 32 and SysWow64 folders, I have tried setting platform to run polling job on as x86 and x64 and I have amended the Kemp.Powershell.Module.psd1 file as discussed in another forum post to comment out the PowerShellHostVersion which by default is set to 2.0

 

Any help would me much appreciated!

 

PS Imagine my code might look overly complicated but i'm still learning and it works so consider that bit a work in progress!

 

#Import Powershell Module

Import-Module Kemp.Loadbalancer.Powershell

 

 

#Set Load Balancer to Query

$LoadBalancer = '*******'

 

 

$KempPort = 443

 

 

$KempAdmin = '***'

 

 

$KempPassword = '*******'

 

 

$SecureString = ConvertTo-SecureString -String $KempPassword -AsPlainText -Force

 

 

$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $KempAdmin, $SecureString

 

 

#Initialise connection to Kemp Loadbalancer

Initialize-LoadBalancer -Address $LoadBalancer -LBPort $KempPort -Credential $credential

 

 

#Add all Virtual services and data into a array variable

[array]$VSArray = (Get-AdcVirtualService)

 

 

 

 

$VSName = $VSArray.Data.VS[6].Nickname

$RSTotal = $VSArray.Data.VS[6].NumberOfRSs

$VSIP = $VSArray.Data.VS[6].VSAddress

$VSEnabled = $VSArray.Data.VS[6].Enable

$RS1Status = $VSArray.Data.VS[6].Rs[0].Status

$RS1IP = $VSArray.Data.VS[6].Rs[0].Addr

$RS1Enabled = $VSArray.Data.VS[6].Rs[0].Enable

$RS2Status = $VSArray.Data.VS[6].Rs[1].Status

$RS2IP = $VSArray.Data.VS[6].Rs[1].Addr

$RS2Enabled = $VSArray.Data.VS[6].Rs[1].Enable

$RS3Status = $VSArray.Data.VS[6].Rs[2].Status

$RS3IP = $VSArray.Data.VS[6].Rs[2].Addr

$RS3Enabled = $VSArray.Data.VS[6].Rs[2].Enable

 

 

 

 

$RS1Count = ($RS1Enabled.ToCharArray() | Where-Object {$_ -eq 'Y'} | Measure-Object).Count

$RS2Count = ($RS2Enabled.ToCharArray() | Where-Object {$_ -eq 'Y'} | Measure-Object).Count

$RS3Count = ($RS3Enabled.ToCharArray() | Where-Object {$_ -eq 'Y'} | Measure-Object).Count

$RS1Counts = ($RS1Status.ToCharArray() | Where-Object {$_ -eq 'U'} | Measure-Object).Count

$RS2Counts = ($RS2Status.ToCharArray() | Where-Object {$_ -eq 'U'} | Measure-Object).Count

$RS3Counts = ($RS3Status.ToCharArray() | Where-Object {$_ -eq 'U'} | Measure-Object).Count

 

 

 

 

$RSEnabled = $RS1Count + $RS2Count + $RS3Count

$RSUp = $RS1Counts + $RS2Counts + $RS3Counts

 

 

 

 

Write-Host "Statistic.RSTotals: $RSTotal"

Write-Host "Message.RSTotals: $VSName Virtual Service has $RSTotal Real Servers $RS1IP, $RS2IP & $RS3IP"

 

 

Write-Host "Statistic.RSEnabled: $RSEnabled"

Write-Host "Message.RSEnabled: $VSName Virtual Service has $RSEnabled Real Servers enabled"

 

 

Write-Host "Statistic.RSUp: $RSUp"

 

 

 

 

exit 0;

DHCP User Experience Unknown

$
0
0

I have two identical Windows Server 2012 R2 DHCP servers in a load balancing/failover configuration.  The SAM server is on the same subnet on Windows Server 2016.  One of the application monitors I have assigned is the DHCP user experience test.  On one of the servers, it tests just fine.  On the other, it always times out and is stuck in an "unknown" state.  I have confirmed that the DHCP service is not only functional but reachable from the SAM polling server.  Any ideas?  I have tried the basics like rebooting both servers and remove/re-add the node.

Citrix NetScaler

Linux script execution error. There was an error processing the request.

$
0
0

This scream for help could actually have one of two different err messages, I'll try to explain:

I'm attempting to execute a python script in a SAM template deployed to an agent running on Raspbian(Stretch).

python ${SCRIPT}

print "Statistic.Pressure: 14"

print "Message.Pressure: Pressure"

When I test from within the template editing process, I get this:

Output Result:ND Get Output Failed:{"Message":"There was an error processing the request.","StackTrace":"","ExceptionType":""}

When viewing the application monitor after a poll attempt, the err on the component is shown as:
"Linux script execution error. No fields were recognized in the script output"

When I look at the debug log for the application on the agent, I see this:

Which leaves me confused.

I understand the err on the application page, because the outputs(Static.Pressure and Message.Pressure) are not defined.
But I can't define the output within the template if the output is not returned.
The script seems as though it is being interpreted absolutely perfectly because in the debug file, the output is shown as expected, without error.

I just can't figure out why that output isn't *seeming to be brought back when editing the template.

Any thoughts, ideas, or suggestions would be greatly appreciated.


SolarWinds agent status becomes unknown about 2 or 3 times a week

$
0
0

Hello,

 

We recently changed from WMI to agent polling in our environment. We currently poll about half of our devices trough agent (1179 nodes) both linux and windows, varying from Centos, Redhat and Ubuntu to Windows 2003 and above(2016 included)

About 2 or 3 times a week about 500 agents become unknown and stop polling data for nodes

 

A restart of the agent solves this issue temporarily, but we are yet to find a root cause or a fix for this.

 

This are the module versions that are currently in use in our environment:

Agent 1.7.0.331

NPM 12.1.5300.0

SAM 6.4.1020.0

 

We have a main poller and 3 additional ones.

 

We have parsed trough the agent logs on machines with nothing that would point to an error or a failure.

 

Has anyone else experience similar issues? And if so, do you have a root cause or a fix for this type of problems?

Alert for failed connection to SW instance from EOC?

$
0
0

All,

 

I have a need to know if I lose the Solarwinds Instance running at a remote  location. EOC will show the error for loss of connection but will not tell me. We had a power loss moment this weekend and the SA brought all servers back online including SW, every indication locally was the SW was up and running but remotely we had a database error and no ability to login even though the login in page was up. EOC was showing the disconnected but so far i can not see a way to alert me of the failed status on EOC.  I can create a group alert on a different site instance to "try" to see this type of event but every inditcation from a services stand point showed the server to be up and running, So, I am not sure that this will work.

 

If it is a straight power issue i will get other connection alerts for network nodes. this is only for that rare occurrence that SW "looks" up but is failing connecting EOC?

 

Again, the cleanest way for me to know I have loss connection to the SW instance remotely is through the EOC. Just looking if there is an "alert" function on the EOC I am not seeing.

 

thanks

How I switched to use Port 443 in my SolarWinds infrastructure.

$
0
0

Background

So like most, security is something we all continuously work on to improve. Recently, I had to update the SSL certificate on my primary Orion server and I took the opportunity to put in a 301 redirect to push all the traffic to Port 443 rather than Port 80.  I'm not sure how much of this is already known but I know I had a hard time to find documentation so I figured I would write an article on what I had to do to get everything working.

 

First off, the biggest problem after the switch was the automatic reports that I have SolarWinds generate each day.  The report would send a PDF that had a 404 error.  I noticed that the report was referring to my SolarWinds system by the server name instead of the custom URL.  The other issue I saw was the URL in the alerts also referred to the actual server rather than the custom URL.  Needless to say, this raised red flags so I'm hoping this article may help someone correct if you too find yourself having the issue.

 

Changing to Port 443

The change to using port 443 was easy.  You follow the same steps as you do with any other IIS based service but that is just the first step.  Doing the work on IIS is just the tip of the iceberg.   I had to go into the database and point the database to use port 443 as well. The next thing I had to do was go into the SolarWinds Configuration Manager and run the tool on the website.  I first ran it with "Skip Bindings" check but it ended with a 404 error so I went back into the Configuration Wizard, unchecked that box, checked "enable https" and ran the wizard successfully.  I thought I would be good to go.  Yet, that wasn't the case.  I noticed the alerts were still showing the URL reference to the actual server rather than the custom URL.

 

Correcting the URL

To change the URL, I had to log onto my primary server and first stop all the SolarWinds services.  I then opened the SolarWinds database manager and went into the Website table.  I ran the query and noticed that the "primary" website was set to use the server and the custom URL was set as the additional address.  I enabled editing of the table and made the change to use the custom URL as the primary and the server name as the additional and now the alerts are showing the correct URL and my reports are working.

 

Conclusion

I know this probably all seems basic but it was a bit of a pain in the **** so I wanted to share what I learned.  I'm not sure if this belongs in this SRM board but I wasn't sure where else to put it. Hopefully, this helps someone.

Server Rack Diagram for SAM

$
0
0

I am looking to make a server rack diagram in SAM. I'd like to gather some ideas from all of you to get started.  Have you setup a server rack for your application monitors?  If so how do they work and what do they look like?

Automatic Discovery of Resources to Monitor

$
0
0

Hi guys, I come to SAM from the SCOM world. In SCOM we write discoveries to dynamically discover objects to monitor. For example, if I wish to monitor a disk, I write a discovery to discover all disks and then that single discovery will dynamically create instances of all logical disks against my target. If i write a service discovery, it will create a service resource against that target. Does SAM not have anything comparable?

How Can I monitor task scheduler jobs on windows server

$
0
0

I am trying to monitor  task scheduler jobs on windows server. How can I do that. I tried using tempalate windows task scheduled tasks but somehow it doesnot lead me to the application and component monitor. I am using SAM 6.2.2.

 

Please asssist.

Advanced alert escalations + Auto Acknowledge?

$
0
0

We are trying to perform some automated fixes for some linux services and are trying to use alert escalations to be able to escalate an issue to someone (via email) when those automated fixes fail.

 

Currently I have an action to execute a powershell script which connects to the node and restarts the linux service if its down.

 

What i want to do is if the service is still down after attempted restart then escalate to human via email.

 

Basic procedure would be:

- Alert fires for component down

- Automated restart/fix deployed

- If still down after 10 minutes email human

 

Is there any way we can achieve this via alert escalation? I know escalations are based on acknowledgement but can we change this behavior? I am thinking of modifying the script to wait then auto acknowledge if successful.


Monitor how many jobs are in a print queue

$
0
0

Hello,

 

I have been asked to set up some monitoring around the number of jobs in our print queue.  So for example if there are more than 5 jobs in the queue send an email.

 

I've added the print server to the 'Windows Print Services' template in SAM but I can't see anything that is relevant to my requirement.

 

 

thanks

Anita Roberts

Event Correlation

$
0
0

Hi All,

 

Could someone let me know how to achieve event correlation in solar winds?

 

Regards,

Vinothkumar K.

Website login monitoring

$
0
0

Is there a tool in Solarwinds that can give us the number of successful log in versus the number of fail login in our website?

Web console behind reverse proxy gets proxied server's IP in JavaScript instead of proxy's domain

$
0
0

I am serving the Orion (SAM 6.6.1) web console through an IIS reverse proxy using URL rewrite. Mostly it works, but sometimes it still tries to use the proxied server's IP address.

 

The most annoying example is that none of the popups work. Looking at the network log in my browser reveals that when popups should show, requests are made to the proxied server's IP address, which the browser can't access through the firewall. All these requests should be going through the proxy.

 

It appears to me that the page loads the script at https://proxy.domain/ui/scripts/environment?43300.03.L which returns the following response:


var SW;
(function(sw) {
    sw.environment = {        name: 'production',        apiEndpoint: location.protocol + '//<proxied IP>/api2',        legacyApiEndpoint: location.protocol + '//<proxied IP>/api',        webServiceEndpoint: location.protocol + '//<proxied IP>/orion/services',        contentApiEndpoint: location.protocol + '//<proxied IP>/ui/api',        applicationPath: 'ui/',        autoRefreshSeconds: 300,        modules: ["add-node","apm","clm","dpa","ha","interfaces","licensing","manage","maps","nodemanagement","perfstack","recommendations","sam.adm","sam.adm.incoming.connections.resource","search","vim","vimcloud"],        currentModule: '$empty',        debugI18n: false,        demoMode: false,        webRevision: '43300.03.L',        authTimeoutMilliseconds: 1500000,        timezoneOffsetMinutes: 600,        oipEnabled: false    };    sw.user = {"AccountID":"DOMAIN\\USERNAME","Expires":"\/Date(4102408800000)\/","AccountEnabled":true,"MenuName":"Default","HomePageViewID":1,"DefaultNetObjectID":"","DefaultNetObject":"not selected","SummaryViewID":1,"NodeDetailsViewID":-1,"AllowAdmin":true,"AllowNodeManagement":true,"AllowMapManagement":true,"AllowUnmanage":true,"AllowDisableAction":true,"AllowDisableAlert":true,"AllowDisableAllActions":true,"AllowCustomize":true,"AllowEventClear":true,"AllowReportManagement":true,"AllowAlertManagement":true,"LastLogin":"\/Date(1531960062597)\/","ReportFolder":"Default Folder","AlertCategory":"","LimitationID1":0,"LimitationID2":0,"LimitationID3":0,"ToolsetIntegration":true,"DisableSessionTimeout":false,"AccountType":4,"GroupInfo":"DOMAIN\\Group","GroupPriority":0,"AccountSid":"S-I-D","AllowViewCopCheck":false,"UserTabs":[{"TabID":1,"MenuBarID":"Default"},{"TabID":3,"MenuBarID":"APM_TabMenu"},{"TabID":4,"MenuBarID":"Databases_TabMenu"},{"TabID":2,"MenuBarID":"Virtualization_TabMenu"}],"UserSettings":null,"AllowedViews":null};    sw.user.menuStyle = '';    sw.license = null;    sw.featureToggles = [{"name":"SwSearch","isEnabled":true},{"name":"SwAllAlertsWidget","isEnabled":true},{"name":"SwDashboard","isEnabled":true}];
})(SW || (SW = {}));

 

The instances of <proxied IP> should probably be replaced with the domain of the proxy, but I do not know where this can be changed.

 

Can someone please help me with this?

IBM WebSphere (JMX)

Viewing all 12281 articles
Browse latest View live


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