Quantcast
Channel: Operations Manager - General forum
Viewing all 11941 articles
Browse latest View live

Resend notification every 15 minutes until acknowledged

$
0
0

So I've followed Automys' excellent guide to setting up SMS notifcation using the Twilio service. What I'd like to do now is repeatedly resend those notifications (for servers that are hard down) every 15 minutes until the offending alert's status is closed or changed to "acknowledged."

I'm thinking the best way to do that is have a scheduled task that fires off every minute, looking for Health Service Heartbeat alerts that are still open and haven't been updated in 15 minutes. At that point, the script would add a blank update to the alert, thus triggering another notification.

I must be missing something, because after I update the alert and run the query again, it's still returning the same alert that was just modified.

#This part finds all the alerts that haven't been updated in 15 minutes or greater and then adds an update to it.

Get-scomAlert -name "Health Service Heartbeat Failure" | Where-Object {($_.LastModified -ge [DateTime]::UTCNow.Addminutes(-15)) -and ($_.ResolutionState -eq 0)} | foreach{$_.Update("")}

#Running this line right after the previous turns up the same results.

Get-scomAlert -name "Health Service Heartbeat Failure" | Where-Object {($_.LastModified -ge [DateTime]::UTCNow.Addminutes(-15)) -and ($_.ResolutionState -eq 0)}


Impact of collecting full request response body in Web Application Transaction Monitoring

$
0
0

 Hi experts,

    I'd like to verify one thing with you, as there are very fer resources to look this up. I received a request from the customer, for whom I'm currently monitoring 74 URLs via WATM on my SCOM infrastructure. He wants me to always collect full request response body. My question is - do you know where is this data stored (I guess DW DB) and what would be a potential impact on the infrastructure. Is collecting the full response body not going to overload database with data taking into account some of the web pages are few MBs big and they are polled every 15 minutes? How many responses will be stored before they get overwritten with the new ones? Is there any way to change this setting (ex to one day only)?

Agent push freezes up

$
0
0

Hello

In my environment there is a RMS and 30 Management servers in other sites reporting to RMS and all 3 databases (SCOM,Reporting,ACS) placed on RMS. 

In first 20 MS installations every thing was fine and agents pushed successfully but after the 20th one, an error on SQL size happened. I have T-shoot the error by extending the database size. the problem resolved but still all management servers after 20th one freezes up during agent push and stucks there. all 30 management servers are known in RMS without any specific error. 

What should I check now?

Thanks in advance



Network Node Cold/Warm Start Alerts Not Working

$
0
0

Hi All,

We have recently deployed OpsMgr 2012 R2 and migrated monitoring of network devices to it.  One scenario that the network admins want to be alerted on (even if only be email) is when a switch or router randomly reboots itself.

In our previous OpsMgr 2007 R2 environment I had employed the xSNMP Management Pack which had a specific rule named xSNMP Device Rebooted or something similar.  I seem to recall that it worked by probing the SystUptime OID every 10 minutes and if the value returned was less than 9000 milliseconds (i.e. 9 minutes) then an alert would be sent.  I believe there was also a Trap based equivalent for when the device itself issued a reboot trap.

In OpsMgr 2012 I can see that Rules exist under the Node target class for "Trap Received (Warm Start)" and "Trap Received (Cold Start)" and these are enabled by default.  However when we tried rebooting a test device no alert was seen iun the console much less sent as a notification.  The OID to listen for in the ""Trap Received (Warm Start)" rule is .1.3.6.1.6.3.1.1.5.2 while the OID for the Cold Start rule is .1.3.6.1.6.3.1.1.5.1 and a web search of these confirms that they are indeed the appropriate SNMPv2-MIB Trap notifications for Cold Start and Warm Start.  I assume therefore, that any modern network device that supports SNMP would support the standard SNMPv2-MIB set of notifications. When I asked our network admins to check if cold/warm start events are in the list of SNMP Trap events being forwarded on this device they confirmed that this is the case.  Perhaps, however, they are not derived from the SNMPv2-MIB set but from some vendor specific equivalent that therefore changes the OID string?  I need to have this checked as it would explain why no alert was generated since no match was made with the received trap from the device.  If it turns-out that the actual cold/warm start OID used by our devices is indeed vendor specific and not that of the SNMPv2-MIB, is it possible to add the correct OID into the Data Source configuration of each rule to increase the list of OIDs that the rule will check and potentially match against?  From what I can see it appears that the setting for the OID to match against allows adding another OID string though I have not actually tried it to verify if it will let me do this and apply it or just complain that this is not a supported action (since the rule is from a sealed MP).  The reason I have not tried this is that I have not yet identified a suitable vendor specific OID (if it even is in play) to use but that will be my next point of research.

