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

AppInsight for IIS 0x80070005 E_ACCESSDENIED

$
0
0

I have been working on building our my AppInsight monitors.  However, I have various problems that I have questioned in the past.  I have noticed that some of my monitors go in and out of 'green' and 'unknown'.  I have noticed that at the time of the unknown, I am getting variations of the following errors.

 

Unexpected error occurred. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

 

I would understand if I truly didn't have access as I can work on getting access.  But cannot understand why it goes in and out.  Any ideas?


Restart a Service

$
0
0

Hi Guys.

 

I would like to seek your assistance in implementing the alert "Restart a Service". i've tried to enable the alert and im getting this error.

 

APMServiceControl.log

2016-10-23 09:16:45,866 [1] INFO  APMServiceControl.ServiceControl - Connecting to localhost:17777

*** Assembly SolarWinds.APM.Common, Version=6.2.4.4242, Culture=neutral, PublicKeyToken=null, .NET version v4.0.30319 ***

*** Assembly SolarWinds.Orion.Auditing, Version=10001.1.100.9, Culture=neutral, PublicKeyToken=null, .NET version v4.0.30319 ***

*** Assembly SolarWinds.Orion.Swis.Contract, Version=10001.1.100.9, Culture=neutral, PublicKeyToken=null, .NET version v4.0.30319 ***

*** Assembly SolarWinds.Orion.Core.Common, Version=2016.1.5300.1028, Culture=neutral, PublicKeyToken=null, .NET version v4.0.30319 ***

2016-10-23 09:16:47,913 [1] ERROR APMServiceControl.ServiceControl - START service failed.

