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

SolarWinds Agent needing a Reboot

$
0
0

I am on SAM 6.2.3. I had a network event where we lost connection across the board. Once everything was fixed and the customers are back up and using the servers again I have 20+ servers that indicate the servers are down. I can ping them. The users are all working fine. Its just the SAM Agent is not communicating correctly.  If I change the polling from Agent to WMI the server status changes to up. So the Agent service seems to be the only issue.

 

I've checked for posts on SAM agents needing a reboot and the issue there. I have seen the Database update for AgentStatus = 5. No help there. It's been hours so the status should have had plenty of time to update. 

 

The question is If I restart the service on each server manually will that have a chance of fixing the issue? Rebooting all these production servers is not an option, at least not in a timely fashion. Hopefully there is a script that will stop and restart the service.


AppInsight SQL Instance Inventory

Windows Service Monitor

How to monitor an SNMP4J agent?

$
0
0

I have an SNMP4j agent (with custom OIDs) that I would like to poll. I've tried to use the Universal Device Poller as well as some of the other tools offered by Solarwinds. Can someone help me with this? Would someone be able to step through how to monitor an SNMP agent running in a JVM?

 

Thanks!

AppInsight for Exchange - Archive DBs Users

$
0
0

We are running Exchange 2013 CU9. We have AppInsight for Exchange (SAM 6.2.3) and we are very happy with it.

 

One question that we have...

 

In the "mailbox database status" I clicked on one of the mailbox databases. The Mailbox Database template opens with all its information. The one I'm most interested users metrics such as "users by mailbox size" and "users by % mailbox quota used". I can see the values for every user.

 

but

 

when I clicked on the Archive databases and its template opens, I do not see the same. I do not see any users. But I know all my online archives are on these databases.

 

Any ideas?

 

Thank you,

Installing remote SAM Poller to connect to MSSQL on a diff port

$
0
0

Hello all. I am wondering if we can configure a remote SAM poller to look to the SQL DB on a different port than 1433? We are running this in the cloud and I need to connect back to SQL.

Error when installing Orion Agent, "provisioning has failed" error code 0x5 Access is Denied

$
0
0

We have been experiencing issues when trying to deploy the Orion Agent (for SAM use).

 

The following error occurs when the agent deployment fails:

 

"Agent connected to PAS but provisioning has failed, error code [0x5] - Access is denied. : Failed to create certificate"

 

2015-07-14 08_36_49-Store.png

 

The only way to see this error is to remotely connect to the host, launch the Control Panel then view the Orion Agent Settings, and manually enter the connection settings.

In addition to the agent installation failing, the same agent/node consistently keeps on trying to register and displays duplicate entries every few minutes in Manage Agents as shown in the example below:

2015-07-14 08_41_40-Manage Agents.png

How many duplicate entries occur you might ask? About 100 per day. The only way to stop the duplicate entries from showing up in the Manage Agents screen is to remotely connect to the target PC then manually remove the agent software from Programs and Features.

 

Facts:

  • The SolarWinds poller server and each target host on the domain we intend to deploy the agent have the same time/date and are joined to the same AD domain.
  • The credentials used by SolarWinds have local administrator rights to the target PCs and SolarWinds is able to poll the target PCs using WMI without issue.
  • Network communication between the SolarWinds Poller servers and the agents are NOT blocked by any firewall -- SolarWinds is able to PING the target computers.

 

What we have tried:

1) Reboot the PC, same error occurs.

2) Delete the node from SolarWinds, delete the agent from the admin dashboard, then manually reinstall the agent on the PC and manually enter the connection settings. The same issue occurs.

3) Delete the node from SolarWinds, uninstall the agent from the PC, reboot the PC, delete all duplicate agents from the admin dashboard, wait about 5 minutes, then attempt and start all over again.

 

We have now seen this same issue several times. This issue seems to be random because we are able to deploy the agent without any issues to many other computers on our network. But this is now the 5th time we've seen this error over the past month.

 

I'm going to try to add in the agent via SERVER INITIATED mode and see what happens... standby.

Exchange database failover occurred notifications.

$
0
0

How do I trouble shoot false positives for "Exchange database failover occurred"? SolarWinds is seeing that there are Exchange DB fail overs. I can see that the DBs are not failing over. Any suggesitons?