Another thing I note is that in the Configuration tab of these two rules I am not able to view the settings for the Responses (i.e. alerts) so I cannot confirm whether this Rule is set to generate an alert, though given the fact that I am not able to view much less modify the Responses settings it seems crazy that such Rules would be created and NOT have generation of alerts to the console or notification channels set.  When I then try to examine the list of possible overrides in case alert generation for these Rules is not enabled by default I find that only one override exists for simply enabling or disabling the rule.

My question then, is how do we get the "Trap Received (Warm Start)" and "Trap Received (Cold Start)" to generate alerts?

Any feedback on other people's experience with getting these two rules to work would be appreciated.  Our aim is to not create custom rules where possible especially given that rules already exist that appear to match our requirements.  We just need to understand their behaviour and how we can leverage them.

Kind Regards,

Michael

SCOM 2012 R discovering MSMQ issue

$
0
0

Hi,

I get message on the client Windows Server 2012 standard message 

DiscoverMSMQServer 6_2 86.vbs : 
Calling MP Element ID: {D37B4362-18D4-792B-9A32-241FDD0D0702}
MSMQ found but not supported version.
Version found: 6.2.9200

I have management packs for 2008 R2 MSMQ, 6,0 MSMQ, 6,3 MSMQ 

but that server as msmq server is not discovered, can somebody has the idea wht 6.0 management pack refuses to discover 2012 server MSMQ role?


Alert Description Contains Chinese and Japanese Characters which appear in console but in email notifications it shows as questions marks - SCOM 2012 R2

$
0
0
Hello,

I am having an issue where we monitor Windows servers which have Chinese and Japanese language packs installed. Whenever we receive alerts from these servers the alerts description column contains Chinese or Japanese characters based on the package installed. The alerts in console shows these other language characters but email notifications always displays them as question marks. Anybody encountered into same situation or issue ? any suggestion or solution available to fix this issue ?

Thanks and Regards,
Raju.

SCOM 2012 R2 email notification

$
0
0

Hi i have configured SCOM to send email notifications of various active directory activities like User creation deletion, GPO creation deletion by using MP rules available in scom. User creation and Deletion notifications are fine and understandable, but in case of GPO creation and Modification it doesnt shows GPO name, insttead it shows GPO ID. please see the following content

Alert: A Group Policy Object (GPO) has been Created

Source: XXXX01

Path: XXXX.XXX.com;XXX01

Last modified by: System

Last modified time: 6/7/2015 2:30:13 PM

Alert description: Event Description: A directory service object was created.

               

Subject:

                Security ID:                         XXXX\admin

                Account Name:                 admin

                Account Domain:                             XXXX

                Logon ID:                             0xe3ed59

               

Directory Service:

                Name:  XXXX.com

                Type:     %%14676

               

Object:

                DN:        CN={59105DC0-ADA3-4F16-8024-EF52C239C042},CN=Policies,CN=System,DC=XXXX,DC=com

                GUID:    CN={59105DC0-ADA3-4F16-8024-EF52C239C042},CN=Policies,CN=System,DC=XXXX,DC=com

                Class:     groupPolicyContainer

               

Operation:

                Correlation ID:   {8504FBB5-AA1E-4327-BB14-32A8CEEAFFAE}

                Application Correlation ID:           -

In order for the GPO to be applied it must be linked to one or more objects. That event will be reported in a separate alert.