System.ServiceModel.FaultException`1[SolarWinds.APM.Common.ApmFaultContract]: ControlService failed, check fault information. (Fault Detail is equal to SolarWinds.APM.Common.ApmFaultContract).

 

APM.BusinessLayer.log

2016-10-23 09:16:47,897 [188] ERROR SolarWinds.APM.Common.MessageUtilities - Exception caught in method ControlService

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

   at SolarWinds.APM.BusinessLayer.APMBusinessLayerService.ControlService(Int64 componentID, Int32 command)

Question on SAM 6.4 and AWS cloud monitoring feature.

$
0
0

Just found out about SAM 6.4 and AWS cloud monitoring feature.

 

Is NPM and SAM enough to enable cloud monitoring feature? OR do we also need VMAN 7.1?

 

Thanks!!

IIS - Identifying Users That Are Connected

$
0
0

I'm using AppInsight for IIS and I was asked if it can show the users connected to the web server.  They like that they can see the connection count but wondered if there's a way to see who's logged in.

replaced volumes still showing in web interface

$
0
0

Hello,

 

I had a bunch of volumes on a few VMs that were connected via iSCSI within the guest OS.  For a variety of reasons, I've moved the data onto VMDKs and removed the iSCSI volumes.  In NPM, both sets of volumes show up, but the iSCSI ones are all red.  If I go into the List Resources page, the old volumes don't exist to remove.   Does anyone know how I can get rid of the now disconnected iSCSI volumes?

 

Thanks

Greatest Invention Ever!

$
0
0

There are countless important inventions. Only ten are allowed here, so...I know you lot are creative, and I did only play the basics so... (I voted for cuticle remover. Why? Because the cuticle is that piece of skin that starts at the base of your fingernail and you then tear back until it reaches your elbow. Yuck!) GAME ON!

monitoring file existence folder and subfolder

$
0
0

I need to monitor the existence of files with specific names in folder and subfolder of a server, I tried the "File Existence Monitor" template but it did not work for the subfolder, only for the files that contains the folder indicated in the path. Help me with some recomendacipon please.

Thank you.

Issue With Windows Script Monitor

$
0
0

Hello, I have an issue that i can't figure out. I keep randomly receiving the following errors:

 

"Script does not contain the expected parameters or is improperly formatted. 'Statistic' missing."

"is showing One or more errors occurred."

 

 

The script works majority of the time, but randomly fails with a message like i have posted above.

 

Any help would be appreciated.

 

 

dim sql1, IssueCount

  Set oConn1 = WScript.CreateObject("ADODB.Connection")

  Set oRS1 = WScript.CreateObject("ADODB.Recordset")

 

    oConn1.ConnectionString = "ConnectionString"

   oConn1.Open

   sql1 = "QUERY"

  

   oRS1.open sql1, oConn1,3 ,3

if not oRs1.eof then

    issueCount= oRs1("IssueCount")

        

   

    if(cdbl(issueCount)<=10) then

         Wscript.Echo "Message: " & issueCount & " Current Issues"

         WScript.Echo "Statistic: "& issueCount

         Wscript.quit(0)

    else

         Wscript.Echo "Message: " & issueCount & " Current Issues"

         WScript.Echo "Statistic: "& issueCount

         Wscript.quit(3)

    end if

else

  Wscript.Echo "Message: Failed to run query."

  WScript.Echo "Statistic: 0"

  Wscript.quit(1)

end if

 

set oRS1 = nothing

set oConn1 = nothing


remove ignite,PI,server

$
0
0

Guys in my server show this app with 1,3 GB ram.

 

ignite,PI,server

 

 

I search but no see informaions about this app.

Customizing SAM Summary

$
0
0

Management has asked me to find a way to customize our messy out of box SAM summary page to look more like our Network Summary page:

 

Problem is, I need to include both nodes and applications in the list.  To get an overall view of a system's health server, apps on the server, etc.  I'm hoping someone out there has figured out a way to neatly display this.  we basically need a top level that's just the Application name, Exchange for example.  Then I need to be able to drill down and see a list of servers and their statuses.  Then I need to be able to drill down and see the application templates assigned to identify any with problems.  Does that make sense?  Do I need to create new custom properties?  If so, how do I get them to apply to both nodes and applications?

 

Thanks for any help and insight!

Automatically Update World Map Points Based On Custom Property Value

$
0
0

< BACK TO TO THE MAGIC OF SQL SCRIPTS SERIES LIST

 

Challenge:

 

  • At present moment (NPM v11) it is not possible to automatically handle nodes placement on the map
  • In the future (NPM v12) it will be possible to do so by utilising "Location" field on the SNMP devices. This will still leave few limitations:
    • first of all not all nodes are SNMP
    • second, SNMP field is not controlled by monitoring team - hence - very difficult to ensure consistency across the board

 

Solution

 

(1)

Create node custom property field "n_site_id" and make it drop down, with more or less meaningful names (better IDs) for your sites. You may already have one - in this case simply fine-tune SQL script below for it to work

04.PNG

 

(2)

Create new table in auxiliary database called "Sites"

05.PNG

 

Note:

LocationID field will not be used in this solution, but we will need it in other solutions. So, if you have intentions of following my future SQL magic series - please create this column as well

 

(3)

Populate this table with information about your sites, including coordinates, which you can extract from Google Map URL

06.PNG

03.PNG

 

(4)

Now, here is were Magic begins... below is a SQL script which you can use to populate your World Map Points.

 

MERGE SolarWinds.dbo.WorldMapPoints AS target
USING  ( SELECT       n.NodeID      ,n.EntityType      ,s.Latitude      ,s.Longitude      ,s.[Description]    FROM SolarWinds.dbo.Nodes n      LEFT JOIN SolarWindsAux.dbo.Sites s ON s.SiteID=n.n_site_id   LEFT JOIN SolarWinds.dbo.WorldMapPoints wm ON n.NodeID=wm.InstanceID  ) AS source (NodeID, EntityType, Latitude, Longitude, [Description]) ON (target.InstanceID = source.NodeID)
-- Delete from MAP if node no longer exist in Nodes table
WHEN NOT MATCHED BY source
THEN DELETE
-- Delete from MAP if Latitude/Longitude values were not specified
WHEN MATCHED  AND (source.Latitude IS NULL or source.Longitude IS NULL)
THEN DELETE
-- Update if Latitude/Longitude were changed
WHEN MATCHED  AND source.Latitude <> target.Latitude  OR (source.Latitude IS NOT NULL AND target.Latitude IS NULL)  OR source.Longitude <> target.Longitude  OR (source.Longitude IS NOT NULL AND target.Longitude IS NULL)  OR source.[Description] <> target.StreetAddress  OR (source.[Description] IS NOT NULL AND target.StreetAddress IS NULL)
THEN
UPDATE SET Latitude = source.Latitude, Longitude = source.Longitude, StreetAddress = source.[Description]
-- Synch new node
WHEN NOT MATCHED BY target  AND source.EntityType IN ('Orion.Nodes','Orion.VIM.Hosts','Orion.VIM.VCenters')    --Ideally, everything from NODES should be included, but I don't know if all objects from Nodes can be displayed on the map.    --So far, I know that this values will definitely work (they will be replaced with 'Orion.Nodes' values in World Map table)  AND source.Latitude IS NOT NULL  AND source.Longitude IS NOT NULL
THEN
INSERT (Instance, InstanceID, Latitude, Longitude, StreetAddress)
VALUES ('Orion.Nodes', source.NodeID, source.Latitude, source.Longitude, source.[Description])
;

 

 

Remember to change database name

 

(5)

The last thing which is left - schedule the above script to fire automatically, on schedule. Script is very resource-friendly - you can run it as often as you wish. How often - this will depend on your environment. Main questions to answer would be - how often location changes are being made by your team across all nodes and how quickly you want them to be populated on the map. In my case I decided to stick with "every 1 hour"

 

Please refer to the below step-by-step guide from MSDN on how to create SQL scheduled job:

Schedule a Job

 

(6)

... in 1 hour ...

 

001.PNG

 

Afterword

 

Obviously the above solution will fit into scenario, whereby you are managing your nodes locations with custom properties. However, the logic still the same - keep all your locations and coordinates separate and centrally accessible. Then - fiddle with SQL script a little bit to suite your needs and requirements. Feel free to ask any questions about adopting this script in your environment

 

To Your Success,

Alex Soul

www.pixace.com

trigger conditions not populating?

$
0
0

Ran into a problem today with advanced alerts trying to edit some trigger conditions and they're blank!  I've checked multiple rules, and I get the same thing:

Citrix Storefront monitoring

$
0
0

Hi,

 

Is there a way to monitor if launching of application/ desktop from the storefront is working or not? Thanks!

Link Website to server

$
0
0

I am monitoring websites using web performance monitoring. But i don't know on which servers these websites are hosted. Is it possible to link these websites to the web server so if a website goes down we can see on which server its having problem and whether the problem is with IIS etc?? . Also is it possible to show the webservers on appstack view. Right now my apsstack view for these URLs does not show any web servers associated with it

WHD intregration with Orion alerts not working

$
0
0

Having issues setting up the integration between Orion alerting and WHD.  I am generating alerts in Orion and have enabled the settings in the summary page on the alert to integrate with other solarwinds products.  To test out a single alert category i have tried to use just the severity (critical and serious) however tickets are never generated in WHD. 

 

I setup the connection in WHD and it is looking at the orion app server and tests the connection fine.

 

I have an email action on the alert and i get this however it never generates the ticket.  Are there any port requirements needed on either side that i may be missing (servers are on separate vlans).

 

Just looking for any ideas on what to look at, i have also created a ticket with support however not getting anywhere there either.


How to get System OS version using OID (Linux)

$
0
0

If anyone knows the OID for Linux system OS ver kindly share..

The 'SetBufferContents' member is not supported by ApmPsHostRawUserInterface.

$
0
0

SAM 6.2.4

I have a  Windows powershell component that is supposed to  search for "denied" in  activemq.log file.

I keep getting "Not defined" or  the following error.

 

COMPONENT TEST RESULT DETAILS

 

Output: ==============================================
Message: File \\***********\d$\apache-activemq-5.9.0\data\activemq.log not found.

 

Errors: ==============================================
Exception calling "SetBufferContents" with "2" argument(s): "The 'SetBufferContents' member is not supported by ApmPsHostRawUserInterface."
At line:9 char:33
+ $Host.UI.RawUI.SetBufferContents <<<< ($rect, $space)
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException

 

I am using a domain admin account against a windows 2012 virtual server.  I have tried on a  2008 server with a copy of the file.

 

Contents of PowerShell Script:

 

cls

 

$lines = $null

$line = $null

$logfile_path = $args.get(0);

$regex = $args.get(1);

$Error.Clear();

 

if ( !$logfile_path )

{

Write-Host "Message: Can't find $logfile_path argument. Check documentation."

exit 1

}

if ( !$regex )

{

Write-Host "Message: Can't find $regex argument. Check documentation."

exit 1

}

 

 

if ( Test-Path $logfile_path )

{ }

else

{

Write-Host "Message: File $logfile_path not found."

exit 1

}

 

 

$filename = "$logfile_path"

$t = (Get-Childitem env:temp).value

$filename = $filename.Replace(':','_')

$filename = $filename.Replace('\','_')

$file_path = "$t\SW_Script_Monitor-$filename"

 

 

if ( Test-Path $file_path )

{

$known_rows = get-content $file_path

}

else

{

$known_rows = 0

}

 

 

$resn = @()

$resl = @()

$total = (get-childitem $logfile_path | select-string -pattern $regex | select linenumber, line | measure-object).count

 

 

if ($Error.Count -ne 0)

{

Write-Host "$($Error[0])"

exit 1

}

if ( $total -lt $known_rows )

{

$known_rows = 0

$known_rows > $file_path

}

 

 

$temp = $total - $known_rows

$known_rows = $temp + $known_rows

$known_rows > $file_path

 

 

for ( $i = 0 ; $i -le $total; $i++ )

{

$resn += @($i)

$resl += @($i) }

$i = 1

$stat = get-childitem $logfile_path | select-string -pattern $regex | select linenumber, line | ForEach-Object {

$resn[$i] = $_.linenumber

$resl[$i] = $_.line

$i = $i + 1

}

 

 

 

 

if ($temp -eq 0)

{

write-host "Statistic: $temp"

write-host "Message: No newly found strings"

exit 0

}

if ($temp -gt 0)

{

$lines = @()

write-host "Statistic: $temp"

If($temp -gt 1)

{

for ( $i = 1 ; $i -le $temp; $i++ )

{

$lines += $resl[$count - $i] + '\\n'

$lines = ([string]$lines)

$charslines = $lines | Measure-Object -Character | Select -ExpandProperty characters

$lines = ([string]$lines)

}

 

  if ($charslines -gt 2500)

  {

  Write-Host Message: Numbers of newly found strings $temp \\n Message has been truncated to 2500 characters original message included $charslines.  Please check actual file for additional information. \\n Lines that included the error are. \\n $lines.substring(0,2500)

  }

  else

  {

  Write-Host Message: Number of newly founds strings $temp \\n Lines that included the error are. \\n $lines

  }

 

}

else

{

$line = $resl[$resl.Count - 1]

$charsline = $line | Measure-Object -Character | Select -ExpandProperty characters

  if ($charsline -gt 2500)

  {

  write-host Message: Number of newly found strings $temp. \\n Message has been truncated to 2500 characters original message included $charslines \\n Line that included the error in.\\n $line.substring(0,2500)

  }

  else

  {

  Write-Host Message: Number of newly found strings $temp \\n Lines that included the error is.  \\n $line

  }

}

 

 

}

Things I have tried:

-proved path is correct on server

- Tried d:\.... and UNC path as above

- Tried SAM component as local and  remote powershell ( remote gives ( not defined)

- proved error exists in file ( if not the script thas logic in it to tell me "No newly found strings"

- Duplicated same log on different server, same error

- ensured I can open the log file and view error.

- changed .log to .txt to see if that was the hang up.

 

Please help.

HTTP Form Login Monitor

$
0
0

I've setup an HTTP Form Login monitor but i'm receiving the following issue:

 

"Login form id = quicksearch has only 1 inputs. At least 2 expected.

Page contains 2 form(s). Form 'quicksearch' inputs: ('searchString'); Form 'jira_request_timing_info' inputs: ('jira.request.concurrent.requests');

Assumed form with id = quicksearch as login form"

 

Page Source does not show the form either but if Inspect Element on one of the form fields, I'm able to see the form.
I know that iframe is not allowed and this form is not in an iframe. Login Form Keyword is: (loginform). Any help with this would be really appreciate into finding why SW can't see the form.

File Age Monitor (Wildcard)

AppInsight For SQL: Clusters

$
0
0

Hello,

 

Just in need of some technical advice;

 

Im trying to 'AppInsight for SQL' on my SQL Server Database Cluster in the DMZ (Which sits behind a firewall and is on the domain) but it will not show the Instances when doing a list resources.

My firewall guys cannot see any ports being dropped on our firewall for these boxes when im attempting to monitor the instances, Or will i not see any SQL port drops until Orion can determine it can communicate with SQL first?

SAM has WMI access to the cluster with a Domain Admin account.

 

Has anybody else had issues with doing the above? Or are there any guidelines when monitoring a SQL Server cluster because i cant seem to get around this.

I should probably mention there is 2 instances running on this cluster, ive tried adding the VIP IP address, the IP addresses of the Instance resources on the cluster and ive tried just adding the node IP addresses in but still no instances.

 

Any info would be appreciated

 

Regards,

 

L.

 

EDIT: The instances are running on different static SQL ports (Yes i have tried entering these static ports too before anybody asks) but should that matter when the browser service should do the work to point me to my instances?

EDIT 2: I should also mention i am using an additional poller in the DMZ which is initiating the WMI Connections then feeding back to my Main Poller.

Viewing all 12281 articles
Browse latest View live


Latest Images

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