Monitoring Citrix 7.6

$
0
0

Hi,

 

Does anyone know if there are any templates for;

 

 

Citrix Provisioning Services Version 7.6

 

Citrix Farm Controllers Version 7.6
Citrix Director Version 7.6

 

Windows 2008 Server with Citrix Virtual Desktop Agent Version 7.6

 

Thanks!

MySQL (5.7.9 or later) for Linux-Unix

MySQL (5.7.9 or later) for Windows

Server & Application Monitor Master Application Directory

$
0
0
ReleaseApplication Template NameComponents
4.2Active Directory 2003-2008 Services and Counters32
5.0.1Active Directory 2008 R2 Services and Counters29
xActive Directory Replication1
xALERT CENTRAL (GENERAL STATISTIC)12
xALERT CENTRAL (JMX)40
XAIX10
5.0.1AIX LPD3
xAntiVirus Protection1
2.5Apache8
xApache ActiveMQ26
6.0Apache (Remote)8
5.5APC Powerchute Agent (Windows)12
6.2Barracuda Spam and Virus Firewall19
xBarracuda Web Filter15
5.0Bind (Linux)2
5.5Bind (Linux - v9.6 and higher)10
4.2 SP1BizTalk Server 2010 Adapters Performance Counters29
4.2 SP1BizTalk Server 2010 Host Throttling Performance Counters23
4.2 SP1BizTalk Server 2010 Message Box and Orchestrations Performance Counters24
xBIZTALK SERVER 2010 AVAILABILITY STATUS4
6.2BizTalk Server 2010-2013 Availability Status 4
6.2BizTalk Server 2010-2013 Adapters Performance Counters 29
6.2BizTalk Server 2010-2013 Host Throttling Performance Counters 23
6.2BizTalk Server 2010-2013 Message Box and Orchestrations Performance Counters 24
3.0BlackBerry Delivery Confirmation1
3.0Blackberry Enterprise Server14
6.2BlackBerry Enterprise Server 10 Services (Windows)37
6.2BlackBerry Enterprise Server 10 Statistic (SNMP)20
6.3BlackBerry Enterprise Server 12 Services (Windows)33
6.3BlackBerry Enterprise Server 12 Statistics (SNMP)51
xCassandra29
3.0Cisco CallManager16
xCisco Call Manager 10.x21
xCisco Call Manager Express 10.x39
xCisco IronPort (PowerShell)6
xCisco IronPort (SNMP)13
5.5CiscoWorks LAN Management Solution35
1.0CiscoSecure ACS (via SNMP)7
xCitrix License Server11
3.0Citrix XenApp 5.0 Core WMI counters27
3.0Citrix XenApp 5.0 ICA Session WMI counters47
3.0Citrix XenApp 5.0 Presentation Server WMI counters38
3.0Citrix XenApp 5.0 Services23
5.0Citrix XenApp 6.0 Core counters22
5.0Citrix XenApp 6.0 ICA Session43
5.0Citrix XenApp 6.0 Presentation Server40
5.0Citrix XenApp 6.0 Services20
xCitrix XenDesktop (Windows)46
xCitrix XenApp and XenDesktop 7.x (Services)26
xCitrix XenApp and XenDesktop 7.x (Performance Counters)29
xCitrix XenApp and XenDesktop 7.x (Advanced)7
xCitrix XenApp and XenDesktop 7.x (Events)22
6.2**** AV3
5.0.1CUPS8
3.5DHCP User Experience Monitor1
5.5Directory Size Monitor1
5Distributed File System (DFS)24
2.5DNS User Experience1
xDomain Expiration1
2.5Download Speed Monitor1
3.1Errors in Application Event Log1
4.0.2 SP1Exchange 2007 Client Access Role Counters (Advanced)10
4.0.2 SP1Exchange 2007 Edge Transport Role Counters (Advanced)22
4.0.2 SP1Exchange 2007 Hub Transport Role Counters (Advanced)23
4.0.2 SP1Exchange 2007 Mailbox Role Counters (Advanced)24
3.5Exchange 2007 OWA Form Login1
4.0.2 SP1Exchange 2007 Unified Messaging Role Counters (Advanced)3
4.0.2 SP1Exchange 2007-2010 Client Access Role Services and Counters (Basic)10
4.0.2 SP1Exchange 2007-2010 Common Performance Counters9
4.0.2 SP1Exchange 2007-2010 Edge Transport Role Service and Counters (Basic)14
4.0.2 SP1Exchange 2007-2010 Hub Transport Role Service and Counters (Basic)15
4.0.2 SP1Exchange 2007-2010 Mailbox Role Service and Counters (Basic)18
XExchange 2007-2010 Mailbox Send and Receive Statistics with PowerShell10
5.0Exchange 2007-2010 Statistics with PowerShell11
4.0.2 SP1Exchange 2007-2010 Unified Messaging Role Service and Counters (Basic)10
4.0.2 SP1Exchange 2010 Client Access Role Counters (Advanced)11
XExchange 2010 Database Availability Group4
4.0.2 SP1Exchange 2010 Edge Transport Role Counters (Advanced)22
4.0.2 SP1Exchange 2010 Hub Transport Role Counters (Advanced)23
4.0.2 SP1Exchange 2010 Mailbox Role Counters (Advanced)23
5.0Exchange 2010 OWA Form Login (PowerShell)1
xEXCHANGE 2010-2013 OWA FORM LOGIN (POWERSHELL)1
4.0.2 SP1Exchange 2010 Unified Messaging Role Counters (Advanced)12
6.0EXCHANGE 2010 STATISTICS WITH POWERSHELL13
1.0Exchange Server (via SNMP)11
2.0Exchange Server 2000 and 200326
xExchange 2013 Mailbox Role Counters (Advanced).apm-template42
xExchange 2013 Client Access Role Counters (Advanced).apm-template32
xExchange 2013 Mailbox Role Services and Counters (Basic)25
6.2Exchange 2013 Client Access Role38
6.2Exchange 2013 Client Access Role Services and Counters (Basic)14
xExchange 2010-2013 Statistics with PowerShell11
xExchange 2010-2013 Database Availability Group.apm-template17
xExchange 2010-2013 Mailbox Send and Receive Statistics with PowerShell10
6.2Exchange Active Sync Connectivity1
3.0File Age Monitor1
2.5File Change Monitor1
2.5File Count Script1
2.5File Existence Monitor1
5.5File Count Template1
2.5File Size Monitor1
2.5FTP User Experience1
1.0Generic Mail Server4
5.5GlassFish27
5.5GoodLink Server for Microsoft Exchange4
5Group Policy Object (System and Application Logs)27
xHaproxy4
5.0.1Helix Universal Media Server (Linux/Unix)15
5.0.1Helix Universal Media Server (Windows)15
XHP-UX10
2.5HTTP1
2.5HTTP Form Login1
xHTTPS Monitor1
5IBM DB213
5.5IBM DB2 HADR Health6
5.0IBM Informix18
5.5IBM WebSphere (JMX)20
2.5IMAP4 Round Trip Email1
4.0.2 SP3Internet Information Service (IIS) Services and Counters13
xInternet Information Service (IIS) 624
5ISC DHCP Server (Linux)3
xJava Application Server (JMX)28
4.0.2 SP4Java Application Server (SNMP)29
xJava Virtual Machine (JMX)27
5.5JBoss (JMX)6
xJBoss Application Server v4.x27
5.5JD Edwards5
6.2Kaspersky Security Center Antivirus14
6.0KIWI SYSLOG SERVER9
3.0LDAP User Experience Monitor1
xLinux-Unix File Count1
xLinux-Unix Directory Size1
4.0.2 SP2Linux CPU Monitoring Perl9
4.0.2 SP2Linux Disk Monitoring Perl5
xLinux-Unix File Age1
xLinux-Unix File Change1
xLinux-Unix File Existence1
xLinux-Unix File Size1
4.0.2 SP2Linux Memory Monitoring Perl11
4.0.2 SP2Linux Sendmail Monitoring Perl6
4.2 SP1Log Parser (Perl)3
4.2 SP1Log Parser (PowerShell)3
XLotus Domino Server Processes and Network Ports (Linux)16
XLotus Domino Server Processes and Network Ports (Windows)16
5.0Lotus Domino Server Statistics18
2.5MAPI Round Trip Email1
xMcAfee Web Gateway (Linux and Unix)33
XMemcached8
6.2Microsoft DirectAccess 2008 R2 49
6.2Microsoft DirectAccess 2012 51
6.2Microsoft DirectAccess 2012 (Health with PowerShell) 2
MICROSOFT DYNAMICS AX 201222
6.2Microsoft Dynamics CRM 2011 Events11
6.2Microsoft Dynamics CRM 2011 Statistics40
xMicrosoft Dynamics CRM 2011-2013 Events11
xMicrosoft Dynamics CRM 2011-2013 Statistics40
XMicrosoft Dynamics CRM 4.0 Events11
XMicrosoft Dynamics CRM 4.0 Statistics21
XMicrosoft Forefront Endpoint Protection 2010 Client12
XMicrosoft Forefront Endpoint Protection 2010 Server6
5Microsoft Forefront Threat Management Gateway 201034
6.2Microsoft Routing and Remote Access 2008-2012 R221
6.2Microsoft Routing and Remote Access 2008-2012 R2 (Events)9
xMicrosoft Windows Hyper-V Virtual Machine Statistic14
xMicrosoft Windows Hyper-V Server Statistic19
6.0Microsoft Lync Server (Edge Role)32
6.0Microsoft Lync Server (Front-End Role)29
5.0.1Microsoft Lync Server (Mediation Role)10
xMICROSOFT LYNC SERVER 2013 (FRONT-END ROLE)42
xMICROSOFT LYNC SERVER 2013 (EDGE ROLE)32
xMICROSOFT LYNC SERVER 2013 (MEDIATION ROLE)11
XMicrosoft Message Queuing Events14
XMicrosoft Message Queuing Performance20
5Microsoft Network Policy Server Events19
5Microsoft Network Policy Server RADIUS Proxy21
5Microsoft Network Policy Server RADIUS Server20
6.1Microsoft IIS SMTP Server31
xMicrosoft System Center 2012 Endpoint Protection Server7
bMICROSOFT SYSTEM CENTER 2012 ENDPOINT PROTECTION CLIENT12
6.1Microsoft System Center Operations Manager 2012 (Agent)12
6.1Microsoft System Center Configuration Manager 201238
6.1Microsoft System Center Operations Manager 2012 (Management Server)34
XMicrosoft Windows Internet Name Service (WINS) Events7
XMicrosoft Windows Internet Name Service (WINS) Statistic17
5.0.1Microsoft Windows Server 2003 Failover Cluster22
5.0.1Microsoft Windows Server 2008 Failover Cluster32
6.0Microsoft Windows Server 2012 Failover Cluster 39
6.2MICROSOFT WINDOWS SERVER 2012-2012 R2 FAILOVER CLUSTER39
XMongoDB (Linux)9
XMongoDB (Windows)9
5MySQL39
xMySQL Replication (Windows)1
xMySQL Replication (Linux and Unix)1
xMySQL (5.7.9 or later) for Windows41
xMySQL (5.7.9 or later) for Linux-Unix41
4.2Nagios Linux File & Directory Count Script1
xNFS File Share Availability1
xNginx3
5.5Novell GroupWise Message Transfer Agent (Unix)6
5.5Novell GroupWise Post Office Agent (Unix)8
5.5Novell GroupWise Message Transfer Agent (Windows)6
5.5Novell GroupWise Post Office Agent (Windows)8
6.2Office 3656
xOpenLDAP8
xOpenVPN4
6.2Oracle Automatic Storage Management12
4.2Oracle Database17
5.5Oracle WebLogic (JMX)56
xOrion Server28
2.5POP3 Round Trip Email1
5.0.1Postfix9
5PostgreSQL13
5.5Progress Database (Linux & Unix)12
xRabbitMQ (Linux and Unix)10
xRabbitMQ (Windows)10
3.5RADIUS User Experience Monitor1
xRedis6
6.2Remote Desktop Services Licensing9
xSamba12
XServer Clock Drift (Perl)1
XServer Clock Drift (PowerShell)1
3.0SharePoint Server (MOSS) 200718
4.2SharePoint Server 201014
6.0Sharepoint Server 201323
3.0SharePoint Services (WSS) 3.07
XSolaris10
5.0.1Solaris LPD5
6.2SolarWinds Failover Engine18
5.0.1SolarWinds NetFlow Traffic Analyzer31
5.0.1SolarWinds NetFlow Traffic Analyzer Database13
xSolarWinds NetFlow Traffic Analyzer 4.X31
xSolarWinds NetFlow Traffic Analyzer 4.X (Flow Storage)31
XSolarWinds Synthetic End User Monitor (SeUM) Player8
6.2SolarWinds Web Performance Monitor (WPM) Player.apm-template8
1.0SQL Server (via SNMP)3
6.0SQL Server 2005 Analysis Services48
6.0SQL Server 2008 Analysis Services48
6.0SQL Server 2012 Analysis Services48
5.5SQL Server 2012 Performance (SQL)33
5.5SQL Server 2012 Performance (WMI)32
6.2SQL Server 2008-2012 Reporting Services (Events)22
6.2SQL Server 2012 Reporting Services22
6.2SQL Server 2008 R2 Reporting Services29
6.2SQL Server 2008 Reporting Services25
XSquid (Linux and Unix)37
XSquid (Windows)37
5Streaming Media Services 200834
5.5Sybase SQL Anywhere29
5Sybase ASE18
XSymantec Backup Exec Remote Agent5
XSymantec Backup Exec Server37
xSymantec Endpoint Protection Client 12.1.x15
xSymantec Endpoint Protection Server 12.1.x8
XSymantec Endpoint Protection Client14
XSymantec Endpoint Protection Server7
5.5Symantec Netbackup (Client)6
5.5Symantec Netbackup (Server)23
3.5TACACS+ User Experience Monitor1
xTCP Connection State (Solaris)1
xTCP Connection State (Linux and Unix)1
xTCP Connection State (Windows)1
5.5Terminal_Licensing_Server7
3.0Tomcat Server Template8
6.2Trend Micro OfficeScan Client5
6.2Trend Micro OfficeScan Server9
5.5Trend Micro Server Protect (Windows)9
5.5Unidata48
4.0.2 SP2Unix CPU Monitoring Perl11
4.0.2 SP2Unix Disk Monitoring Perl4
4.0.2 SP2Unix Memory Monitoring Perl10
xVarnish Cache17
4.0VMware ESX Host24
6.2VMware vCenter Server 5.519
6.0Veeam Backup and Replication Server9
2.5Web Link1
6.2Websense Web Security28
5.0.1Windows 2003-2008 FTP Service11
5.0.1Windows 2008-2012 R2 FTP Service11
5Windows DHCP Server22
5Windows DNS Server26
1.0Windows DNS Server (via SNMP)2
xWindows File Share Availability1
1.0Windows FTP Server (via WMI)2
5.0.1Windows Network Load Balancing12
3.0Windows Print Services9
5.0.1Windows Remote Desktop Services (Session Host Role)14
6.0Windows Server 2003-2012 Services and Counters13
5Windows Server 2003 Domain Controller Security21
4.0.2 SP3Windows Server 2003-2012 Services and Counters14
5Windows Server 2008-2012 Domain Controller Security21
xWindows Server Certification Authority (Events)14
xWindows Server Certification Authority (Performance)11
5Windows Update Monitoring9

