SQL MP 6.3.173.0 SPN monitor

There is a new SPN monitor in 6.3.173, but it's throwing tons of false positives for us. Is anyone else seeing false positives for the monitor called "Service Principal Name Configuration Status" ?
"Fear disturbs your concentration"

Hi,
the MP is a bit "BLIND" here.....
it looks for the right SPNs but is unable to detect that a SQL-Server which runs as NT AUTHORITY\NETWORKSERVICE is the right one for SPN FQDN.
So it sees 2 different names and complains. When SQL runs as Domain Account this logic runs perfect but for Local System and Networkservice the Script just makes shit....
Disable the rule for those SQL-Servers until they fix it in a newer MP-Verison.
Greetings
Joerg
I'm still seeing this issue as of SCOM2012R2, UR2, SQL MP 6.4.1.0. The machines that are getting the error do indeed have an SPN set (and query able) - but the common denominator is that they are running as Local System. Can we confirm this is still a bug?
GetSQL2008SPNState.vbs : The Query 'SELECT ProtocolName FROM ServerNetworkProtocol where Enabled = true and InstanceName = 'MSSQLSERVER'' did not return any valid instances.  Please check to see if this is a valid WMI Query.. Invalid class"

Similar Messages

  • Some of the SQL Server 2012 are not getting monitored in SCOM 2012 SP1.( basics monitoring is happening, expect SQL role)

    Found that all the SQL servers are getting monitored, expect few servers which are having SQL server 2012 role.
    proxy is enabled for these servers, when I checked discovered inventory for SQL 2012 database unable to find these servers in that list.
    and other servers having SQL Server 2012 monitoring properly issue is with only few servers.

    Hi,
    thanks for the all the input, we are using service account as windows account instead of action account !!
    will that also affect discovery of SQL role?
    and also found that there are many alerts in SCOM console, with alert description :
    SQL Server cannot authenticate using Kerberos because the Service Principal Name
    (SPN) is missing, misplaced, or duplicated.
    please let me know how we can resolve this issue, will it affect SQL discovery as well ?

  • SQL Management Pack Agent Job Unit Monitors

    I am trying to utilize the SQL Agent Job Monitors included with the SQL Management Pack (page 81 of the MP guide), particularly the "Last Run Status" monitor. I have set an Override for "Generate Alerts" to True. The goal
    is to have an email notification sent when any SQL Agent job fails on a specific group of computers. However, I am not familiar enough with what "Last Run Status" is actually monitoring and if it will do what I am looking for. Does this monitor
    check the job status of any agent job on the target group? I tried setting up a job for it to fail, which it does fail, but it does not generate an alert. Any suggestions appreciated. Thanks.

    1) For monitoring SQL server job status, you can refer to the following blog
    http://blogs.technet.com/b/kevinholman/archive/2011/08/05/how-to-monitor-sql-agent-jobs-using-the-sql-management-pack-and-opsmgr.aspx
    2) For troubleshoot: Make sure that your SQL agent job is discovered, you may find the discovered job under Microsoft SQL Server --> SQL Agent --> SQL agent job status. By default, the discovery is disabled and you should enabled the discovery by using
    override.
    Roger
    Thanks. So I enabled Agent Job discovery for the systems that I want. It discovered those objects. Now, I still cannot get the alerting to work. I can see the Health State of the job change to a Warning, indicating "Last Run Status" equals Failed, but
    it is not generating an alert. I set Overrides (Generates Alert = True) on a Group that included one of the job objects, nothing. I also set the same Override directly on the job object and I still do not receive an alert. Any ideas? I
    noticed someone in the comments mentioned in the blog you linked, a similar issue, except with the Job Duration monitor. However, he was able to get alerts to generate by setting the Override directly on the Job object and noted that it is not a
    feasible solution due to the number of jobs he wants to monitor. Again, I tried the same, but still could not get alerts. That solution would not be acceptable for me either because of the number of jobs that I would have to set individual Overrides for.

  • SQL Server Plugin - Remote Connections to Monitor Targets

    Hi,
    We have OEM 10.2.0.4.0 on MS Windows Server 2003 Service Pack 1. Trying to configure SQL Server Plugin Release 6 (microsoft_sqlserver_database version 3.2.3.1.0). No issues monitoring SQL Server 2005 SP2 installed on same box the Grid. Next test - monitoring SQL Server 2005 SP2 installed on a remote box H2UA62218F7.ad2.prod, tcpip port 4334. On "Add Microsoft SQL Server" screen:
    Add Microsoft SQL Server
    Properties
    * Name
    Type Microsoft SQL Server
    Name                                                          Value
    JDBC URL (Example : jdbc:sqlserver://<host>:<port>)           jdbs:sqlserver://H2UA62218F7.ad2.prod:4334
    JDBC Driver (Optional)                                        com.microsoft.sqlserver.jdbc.SQLServerDriver
    Database Username                                             sa
    Password of Database User                                     sa_password
    System Username (Needed when SQLServer is at remote location) domain_user_with_admin_privs_to_sql_server_box
    System Password (Needed when SQLServer is at remote location) domain_user_password
    Role (Optional)
    The following errors are returned when testing connection:
    MSSQLInstance_TestMetric_DynamicProperty - Failed to connect, reason : No suitable driver
    MSSQLExistence_TestMetric - Missing Properties : [STDINWBEM_HOST,servername_from_jdbc]
    OSType_TargetHost_DynamicProperty - Missing Properties : [STDINWBEM_HOST] <br>
    <br>
    Event Viewer on remote box does not show any login attempts. I am confused why it can not find same jdbs driver it finds to monitor local SQL Server 2005 instance? It should look in same %Agent_Home%\sysman\config\classpath.lst and should see same entry C:\OracleHomes\agent10g\sysman\jdbcdriver\sqljdbc_1.2\enu\sqljdbc.jar. Any thoughts?
    <br>
    <br>
    Thanks,
    <br>
    <br>
    SY.

    Metric "Space Available %" in Metric and Policy Setting page has default warning threshold of 20% and critical threshold of 10%. You can change this, as required.

  • SQL MP Job Last Run Status Monitor doesn't alert

    Hi Guys,
    Last run Status Monitor in SQL MP that checks the last run status of agent jobs and generates alerts is not generating any alerts in SCOM. Although we had overrided the monitor to trigger the alerts.
    Jobs are discovered under SQL agent Job state view and state changes to warning as well but no alerts at all.
    Please guide.
    Regards,
    Daya Ram

    Hi!
    Enable "Generates Alert" by override.
    Set "Alert On State" to "The monitor is in a warning health state" by override.
    Optionally change the "Alert severity" so that it matches the health state.
    Set "Auto-Resolve Alert" to true by override.
    Cheers,
    Patrick
    Please remember to click “Mark as Answer” on the post that helped you.
    Patrick Seidl (System Center and Private Cloud)
    Website: http://www.syliance.com
    Blog: http://www.systemcenterrocks.com

  • SQL MP 6.5.1.0 Monitoring Replication Publications and Susbscriptions

    I am setting SQL replication monitoring and the discoveries are going well. However, the Publications and Subscriptions are showing "Not Monitored". I have enabled every discovery and performance rule I can find. I haven't found any monitors for
    either objects. How can I tell when these go bad?
    Thanks,
    John

    You may refer to Cameron Fuler blog
    http://blogs.catapultsystems.com/cfuller/archive/2010/11/10/enabling-sql-replication-monitoring-%E2%80%93-what-to-expect-in-the-replication-views-in-opsmgr.aspx
    Roger

  • SQL Server 2012 AlwaysON Monitoring using SCOM

    Team,
    We have SCOM deployed and is serving as a monitoring solution for our SQL Estate. However I want some pointers to monitor the health of DBs within Avaialibility Group like DB Sync, log queue etc. Please direct me with the AlwaysOn health parameters that
    can be monitored by SCOM. 
    I have confirmed with SCOM admin that we have the latest management pack installed for SQL 2012 and currently its getting monitored. However we are not seeing any alerts though.
    Your inputs are highly appreciated.
    Regards,
    Sharath

    The below link might be useful
    http://blog.islamgomaa.com/?p=273
    http://thoughtsonopsmgr.blogspot.com/2012/04/updated-mp-sql-server-monitoring-mp.html
    --Prashanth

  • Monitor SQL in real-time?

    Greetings, everyone.
    I am new to SQL Developer and I am trying to find a way to monitor what SQL statements are executing in a real time fashion. Sorta like a SQL profiler. Thanks.

    Select Tools - Monitor Sessions from the menu and select a connection to run it against.
    You can specify a refresh interval by clicking on the drop down list next to Refresh in the toolbar.
    If you select a session, current information about that session is displayed in 1 of 6 tabs in the bottom half of the window. One of these is current SQL.
    You can also specify a refresh interval for the sub-report.
    If you want a view of all sql across sessions, try one of the Top SQL reports Under data dictionary reports, database administration, top sql.

  • Service Manager 2012 Agentless Monitoring and SQL Servers More secure distribution

    Having both SCSM 2012 and 2012 in my network, I want to monitor the all using a single account which is securely distributed. The problem is agentless monitored servers does not appear in the "more secure" list.
    My Scenario:
    I have scsm 2012 installed with the following condition:
    SCSM Main DB -> Monitored with Agent (not a management server)
    SCSM Data Warehouse -> Agentless monitored
    SCSM Workflow and other Management Servers -> Agentless Monitored
    Some Test SCSM 2012 Servers with SQL on the same machine -> Agentless Monitored
    Some Test and Operational SCSM 2012 Servers -> Agentless Monitored
    I want to use a single account to monitor them all, I have set the "Service Manager Database Account" profile (yet to understand why Service Manager Database
    Account is actually a Profile!) and in the underlying account set the distribution to "more secure" . As stated above, I have many servers with the SQL running on the management serves and I cannot
    configure them in the SQL account.
    Is my scenario wrong?
    Thanks
    YSobhdel

    It seems the SQL MP is monitoring the database on agentless managed computers without my permission!
    All my agentless managed computers are using the default action account to monitor the SQL!
    Any explanation why is that so?
    Thanks
    YSobhdel

  • Blocking Locks monitoring in 12c cloud control

    Ours is a 11.2 4 node RAC environment, and to check for blocking locks i run a sql script. I want to monitor the blocking locks in the system and if there are any locks for more than say 10 minutes then send out a mail to a group to look into it.
    We have 12c cloud control setup, my question is if there is a way to setup alerting/monitoring via 12c for checking blocking locks on all nodes and send out email notifications if there are any. I am not much familiar with 12c, please let me know and if its possible let me know the steps to set it up.

    Resolved by removing and re-adding the target...

  • Misbehaving Custom Timed Script 3-State Monitor

    I am stumped for an action plan to resolve this issue and would gladly appreciate any possible help!!!
    Issue:
    Monitor has generated an alert with Resolution State=New when Healthy Expression is true and then later (without any configuration changes) another alert with Resolution State=New is generated when Unhealthy Expression is true.
    Last night/this morning, I saw both of the following generated as notifications:
    Last modified time: 2/10/2014 10:11:37 PM Alert description: Queue has a length of 4175 and has exceeded a threshold value of 3,500
    Last modified time: 2/11/2014 9:11:37 AM Alert description: Queue has a length of 770 and has exceeded a threshold value of 3,500
    Similarly created monitors which target other databases using different SQL scripts seem to behave properly.
    Assessment:
    Monitor targets SQL database object with Performance parent monitor, runs every 15 min and runs a SQL query to generate an integer value which is assigned to "PerfValue".
    Unhealthy expression is Property[@Name='PerfValue'] greater than or equal to 3500
    Degraded expression is Property[@Name='PerfValue'] equals 'unknown'
    Healthy expression is Property[@Name='PerfValue'] less than 3500
    Alert description is
    Queue has a length of $Data/Context/Property[@Name='PerfValue']$ and has exceeded a threshold value of 3,500
    Health is configured as follows:
    Health condition:Healthy = Operational State:Healthy = Health State:Healthy
    Health condition:Degarded = Operational State:Degraded = Health State:Warning
    Health condition:Unhealthy = Operational State:Unhealthy = Health State:Critical
    Generates alerts is enabled and Auto resolve is also enabled.
    Ideas? Thanks in advance!!

    Thanks for the response Markus.
    The string was provided by my predecessor as a type of placeholder value in case the client determined a threshold value for a Warning state.  You are correct that it doesn't make sense to mix type.
    Root cause has been identified and I am in the process of implementing it.
    The reference article that identified root cause is here:
    http://blogs.technet.com/b/jimmyharper/archive/2009/10/01/using-integers-and-other-non-string-data-types-in-rules-and-monitors.aspx
    For some unknown reason, this issue impacted only 2 of the ~10 new monitors that I setup within the same MP.  It would be great to know what particular action or detail caused this.  It seems I may need to regularly inspect the exported xml after
    any monitor changes.
    It is too bad the new monitor wizard does not provide a warning during monitor setup of unexpected results if a numerical operator is selected for a value type that it knows is a string.  This is especially true when using the Script-based monitor
    which I understand to always expect a returned integer value. Or it should show in the GUI what the actual data type it has assigned is.
    Thanks again for your interest and taking time to respond!

  • SQL Statement not allowed

    I am using the sender jdbc sender adapter.
    I had given the SQL Query:
    EXECUTE xyz;
    i am getting SQL Exception.
    SQL Statement not allowed in adapter monitoring.
    Gaurav

    Hi,
    Which database you are using ?
    Are you executing the Stored Procedure ?
    check out this for the syntax etc-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Regards,
    Moorthy

  • Only on tempfile used during sql sorts

    environment : Entreprise 92010/W2K
    My temp tablespace (locally managed and temporary) has 3 tempfile, each with autoextend and maxsize limit.
    When i create an index on a big table, my 3 tempfile are used.
    But when a big sort occurs during a sql statement, only one tempfile is used and i get an ora-1652.
    Why all tempfiles are not used during sorts statements (union, max...) ?
    This behavior can be easily tested :
    - create a new temp ts with 3 small tempfile, autoextend on but very small maxsize
    - alter the user who will do the sorts
    - log on as user altered
    - create an index on a big table => the 3 tempfiles will grow
    - execute a query (max, min, union ,distinct...) => only one tempfile is used.
    SQL sort always done in only one file or bug ?
    Jean-Fran�ois L�guillier

    The 3 tempfile belong to the same ts.
    This ts is the temporary ts for my user which executes the sort sql statement.
    During execution, i monitor size of the 3 files (from v$tempfile) : only one was used during query and when it reached maxsize, i got ora 1652 but fres space were available in the 2 others tempfile.
    When i create a big index, i see changes in bytes for all tempfiles (in v$tempfile).
    One of my customer has same problem. He added tempfile to his temp ts but sort statement failed again.
    I tested this behavior with 92010/EE with W2K.
    I think it's a bug but nothing appears in patchset 9204.

  • SQL server Analysis Windows service Alerts on cluster nodes

    Hi,
    I was wondering if others may be experiencing the same issue with the SQL Server MP.
    We are monitoring SQL server Analysis Service using monitor SQL Server Analysis Service Windows Service.
    We had overrided “Alert only if service startup type is automatic”
    option to false.
    It will create the false alerts from the other nodes in the cluster on which service is not running, but since it's in clustered configuration, it should not generate alerts from other node as it's running on another node on the same cluster.
    Please share if anyone has been through this issue and any remediation for this kind of issue.
    Regards,
    Daya Ram

    Hi,
    Here is a similar thread for your reference, in the thread, this issue has been confirmed as bug, and the poster provided a work arround for it, please try the work around:
    Problem with the discovery of clustered SQL Server Analysis Services objects
    http://social.technet.microsoft.com/Forums/en-US/ead946fd-38d1-4627-b60d-a5645d3627fb/problem-with-the-discovery-of-clustered-sql-server-analysis-services-objects?forum=operationsmanagergeneral
    Hope this helps.
    Regards,
    Yan Li
    Regards, Yan Li

  • JProgressBar - monitoring progress of a method in another Object.

    Hi all,
    I've been three days trying to make a JProgressBar work. I know how to use them but not in this case. I'll try to explain the code instead of making you read it.
    -I have a JProgressBar in a JDialog.
    -In the constructor of this class I create a new instance of a Object, call it Processor for example, and i run a method start() on it.
    -This method execute a number of SQL statment and i want to monitor them in the JProgressBar.
    I've followed the official tutorial but it doesnt work for me, I have no idea how to do it beacause i don't know how to refresh the Task process property from outside the doInBackgroundMethod. I also tried to create 2 SwingWorker, run the Processor.run() in one of them, an in run() update a "satic int progress" in each iteration, then from the other SwingWorker i check the Procesor.progress to invoke the setProgress() method.
    I have realised that when debugging sometime it works, so i supposed is something about concurrency, I don't know, please help.
    Thank you in advanced.

    the processor is a runnable, right? then:
    MyDialog extends JDialog{
    private final JProgressBar progressBar= new JProgressBar()
    MyDialog(){...}
    private void init(){
    new SwingWorker<Void,Object>(){
    public Void doInBackground(){
    String sql1=...
    Object o = execute sql1
    publish(o);
    ... do the same with other sql queries
    return null;
    public void process(List<Object> chunks){
    //update progressbar
    //this method will be called using coalescence, so maybe you execute 3 queries, and this method gets called just once, and in this case 'chunks.size()==3'
    public void done(){
    //make sure that the progress is complete, the last chunks may have not been processed through process() method
    progressBar.setValue(100%) // I dont remember the syntax for this
    Edited by: thrawnkb on Jun 3, 2009 3:36 PM

Maybe you are looking for