Is it possible to show user friendly name of GPO???

Adding alert type (Monitor/Rule) to alerts view

$
0
0

Hello all,

I was wondering if there is a way to add column "Alert Type (monitor or rule)" to the personalize view of "Alert" (Monitoring TAB).

I want to visually see what alert came from monitor or rule.

Anybody?

Thanks


TechNet


Unable to Register to Advisor Service

$
0
0

Hi Guys

I have SCOM 2012 R2 installed and recently decided to have Syste Centre Advisor configured.

In SCOM i go ro Advisor Connect and click on Register to Advisor Service, i enter in all the relevant details but when click on finish i get the following error: Error 2200: Unable to register to Advisro Server.Please contact the system Administrator.

I can acces Advisor fine via the web browser but when i try to connect it to Operation Manager i get the above error.

I have checks and my firewall allows for the relevant Ports to be opened. Can anyone please advise me on where i am going wrong?

Regards

Adrian


Diagram Service (Server-Network)

$
0
0
Hi.

I already discovery windows server and cisco network.

How can i create diagram view (service model) with view link between server and port of cisco?

For example: I want to view mail service=all of exchange server, server equipment (like switch/port, storage, SAN etc).

Where i can read about this?

Thanks.

An object of type MonitoringClass with Id 1a9387f0-6fe5-5527-a2cb-73f2f6be6bc7 was not found

$
0
0

Hi,

we are using a network management tool, we have an option to the register the SCOM server in our application.

During the registeration process we are sending out a request to SCOM server and in return instance we are getting this below error.