Differential Backups Exchange

$
0
0

Hello we are currently using the AppInsight for Exchange SAM Template. We perform full backups every 7 days and in between perform Differential backups on the db's. Is there a way to tell when each of those differential backups completes. I see there is the date for Incremental but nothing for Differential.

 

DNS User Experience Targets IP 169.254.x.x?

$
0
0

Hi,

 

After deploying DNS User Experience to several servers that have agents running, I'm having issues running DNS User Experience on two of the servers. When I look in the log, I found that the target IP is wrong. These servers are set up with static IPs, the Target IPs listed in the log is a so called a link-local IPv4 address, which I can't find anywhere assigned on these servers and it is certainly not set as the Node IP in SolarWinds.

 

Where does the DNS User Experience monitor retrieve the Target IP from?

 

2016-02-29 10:40:09,700 [STP SmartThreadPool Thread #16] [C(null)] DEBUG SolarWinds.APM.Probes.ApplicationJob - Current process: SWJobEngineSvc2 (PID 6800), job execution mode: Agent

2016-02-29 10:40:09,700 [STP SmartThreadPool Thread #16] [C(null)] DEBUG SolarWinds.APM.Probes.ApplicationJobBase - [x569] Creating thread pool.  Min: 1 Max:2

2016-02-29 10:40:09,700 [STP SmartThreadPool Thread #16] [C(null)] DEBUG SolarWinds.APM.Probes.ApplicationJob - Executing(total executors# 1): SolarWinds.APM.Probes.ProbeExecutors.RegularBatchExecutor, SolarWinds.APM.Probes, Version=6.2.1.2395, Culture=neutral, PublicKeyToken=null

2016-02-29 10:40:09,700 [STP Pool:569 Thread #0] [C1766] DEBUG SolarWinds.APM.Probes.ProbeExecutors.RegularBatchExecutor - [x569] Component 1766 starting (DnsQAProbe) - Regular

2016-02-29 10:40:09,700 [STP Pool:569 Thread #0] [C1766] DEBUG SolarWinds.APM.Probes.ProbeExecutors.RegularBatchExecutor - Component probe starting: JobContext - NodeId: 14, NodeName: ServerName, ApplicationId: 87, ApplicationName: DNS User Experience, ComponentId: 1766, ComponentName: DNS User Experience Monitor, CustomLogEnabled: True

2016-02-29 10:40:09,700 [STP Pool:569 Thread #0] [C1766] DEBUG SolarWinds.APM.Probes.DnsQAProbe - Start DNS lookup.

2016-02-29 10:40:09,700 [STP Pool:569 Thread #0] [C1766] DEBUG SolarWinds.APM.Probes.DnsQAProbe - Name to resolve 'solarwinds.com' detected as domain name

2016-02-29 10:40:09,731 [STP Pool:569 Thread #0] [C1766] DEBUG SolarWinds.APM.Probes.DnsQAProbe - Target's IP address is '169.254.87.35'

2016-02-29 10:40:09,731 [STP Pool:569 Thread #0] [C1766] DEBUG SolarWinds.APM.Probes.DnsQAProbe - Begin lookup of 'solarwinds.com' on '169.254.87.35' DNS server

2016-02-29 10:40:18,310 [STP Pool:569 Thread #0] [C1766] ERROR SolarWinds.APM.Probes.DnsQAProbe - SocketException caught. SocketError: TimedOut

System.Net.Sockets.SocketException (0x80004005): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

   at SolarWinds.Net.Dns.Resolver.UdpTransfer(IPEndPoint server, Byte[] requestMessage)

 

Thanks,

 

Mike

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


Filter Report on SAM application to get Volume usage on Nodes using that application.

$
0
0

Hi,

 

Not sure if this is possible but I was trying to do the following without having to populate a custom field.

 

I have a list of nodes that are all using the same SAM for the application and I wanted to report on the Volume usage on those nodes only using that SAM. I know I can do this by adding a custom field and filter on that but as it's already done on the SAM application can I use that? Otherwise it's revisiting all the nodes again to add the custom field.

 

If I try and report on Volume I don't get the ability to filter on SAM Application.

 

If I report on Application I don't get the Volume for the nodes.

 

Would some SQL code do the trick - not being a SQL person though how would I know which tables/fields to use to filter this in a report?

 

Thanks,

 

Z.

Problem for to enable QoE

$
0
0

Hello guys

the customer have a problem for to enable QoE.

SAM Database data file layout

$
0
0

The database best practise documentation says that SAM should have more than one data file in its database. Our SAM instance currently has only one data file but I would like to add at least few more to get better performance. However what would be best way to spread the tables even in the new data files?

Installing remote SAM Poller to connect to MSSQL on a diff port

$
0
0

Hello all. I am wondering if we can configure a remote SAM poller to look to the SQL DB on a different port than 1433? We are running this in the cloud and I need to connect back to SQL.

Memory utilization doesn't match memory used?

$
0
0

I've created an alert to trigger when Memory Utilization within a VM goes over 70%.  There are two (relevant) lines in the email:

${N=SwisEntity;M=Node.Stats.PercentMemoryUsed} memory used of ${N=SwisEntity;M=Node.Stats.TotalMemory}

Current memory utilization: ${MemoryUtilization}

 

When the alert is triggered, my email contains:

42 % memory used of 12.0 G

Current memory utilization: 71.09 %

 

Is "Memory Utilization" not the same as "Memory Used"?

Viewing all 12281 articles
Browse latest View live


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