Create multiple management packs and groups

Hi,
I wonder if it is a way to create a lots of Groups and management packs automatically/scripted.
My problem is that I have a list with about 200 services that I need to setup monitoring for.
The monitoring are simple, its just if the service are started or stopped.
I need to have one management pack and one group for each service.
Like this:
The monitor monitors the service "workstation" if its started or stopped.
The monitor needs to be created in a management pack with this name: "Custom-Service-workstation"
The agents that I want to monitor this on need to be members of the group "Group-Custom-Service-workstation"
Please, please help me with this.

You may refer to the following blog for
Create Management pack with powershell:http://blogs.msdn.com/b/rslaten/archive/2013/05/09/creating-management-packs-in-scom-2012-with-powershell.aspx
Create group with powershell:
http://blogs.msdn.com/b/rslaten/archive/2013/06/06/creating-groups-in-scom-2012-with-powershell.aspx
Roger

Similar Messages

  • Do we need both management Pack and ADP  for monitoring SOA suite 11g

    Hi,
    Do we need to Both management pack and ADP (OCAMM) Application Dependancy and Performance for monitoring SOA Suite 11g.
    I was creating a monitoring template for SOA Composite and SOA Infrastructure and wanted to know if I need to install additional ( management packs, ADP and Middleware Plugins ) packs to get an effective template.

    A management pack generally refers to the set of pages in EM Grid/Cloud Control which provide functionality for a given set of target types. Since EM Grid Control 11g, the ADP functionality has been part of the Grid Control release and the pages licensed via the Management Pack Plus for SOA or the SOA Management Pack EE.
    To populate the ADP pages with data, additional steps must be performed in order to deploy an ADP manager and ADP agents. Doing this is optional, depending on whether or not you require the additional capability that those pages provide.
    ADP data, however, are collected and stored separately from the core GC/CC metrics and are not related to the monitoring template functionality.

  • Unable to create Business Partner - Organization and Group

    Hello Experts,
    I am learning SAP CRM, I am working on version 5.0. I am not able to create BP in Org and Group, but I am able to create the person. I made few changes in BP role, since then I am not able to create BP in Org and Group...these both are deactivated...
    Plz help me...
    All valid answers would be given points....that's sure...!!!
    Thanks all..Happy Posting...

    Hi
    Check the roles that are not hidden.
    Are the categories Org and Group assigned to them?
    To do so, the path is IMG>Cross-Application Components> SAP Business Partner--> Business Partner > Basic Settings> Business Partner Roles-->Define BP Roles
    Here choose the option BP Role categories, now double click on the role you will see if it is permitted with the categories Org and Group.
    Incase you done have the Org or Group checked for your visible BP Roles, it will not permit to create Orgs and Groups. Check Org or Group category and you should be able to create BPs in these categories.
    Hope this helps
    Regards
    Rekha Dadwal-Shet

  • Updating management packs and adding new onces

    Hello Forum
    I enjoy the use of SCOM to monitor our environment.
    But i have Two questions:
    1. Will updating management packs from the builtin utility remove any custom overrides and monitors?
    For example i have crated custom disk monitors under the Windows Server Management Pack and Custom SQL monitors under the SQL sql management.
    2. Why are only some management packs available from the builtin utility? for example Exchange 2010 and AD 2012 Management packs are downloads on the download center? Why not publish them to the builtin utility of SCOM?
    Thanks for your time! 

    Hi,
    1. No, updating management packs will not remove custom overrides. However, with new mp's, new monitors may come, which change some of the monitors which you have overriden. Always read the MP documentation for new mps and test the new mp in a test environment.
    2. Regarding the Exchange 2010, there have been some issues earlier, why it was taken off the online catalog. This will also give you the managment pack documentation, which you should always read.
    Regards,
    Michael
    www.coretech.dk - blog.coretech.dk

  • Manage Users and -groups

    Hi all,
    I try to manage Users and -groups not with workspace administration but by HTML_UTIL. So I need to display all of the Usergroups and select mor than one group for a user and insert/edit this groups for the user.
    How can I select mor than 1 item from a LOV? and use it with HTML_UTIL.CREATE_USER and HTML_UTIL.EDIT_USER
    Thanks for yout help
    Siegwin

    Not sure if this is what you're asking, but certainly, one of the things you'd need to do is write your own PL/SQL procedure that loops through the selected rows of your UI element (whether it be a multi-select list, checkboxes or whatever) and perform the actions that you require.
    Have you attempted anything yet? What parts of this do you need help with?
    Earl

  • Programmatically creating Oracle Applications users and groups....

    Hi,
    does anybody know of a way for programmatically creating Oracle Applications users and groups....
    --Arvind Ashtekar                                                                                                                                                                                                                                                       

    So my question is still unanswered:
    1)I want to add users programmatically. Can I use apps.fnd_user_pkg to do this.If I am using MS Active Directory Single sign on
    2) Are you sure it is supported ny Oracle. If yes, Can you give me the link supporting this.
    Can you add my name to ur yahoo chat friends My id is arvind_ashtekar2001
    I need urgent help.
    I am getting login pag not found error for e-buz home page. iAS Server is runnung fine.(One more thing setup is failed after 100% installation. I mean it did once more system check and the error was jsp not resonding. And no action after that just sinply close that message windoe and manually close setup dialog)
    What might me the error.
    Thanks
    --Arvind Ashtekar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Management Packs and direct connected agents (without SCOM)

    Hi Guys,
    It´s possible to install and use Management Packs (such as SharePoint Management pack) without SCOM? I mean, collect sharepoint management data using MP and send it to azure operational insights directly (using Monitoring agent only)?
    Thanks and Best Regards
    Hélio Sá Moreira
    Chief Technology Officer

    No, because Operations manager MPs have discoveries of objects and monitors to calculate state and groups that need to be calculated by a management server.... all things that today OpInsights doesn't do, as OpInsights is not SCOM.
    But you can collect your logs from those workloads and run your own intelligence (in the form of searches) against them i.e.
    Monitoring SQL Backup Failures with Azure Operational Insights Search and Dashboards
    IIS Management Pack Event-Alerting Rules’s OpInsights Searches Equivalents
    The two approaches are not opposed, but complementary: SCOM is not meant to keep a very big data volume in the on-premises databases, and a lot of its alerting and intelligence that happens down at the AGENT level. This is performant, but lacks correlation
    capabilities, since you can easily get duplicate alerts from multiple agents. 
    In Operational Insights we look at volumes of data to aid with rich troubleshooting scenarios, investigations and deep dives (often following up from a SCOM alert) allowing to span across all that data.
    Check what other data sources other customers are asking to bring in Operational Insights
    http://feedback.azure.com/forums/267889-azure-operational-insights/category/88086-log-management-and-log-collection-policy
    Hope that helps,

  • Bulk create Active Directory Users and Groups in PowerShell using Excel XLSX source file instead of CSV

    Hi Scripting Guy.  I am a Server Administrator who is very familiar with Active Directory, but new to PowerShell.  Like many SysAdmins, I often need to create multiple accounts (ranging from 3-200) and add them multiple groups (ranging
    from 1 - 100).  Previously I used VBS scripts in conjunction with an Excel .XLS file (not CSV file).  Since VBS is essentially out the door and PowerShell is in - I am having to re-create everthing.
    I have written a PowerShell script that bulk creates my users and adds them to their corresponding groups - however, this can only use a CSV file (NOT an XLS file).  I understand that "CSV is much easier to use than Excel worksheets", but
    most times I have three sets of nearly identical groups (for Dev, QA and Prod).  Performing Search and Replace on the Excel template across all four Worksheets ensures the names used are consistent throughout the three environments.
    I know each Excel Worksheet can be exported as a separate CSV file and then use the PowerShell scripts as is, but since I am not the only SysAdmin who will be using these it leads to "unnecessary time lost", not to mention the reality that even
    though you clearly state "These tabs need to be exported using this naming standard" (to work with the PowerShell scripts) that is not the result.
    I've been tasked to find a way to modify my existing PowerShell/CSV scripts to work with Excel spreadsheets/workbooks instead - with no success.  I have run across many articles/forums/scirpts that let you update Excel or export AD data into an Excel
    spreadsheet (even specifying the worksheet, column and row) - but nothing for what I am trying to do.
    I can't imagine that I am the ONLY person who is in this situation/has this need.  So, I am hoping you can help.  How do I modify my existing scripts to reference "use this Excel spreadsheet, and this specific worksheet in the spreadsheet
    prior to performing the New-ADUser/Add-ADGroupMember commands".
    For reference, I am including Worksheet/Column names of my Excel Spreadsheet Template as well as the first part of my PowerShell script.  M-A-N-Y T-H-A-N-K-S in advance.
       Worksheet:  Accounts
         Columns: samAccountName, CN_DisplayName_Name, sn_LastName, givenName_FirstName, Password, Description, TargetOU
       Worksheets:  DevGroups / QAGroups / ProdGroups
         Columns:  GroupName, Members, MemberOf, Description, TargetOU
    # Load PowerShell Active Directory module
    Write-Host "Loading Active Directory PowerShell module." -foregroundcolor DarkCyan # -backgroundcolor Black
    Import-Module ActiveDirectory
    Write-Host " "
    # Set parameter for location of CSV file (so source file only needs to be listed once).
    $path = ".\CreateNewUsers-CSV.csv"
    # Import CSV file as data source for remaining script.
    $csv = Import-Csv -path $path | ForEach-Object {
    # Add '@saccounty.net' suffix to samAccountName for UserPrincipalName
    $userPrincinpal = $_."samAccountName" + "@saccounty.net"
    # Create and configure new AD User Account based on information from the CSV source file.
    Write-Host " "
    Write-Host " "
    Write-Host "Creating and configuring new user account from the CSV source file." -foregroundcolor Cyan # -backgroundcolor Black
    New-ADUser -Name $_."cn_DisplayName_Name" `
    -Path $_."TargetOU" `
    -DisplayName $_."cn_DisplayName_Name" `
    -GivenName $_."givenName_FirstName" `
    -SurName $_."sn_LastName" `
    -SamAccountName $_."samAccountName" `
    -UserPrincipalName $userPrincinpal `

    Here is the same script as a function:
    Function Get-ExcelSheet{
    Param(
    $fileName = 'C:\scripts\test.xls',
    $sheetName = 'csv2'
    $conn = New-Object System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = $fileName;Extended Properties=Excel 8.0")
    $cmd=$conn.CreateCommand()
    $cmd.CommandText="Select * from [$sheetName$]"
    $conn.open()
    $cmd.ExecuteReader()
    It is called like this:
    Get-ExcelSheet -filename c:\temp\myfilename.xslx -sheetName mysheet
    Do NOT change anything in the function and post the exact error.  If you don't have Office installed correctly or are running 64 bits with a 32 bit session you will have to adjust your system.
    ¯\_(ツ)_/¯
    HI JRV,
    My apologies for not responding sooner - I was pulled off onto another project this week.  I have included and called your Get-ExcelSheet function as best as I could...
    # Load PowerShell Active Directory module
    Write-Host "Loading Active Directory PowerShell module." -foregroundcolor DarkCyan # -backgroundcolor Black
    Import-Module ActiveDirectory
    Write-Host " "
    # JRV This Function Loads the Excel Reader
    Function Get-ExcelSheet{
    Param(
    $fileName = 'C:\scripts\test.xls',
    $sheetName = 'csv2'
    $conn = New-Object System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = $fileName;Extended Properties=Excel 8.0")
    $cmd=$conn.CreateCommand()
    $cmd.CommandText="Select * from [$sheetName$]"
    $conn.open()
    $cmd.ExecuteReader()
    # Set parameter for location of CSV file (so source file only needs to be listed once) as well as Worksheet Names.
    $sourceFile = ".\NewDocClass-XLS-Test.xlsx"
    # Add '@saccounty.net' suffix to samAccountName for UserPrincipalName
    $userPrincinpal = $_."samAccountName" + "@saccounty.net"
    # Combine GivenName & SurName for DisplayName
    $displayName = $_."sn_LastName" + ". " + $_."givenName_FirstName"
    # JRV Call the Get-ExcelSheet function, providing FileName and SheetName values
    # Pipe the data from source for remaining script.
    Get-ExcelSheet -filename "E:\AD_Bulk_Update\NewDocClass-XLS-Test.xlsx" -sheetName "Create DocClass Accts" | ForEach-Object {
    # Create and configure new AD User Account based on information from the CSV source file.
    Write-Host " "
    Write-Host " "
    Write-Host "Creating and configuring new user account from the CSV source file." -foregroundcolor Cyan # -backgroundcolor Black
    New-ADUser -Name ($_."sn_LastName" + ". " + $_."givenName_FirstName") `
    -SamAccountName $_."samAccountName" `
    -UserPrincipalName $userPrincinpal `
    -Path $_."TargetOU" `
    Below is the errors I get:
    Exception calling "Open" with "0" argument(s): "The 'Microsoft.Jet.OLEDB.4.0'
    provider is not registered on the local machine."
    At E:\AD_Bulk_Update\Create-BulkADUsers-XLS.ps1:39 char:6
    + $conn.open()
    + ~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException
    Exception calling "ExecuteReader" with "0" argument(s): "ExecuteReader
    requires an open and available Connection. The connection's current state is
    closed."
    At E:\AD_Bulk_Update\Create-BulkADUsers-XLS.ps1:40 char:6
    + $cmd.ExecuteReader()
    + ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException

  • How to create a new user and group on command line?

    Hi,
    I am trying to install INN, the news server on OS X.4.8 (non-server), but it requires me to create a user and group, both called 'news'.
    I know this has something to do with using Netinfo to create them, but I am logged in remotely via ssh and I can't use Netinfo Manager.
    How do I create new users and groups via the command line.
    Thanks for any help.
    PowerMac G5 2x2.7GHz   Mac OS X (10.4.8)  

    I've put some shell scripts that do this here,
    and descriptions
    add_user
    addgroup

  • Imported sealed Management Pack and its not showing up in Data Warehouse Job MPSyncJob

    Hello,
    When i try to Import a sealed Management Pack (with defined new Dimensions for Data Warehouse) it works fine, and it shows up under Management Packs under the Administration Pane. But its not showing up in the Data Warehouse Job "MPSyncJob".
    No errors in the Eventlog on the DW Management Server and cant see any errors in failed Data Warehouse Jobs either.
    I imported the MP three Days ago and still nothing.
    Now what?
    /Maekee

    I have a smaller SCSM Lab that i can import this MP in and the classes are created in the DW. Now is the question why its not working in my PreProd env and why i dont get any errors in the Event Log? Anyone that can Point me in the right direction for
    this?
    /Maekee

  • Unable to create a management pack key token to seal a management pack using MPSeal.exe

    Hi All,
    I am trying to seal a custom made management pack. I refereed Jonathan
    Almquist blog to do it. When i do it i get a error message Access is denied while creating a public key token.
    Blog link: http://blogs.technet.com/b/jonathanalmquist/archive/2008/08/19/seal-a-management-pack.aspx
    I get this error when i run the second command which i have Bolded below
    Below are the directories i used.
    C:\MP_Seal - To keep the SN.EXE & MPSEAL.exe and the unsealed management pack.
    Created 2 folders named output & Pubkey in C:\MP_Seal
    Opened command prompt Run as Administrator:
    I am a domain admin and i have full access to the whole server
    Ran the below commands to generate a Key
    Note: I have changed my key name in this article to Mykey.Snk due to privacy issues.
    1.C:\MP_Seal\sn -k C:\MP_Seal\Mykey.Snk
    2.C:\MP_Seal\sn -p C:\MP_Seal\Mykey.Snk C:\MP_Seal\PubKey
    3.C:\MP_Seal\sn -tp C:\MP_Seal\Pubkey
    The first command how ever generated me a snk file. The second shows Access is denied
    Also created the same setup in the D:\ Drive as well. Still the same issue occurs
    Can any one help please.
    Gautam.75801

    Thank you for the reply Jon,
    As i don't have a key generated already for me hence i am creating a new one. What i wanted to know is that is that, The first command however creates me a .SNK file. Is that enough for me to seal a management pack ? If yes what is the use of the second
    and third mentioned below ? 
    1.C:\MP_Seal\sn -k C:\MP_Seal\Mykey.Snk
    2.C:\MP_Seal\sn -p C:\MP_Seal\Mykey.Snk C:\MP_Seal\PubKey
    3.C:\MP_Seal\sn -tp C:\MP_Seal\Pubkey
    Gautam.75801

  • Management packs and upgrades

    I am new to my position and to Service Manager. I can see such great potential of what Service Manager can do and how easy it could be to work with it however my company is afraid to make changes. They have said that not to far in the past
    they did some customization and when they did the upgrade to 2012 r2 they lost everything - data included. They couldn't give me quite enough details as those that performed the task are no longer here. It went along the lines of a technician built management
    packs that customized the screens. When they did the upgrade the management packs could no longer be used which resulted in them not being able to bring forward the data. They say they worked with Microsoft on the issue. From what I have been reading
    this just doesn't sound like something that could happen in this extreme. However, they are now adamant that we cannot customize anything because of this. They want to use the system however people are miserable with it as out of the box just doesn't
    fit what they need. How can I convince them that customization is not evil and precautions can be taken when upgrading where everything does not have to be redone?

    You're dealing with psychology. Your company had a bad experience and now don't even want to risk that bad experience again.
    It would definitely help to know what the heck your previous technicians did that could screw up Service Manager _that_ bad..especially if they were only customizing screens (I assume they were extending or creating forms).
    But.. for some general advice on how to keep customizations "safe" and maybe calm your manager's fears, these are the guidelines I follow:
    If your customizations include creating your own classes or relationships, always keep them in separate sealed management packs. Data warehouse extensions should also be kept in separate sealed MPs.
    Console tasks, custom forms/form extensions, should generally be kept in their own management packs (sealed or unsealed).
    Workflow rules, templates, and notification templates should be generally kept in their own unsealed management packs (so they can be easily modified from the console).
    Since this is an extensible system, you should be doing regular backups of the Service Manager database. That way if someone messes something up really bad, you can always restore from a backup and lose maybe a day's worth of data.
    Lastly, and most importantly, Service Manager is meant to be extended. Microsoft builds platforms. They don't build programs that can do everything. They build programs that can be _made_ to do everything. Every company is different..each has their
    own flare for process, their own take on how a program should work. Service Manager is flexible enough to allow you to introduce your own flare and your own take on things. Instead of adapting your processes to Service Manager, you can adapt Service Manager
    to your processes.
    The downside, of course, is that with flexibility comes risk. Folks who extend these programs should be pretty familiar with how the underlying platform works. But if you take necessary precautions (follow the guidelines, do regular backups, etc) you can
    reduce the risk significantly.
    That's just my 2 cents :)

  • Manage users and groups on 10.5 client like 10.5 server?

    can anyone recommend software for managing local users and groups on 10.5 client? we only need filesharing and don't need the added expense of OS X Server.
    thanks

    oh, right. we can add users with the File Sharing pref pane and can add groups under the Accounts pref pane.
    i'm assisting a friend reconfigure a 'server' (os x client box) that was damaged.
    i'd like to create a new group and then add a handful of users to that group for filesharing. these users don't really need to access the mac for local login.
    they are using Windows Vista from the clients and the way it's set up now, if a user connects and modifies/creates a file, no one else can then modify the file. we have to run chmod on the file/directory for everyone to be able to change it. i'd like to configure it so the permissions work correctly without having to do this.

  • GG Management Pack and third-party monitoring solutions

    Hi!
    I would like to know which third-party monitoring solutions can be integrated with the GG Management
    Pack (Director)?
    Tks
    Adelmo

    Adelmo,
    Any text log file scraping monitoring solution can key off of the ggserr.log looking for key words such as ERROR and WARNING.
    We will be releasing in the coming months OGG Monitor, which will have SNMP traps built in.
    Regards,
    -joe

  • Cloud Management Pack and Chargeback

    I am installing Enterprise Manager 12c, and need to install cloud management and chargeback. And need to know how can I install these packs in EM12C?
    Need to have Chargeback to make a demo for database usage and Cloud management services.

    You should start with the cloud administration guide. All relevant details are available here.
    http://docs.oracle.com/cd/E24628_01/doc.121/e28814/toc.htm

Maybe you are looking for

  • Itunes 11 keeps changing my screen resolution

    I too am an itunes 11 sufferer!    Everytime I run it, it alters my screen resolution - I'd happily upgrade to the older, better, bug-free version that I was running before,but am afraid i might lose my library of music.  In trying to find a solution

  • Error Uploading an excel file

    I have a program that uploads excel file into sql server table and it works fine within my network. However, when try to run it in my service provider environment i am getting the following error. any idea what is causing this? thanks An error occurr

  • How to properly migrate data from Lion to Mavericks?

    I'm currently using a MacBook Pro running Mac OS X Lion 10.7.5, but I'm going to switch to OS X Mavericks since I'm getting a new MacBook Pro soon. So I'm facing the so-called "data migration" problem. I know Mac OS X comes with a useful tool called

  • X79a gd65 8d Post A2 long lag

    good morning. for a couple of weeks now I have serious boot problems that came out of the blue, like many others have. The system hangs itself up on Postcode A2 / IDE detect. At first I thought it goes into a total freeze here until yesterday when I

  • What's the best monitor to pair with the iMac 21.5inch 2013?

    What's the best display for under £150 to pair with the the iMac 21.5 inch 2013? In terms of best match resolution dimensions etc?