Microsoft.EnterpriseManagement.Common.ObjectNotFoundException:An object of type MonitoringClass with Id 1a9387f0-6fe5-5527-a2cb-73f2f6be6bc7 was not found.
at Microsoft.EnterpriseManagement.Configuration.TypeSpaceCache.GetType[T](Guid managementPackObjectId, Dictionary`2 objectIdMap)   
at Microsoft.EnterpriseManagement.Configuration.TypeSpaceCache.GetMonitoringClass(Guid managedTypeId)   
at Microsoft.EnterpriseManagement.ManagementGroup.GetMonitoringClass(Guid id)   
at Microsoft.EnterpriseManagement.Administration.ManagementGroupAdministration.GetRootManagementServer()   
[ below 2 lines and classes are our customized codes call the Microsoft methods ]
at scomregistration.Program.GetSCOMVersion(ManagementGroup mg)   
at scomregistration.Program.Main(String[] args)

This is the c# code we are using to invoke the Microsoft method, trying to get the SCOM version 

private static void GetSCOMVersion(ManagementGroup mg)
        {
            /**
             * Get the SCOM Server version.
             */
            ManagementGroupAdministration mga = mg.GetAdministration();
            Console.WriteLine(mga.GetRootManagementServer().Version.ToString());
        }

Scom version is 2012  

This is observed in two of our customer environments, when we try to register the same in our local lab its working fine. someone please help us, what could be the one causing this issue

Thanks in advance.



Network switches are not discoverable through scom 2007 r2

$
0
0

Hi,

We tried to discover a network switch from Network monitoring through SCOM 2007 R2. But the switch was not discovered. Could anyone please help me with the pre-requisites?

Kind Regards,

Vinay

SCOM error log monitoring

$
0
0

Hi Guys,

I'm struggling to get scripted monitor to work. It needs to look for specific error logs on sql db. When running a query against db you do get errors but once a full script is used it won't work. ["SELECT * from ErrorLog where (NotificationCode IN('XXX','XXX') and (DATEDIFF(dd,serverdatetime,GETDATE()) = 0))"]

Script needs to look for specific errors every morning at 9am and if there are errors and alert gets triggered

See script below used:

Dim FSO,oArgs,oAPI, sfolder, oBag
On Error Resume Next
Set oAPI = CreateObject("MOM.ScriptAPI")
Set FSO= CreateObject("Scripting.FileSystemObject")
Set oArgs = WScript.Arguments
Set oBag = oAPI.CreatePropertyBag()

'Collect data from the arguments
strSQLServer = "XXX\SQL"
strSQLDB = "XXXX"
        
'strConnection = "Driver={SQL Server};Server=" & SQLServer & ";Database=" & SQLDB & ";UID=" & SQLUser & ";PWD=" & SQLPass
strConnection = "Provider=SQLOLEDB.1;" & _
        "Data Source=" & strSQLServer & ";" & _
        "Initial Catalog=" & strSQLDB & ";" & _
    "Trusted_Connection=yes;" & _
    "Persist Security Info=TRUE;" & _
        "Integrated Security=SSPI"


'wscript.echo "Before connect: " & strConnection

Set objCN = CreateObject("ADODB.Connection")
objCN.Open strConnection

'strSQLQuery = "select Count(*) from batchjob"
strSQLQuery = "SELECT * from ErrorLog where (NotificationCode IN('XXX','XXX') and (DATEDIFF(dd,serverdatetime,GETDATE()) = 0))"

Set strResult = objCN.Execute(strSQLQuery)
if err.number > 0 Then
'Wscript.echo "BAD"
Call oBag.AddValue("Status", "BAD")
Else
'Wscript.echo "GOOD"
Call oBag.AddValue("Status", "GOOD")
End If

Call oAPI.Return(oBag)

Your assistance will greatly appreciated,been struggling with this over a month already

Thanks,

Xolani

High DPI Support?

$
0
0

All developer desktops are now running 4k monitors.

Unfortunately SCOM is not high DPI aware.

Are there any plans to fix this? An example is the Reports Module.

Attempting to use 'Add Object' gives grids that have lost their headings, making it impossible to sort them.

As the Add Object does not allow filtering on all columns, this is the only mechanism I have to find the server I am looking for.


How process nested configuration files in C#

$
0
0

Hi All, How are you?

I am trying to write a C# code to read a application configuration file in order to setup all parameters to create a URL Monitoring on SCOM through SCOM's SDK.

Therefore, I am trying to read a application configuration file that follows the structure bellow :

<?xml version="1.0" encoding="utf-8" ?><configuration><configSections><section name="managementPacks" type="URLMonitoringTestXml.ManagementPackSection, URLMonitoringTestXml" /></configSections><managementPacks><managementPack key="Name1"><add key="key1" value="value1" /><add key="key2" value="value2" /></managementPack><managementPack key="Name2"><add key="key1" value="value3" /><add key="key2" value="value4" /></managementPack></managementPacks></configuration>

In order to do so, I have read several tutorials on how to create a custom application config file. 


And I have written the code bellow:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Xml;
using System.Collections;

namespace URLMonitoringTestXml
{

    class ManagementPackSection : ConfigurationSection
    {
        [ConfigurationProperty("managementPack", IsDefaultCollection = false)]
        [ConfigurationCollection(typeof(ManagementPackAddElementCollection),
            AddItemName = "add")]
        public ManagementPackAddElementCollection properties
        {
            get
            {
                return (ManagementPackAddElementCollection)base["managementPack"];
            }
        }
    }

    // Define the "add" element
    // with "key" and "value" attributes.
    public class ManagementPackAddElement : ConfigurationElement
    {

        public ManagementPackAddElement(String key, String name)
        {
            this.Key = key;
            this.Value = name;
        }

        public ManagementPackAddElement()
        {
            this.Key = "";
            this.Value = "";
        }

        [ConfigurationProperty("key", IsRequired = true)]
        [StringValidator(InvalidCharacters = "~!@#$%^&*()[]{}/;'\"|\\")]
        public String Key
        {
            get
            {
                return (String)this["key"];
            }
            set
            {
                this["key"] = value;
            }
        }

        [ConfigurationProperty("value", DefaultValue = "", IsRequired = true)]
        [StringValidator(InvalidCharacters = "~!@#$%^&*()[]{}/'\"|\\")]
        public String Value
        {
            get
            { return (String)this["value"]; }
            set
            { this["value"] = value; }
        }
    }

    //define ManagementPackAddElement Collection
    public class ManagementPackAddElementCollection : ConfigurationElementCollection
    {
        public ManagementPackAddElement this[int index]
        {
            get
            {
                return base.BaseGet(index) as ManagementPackAddElement;
            }
            set
            {
                if (base.BaseGet(index) != null)
                {
                    base.BaseRemoveAt(index);
                }
                this.BaseAdd(index, value);
            }
        }
        protected
            override System.Configuration.ConfigurationElement CreateNewElement()
        {
            return new ManagementPackAddElement();
        }

        protected override object GetElementKey(
            System.Configuration.ConfigurationElement element)
        {
            return ((ManagementPackAddElement)element).Key;
        }

        public void Add(ConfigurationElement element)
        {
            BaseAdd(element);
        }

        public void Clear()
        {
            BaseClear();
        }
    }
}

So, I could not figure out how to adapt the code above to handle nested configuration elements ( I mean,  managementPacks elements can have several managementPack children, and each managementPack has its parameters as children ).

Please, May someone help me?

I appreciate any help you can give me,

Rodrigo




SCOM Alert for CPU utilization

$
0
0

Hi,

I have an issue related to one of the windows agent server having high cpu utilization. utilization is almost 95% to 100% and this happend  for nearly 4 hours. The issue was reported on June 1st 2015. We have notice that, there was not such alert being triggred in SCOM for Total CPU Utilization Percentage. I have checked this by pulling the cpu utlization report and found that, the cpu is almost 100% utilization. After that I tried to pull the report related for Alerts from reporting tab. But I didnt find any alerts related to high cpu utilization. The threshould value set is 95% for cpu.

Here we are using SCOM 2012 SP1.  I need to find the root cause of this issue, why the alerts was not getting triggred during that period. Could someone please assist me to do so.

Apart from that I have checked the health explorer also. Agent is healthy from May 4th  2015 onwards


Regards, Rajeev Parambil

Alert on Aged Alerts

$
0
0

Hi Folks,

We have SCOM 2012 R2, I am wondering if notification on aged alerts is possible. For example we get alert on low disk space, then nobody looks into it for x-hours, then another notification is being sent out. I would appreciate if some one can guide how this could be done.

Regards,

Nav


Regards, Navdeep [a.k.a v-2nas]

How to get Information From custom CMDLET and show them in the status view?

$
0
0

Hi !

Environment Intro: machine A (Windows server 2012, DC, SCOM 2012 SP1)

   machine B(Windows server 2012, Joined the doamin hosted by the machine A , Storage Information provider)

In my company, our team try to get some information(Actually some storage information) from a custom cmdlet(machine B) , and show them on the scom console (machine A). The custom cmdlet is registered in the  machine B and works well. Now, i could run this custom cmdlet with powershell on  machine B and it can print the information i want(such as storage name, capacity ,etc.) 

The question is: how could i show the information on scom console with status view on machine A ? 

Performance view is blank for one server

$
0
0

Good day everyone. Already wrote about similar problem with SQL, now I'm getting the same strange thing with system counters. The plot:

We're having SCOM 2012 R2 UR6. I've created a dashboard with a performance object widget. Narrow view to a group of four servers, select counter "Network Adapter" and select All counters. After I press "Finish" I see all counters, except one server. Just three of them. Ok. I've cleared widget, and recreated it , narrowing scope only to this missing server. Added the same counter (I can see the list of network adapters), click All - and I get blank view. Without axes, grid or smth else. Just white screen in performance object widget.

Tried to reinstall agent on server - no result. SCOM shows that server is healthy. No errors in event viewer on monitored server. Act as proxy enabled. Other counters for this server (CPU usage, memory, some SQL counters) are working without problem.

notifications of alerts does not respect the schedule subscription for Web Application only

$
0
0

Hi, 

we do not understand why the alerts do not respect the schedule notification only for the web application (Page error and eg response time) For all other alerts, that respects the schedule. Is there a way to solve this?

Viewing all 11941 articles
Browse latest View live