How to delete/remove the incidents of the same type

Hello
the Incident of our cloud Control Manager contains open incidents. In our case we have more than 150 of "archiver hung on the time line number /...» ».
Now, I would like to delete those - given that I am aware of the underlying problem. But I understand that I can only mark an incident and delete an incident. Of course, it would be great if it would be possible to remove it at once. Is it possible to do?

Any help would be apprciated.

Rgds
Jan

Hello

You can delete multiple incidents via the command line with the command 'emcli clear_stateless_alerts '.

Clear alerts without state associated with the target object specified.

Only the user can clear these alerts stateless; the Enterprise Manager Agent does not automatically clear these alerts.

To find the metric internal name associated with an alert without a State, use the verb get_metrics_for_stateless_alerts.
Note: Before running any command to emcli, you must connect to emcli first of all if it is not already done.
It may also be necessary to synchronize the emcli and WHO.
Example:
$ emcli login - username = SYSMAN
$ emcli sync

Format (one line)

$ emcli clear_stateless_alerts-older_than = number_in_days-target_type target_type-target_name = target_name = [-include_members]

[- metric_internal_name = target_type_metric:metric_name:metric_column] [- unacknowledged_only] [- ignore_notifications] [- Overview]

[] indicates that the parameter is optional.

Options

* older_than

Specify the age of the alert in days. (Specify 0 for the alerts currently open stateless.)

* target_type

Type of target identifier internal, as host, oracle_database and emrep.

For a list of the valid target types in your repository database, you can do the following:

1. start sqlplus and log in as user sysman to your repository database

2 run the following query:
SQL > select distinct mgmt_targets target_type;

The sample output:

SQL > select distinct mgmt_targets target_type;

TARGET_TYPE
----------------------------------------------------------------
oracle_listener
oracle_ias_farm
weblogic_j2eeserver
j2ee_application
metadata_repository
oracle_csa_collector
host
oracle_database
oracle_emd
oracle_emrep
weblogic_domain

* target_name

Name of the target.

* include_members

There is place for composite targets review alerts belonging to members as well.

* metric_internal_name

Metric to be cleaned. Use the verb get_metrics_for_stateless_alerts to see our full list of parameters taken in charge for a given target type.

ExampleFor the target type oracle_database
$ emcli get_metrics_for_stateless_alerts-target_type = oracle_database

* unacknowledged_only

Only disable alerts if they are not recognized.

* ignore_notifications

Use this option if you do not want to send notifications for the cleared alerts. This can reduce the notification subsystem.

* Overview

Displays the number of alerts to be deleted on the target.

Examples

The following example clears the alerts generated in the database alert log more than a week old. In this example, no notifications are sent when alerts are disabled.
$ emcli clear_stateless_alerts-older_than = 7 - target_type = oracle_database-tar get_name = database - metric_internal_name = oracle_database:alertLog:genericErrStack - ignore_notifications

Example for a database cluster

If the target type for the cluster database is "rac_database". run the following command
$ ./oms/bin/emcli clear_stateless_alerts-older_than = 1 - target_type = rac_database-target_name = oracle.rac.ccc.kk

Kind regards
Vincent

Tags: Enterprise Manager

Similar Questions

  • put my id on SE new, how can I remove the id of 5 c for someone else can use it without it deleting my new phone?

    put my apple ID on SE new, how can I remove the ID of the 5 c without it deleting my new SE?

    You must follow the steps outlined in this support document to prepare the iPhone 5 c for the other user. This will not affect the data on your new device. What to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

  • I ran microsoft security scan, and it says a voris has been partially deleted. How can I remove the rest or what should I do next

    I ran a scan of microsoft security and it indicates that a virus has been partially deleted. How can I remove the rest or what step I need to take the next

    Hi Lucie,.
    Try following the steps in this virus/malware removal guide: http://www.selectrealsecurity.com/malware-removal-guide
    It contains instructions which will remove most malware infections. If you have any questions, just ask me. I hope this helps you.
    Brian
  • How to remove the old key wifi Windows 7? It is automatically to connect to the old key... If I delete also the same old key is coming.

    How to remove the old key wifi Windows 7? It is automatically to connect to the old key... If I delete also the same old key is coming.

    How to remove the old key wifi Windows 7? It is automatically to connect to the old key... If I delete also the same old key is coming.

    Here you go:

    1. Control Panel
    2. Network and sharing Center
    3. Manage wireless networks.
    4. Right click on the wireless network unwanted.
    5. Delete
    Also note that since there is a network problem, a Forum that focuses on networking would be a better place to ask this question. This forum addresses issues of Windows security.
  • How can I remove everything unnecessary and/or deleted at the same time

    When I clear my balls and/or remove things from my e-mail, I can't remove it all at once... must be done individually. How can I at the same time instead of each of them

    Hello

    Thanks for posting in the Microsoft Community. The question that you stated that you want to delete the mails in the Mail application at the same time. We are here to help you.

    Here's what you need to do.

    a. open the folder in which you want to delete E-mails.

    b. Select one of the Emails.

    c. press the CTRL + A on the keyboard (this will select all Emails in the folder).

    d. press the clear key that will remove the selected emails.

    I hope this helps. Please get back to us if you have any other questions; We are here to help you.

  • How can I remove the documents from my iPad added when it was running regular Acrobat, now that happened in DC?  The docs are not on the cloud, and DC does not appear to be a function of deletion for non-cloud docs.

    I use an iPad.  It switches me automatically in Acrobat outdated in DC.  How can I remove the documents that have been on my iPad with the old Acrobat?  They are not in the cloud, and DC does not appear to be a function of deletion for them.

    Hello

    By default, Acrobat DC IOS shows the consulted files recently.  You need to switch to another file location (for example, Local, Document cloud creative) to delete, rename, move or duplicate files.

    You can switch to the Local, if you do not want the files and folders that are stored locally on your iPad.

    Do you want to take a look at the following document to see how you can switch to another file location and delete the files?

    How to manage files Acrobat DC for iOS

    Please let us know if you have any additional questions.  Thank you.

  • How can I remove the tones created in garageband that have been uninstalled? I also installed but I can't remove it either please help thanks

    How can I remove the tones created in garageband that have been uninstalled? I also installed but I can't remove it either please help thanks

    Hello Michael,

    Welcome to Apple Support communities.

    I see that you need assistance, removal of GarageBand ringtones that were uninstalled. I know it's nice to be able to properly manage your tones. I can help you with this.

    Use the article for iOS (iPad) 2.0.x GarageBand: GarageBand share songs, more precisely, this section:

    To remove the existing ringtones follow these steps:

    • Press to select, then press the button Delete for any ringtone you want to delete.

    • Drag a ringtone in the list, and then press delete.

    Have a great day!

  • How can I remove "the folder/Users/user/to/mygame doesn't exist." Terminal. Rises every time I launch Terminal.

    How can I remove "the folder/Users/user/to/mygame doesn't exist." Terminal. Rises every time I launch Terminal. I am a novice. Thank you very much.

    1. Please select from the menu bar Terminal

    ▹ terminal preferences... ▹ Profiles ▹ Shell

    If the run command box is checked, uncheck it or enter the command to run automatically (if any), each opening of a Terminal window. Note: this is not how you define a default shell.

    2. If step 1 does not resolve the problem, see below.

    Back up all data.

    Select

    New Shell command ▹

    in the Terminal menu bar. Uncheck the box marked

    Run the command inside a shell

    If it is enabled.

    Copy and paste the following line into the text box that appears, and then press return:

    /bin/mkdir disabled_shell_files

    Close the Terminal window that opens. Repeat with this line:

    /bin/mv .profile .bash_history .bash_profile .bashrc .inputrc disabled_shell_files

    History Shell and former initialization files will be saved in a directory named "disabled_shell_files" at the top level of your home directory. It is normal that some of these files do not exist, and therefore, you will get error "no file".

    Close the window and open a new test.

    You may already know that files with name starting in '. ' are not visible in the Finder by default. So, if you open the folder that you created in the Finder, it will appear as empty, even if it is not. If you need to recover a portion of the data in the files of the shell, use a shell such as nano-based text editor (1). Make sure that you're not recreating the problem. Otherwise, you can delete the folder.

  • I imported my address books. How can I remove the default empty

    I imported my address from my old computer books in Thunderbird on my new computer. Empty default address books don't seem to be able to be deleted, so I have now two books personal address and two collected addresses, the first of all is the default value for empty one and the second is my populated version. Thunderbird seems to point to the default empty. How can I remove the empty for default Thunderbird to my places.

    Thank you

    I don't think you can remove the default books. I open any personal book, select a contact, do a control + a to select all and drag in the personal address book by default. Then delete the empty book. Then do the same for the collected books.

  • How can I remove the Olympic flag that I just added - too intrusive

    I added the American flag and it blocks some of the other info on the Firefox toolbar-colors are too bright. How do I remove the flag or the fact it are automatically deleted at the end of games. Thank you.

    I assume that you have installed a Persona. You can remove this by typing about: addons in your address bar, press ENTER, and then goes to the appearance. You can delete the theme here.

  • How can I remove the bookmarks that are no longer used.

    I have a list of bookmarks on firefox. Many are more used.
    How can I remove the individual bookmarls of my list.
    Tried to highlight and delete them, but that does not work...

    You can right click and delete, select and use the key "Delete", or remove
    multiple bookmark click to the left of the favorite icon, and then add more with "Ctrl + click"
    or spread with "Shift + click" then delete.

    You can remove bookmarks as described for the deletion of history in

    http://KB.mozillazine.org/Viewing_the_browsing_history_-_Firefox#Selecting_history_items

    The reference to bookmarks won't in the details, because it is in the article above.

    http://KB.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox

    You will be perhaps easier to delete bookmarks you don't want in the list of the bookmarks library. As noted in the article to bookmark sorting you can view and sort by additional columns, I recommend installing the extension "Show Parent Folder" link is in the article to bookmark, unfortunately that you can add the column is not sortable, but it provides valuable information.

  • How can I remove the double song from my iPhone titles?

    How can I remove the double song from my iPhone titles?

    Hello josephever,

    Thank you for using communities of Apple Support.

    To remove the music from your iPhone, you will need to follow the steps below:

    Remove music

    Remove tracks, albums or playlists in the music app delete all music in the settings.

    Remove the application, music, playlists, albums or songs

    1. Find the song, album, or playlist you want to delete.
    2. Tap the Options icon plus on the right side of the screen.
    3. Press DELETE.
    4. When you are prompted, press Delete [purchased or Playlist] to confirm.

    Delete all the music on your device

    1. Go to settings > general > storage and use iCloud > storage management.
    2. Tap music.
    3. Under the music, by sweeping left on all the songs.
    4. Press DELETE.

    If you delete a purchase that you have not saved on your device, the purchase will also hide your purchase history.

    If you are a member of music from Apple or iTunes subscription game, you might see 'Remove my music' instead of delete. Remove the music from your iPhone, iPad or iPod touch also removes it from your music library to iCloud. If you delete music on a single device, it also deletes other devices. Learn how delete your music to iCloud library media.

    On an iPhone, iPad or iPod touch, if you do not have the music available offline, it is cached by using the available space on the device. The device will delete cache and caching of music, as space is needed by the device.

    Remove music, movies, applications and other content to your iPhone, iPad or iPod touch

    See you soon.

  • How can I remove the Windows Equium A60 operating system

    How can I remove the Windows of my Equium A60 computer operating system?

    If you want to have the own pre-installed OS simply use sent recovery CD/DVDs. Before installing the OS launches the disk HARD integer will be deleted.

    If you have t n, use the facilities of Microsoft CD. You will find the option to format the existing partitions or even to delete the partitions.

  • How can I remove the application dropbox to my Imac?

    iMAC 21.5 Inc.

    OXS X El capitan

    10.11.3 Versie

    How can I remove the application dropbox to my Imac?

    I get a warning when I click on the dropbox app to delete!

    Thank you very much

    ollylibby

    Official instructions are here-> https://www.dropbox.com/help/41

    It helps tremendously if you actually post the text of the error message that you receive.

    You may need to view the activity monitor, search for dropbox and stop all processes before removing the Dropbox app in the folder/Applications.

  • How to completely remove the Messenger app?

    Hello.

    Anyone know how I can remove the Facebook Messenger of the Cloud application? I want to remove it completely from all my devices and then reinstall it from scratch, but it still shows as yet on the cloud.

    I'm not sure it relevant to this question, but I'm running a Mac OS X El Capitan 2009 and a 6 iPhone on iOS 9.2.1

    Any help much appreciated.

    Thank you

    The app is not physically on the cloud, it's just to show that you have downloaded before and you can download it again.

    If you remove the application of the iPad, it deletes everything associated with the application. If redownload you the app, it will always install a new copy and cool app iCloud does not store the app, so you pass never twice the same exact copy. It will be a new copy of the application each time you remove and then reinstall the application.

    In addition, you will need to remove the application from each device, and then start a new download on each device. You can remove an application by pressing your finger on the icon for a few seconds until what apps shake. Press the 'x' to delete. You can also view the sizes and remove apps from settings > General > storage and use iCloud > manage storage (under the storage section) > Messenger > remove app Note If you select storage manage under the section iCould Messenger does not appear.

Maybe you are looking for

  • Someone else do my iMessages?

    Hi there, I have a somewhat confused situation going on that I suppose is solved but I want to just make sure by getting a few a second opinion on the issue of people who can understand a little better I do. Me and two family members have iPhones and

  • Central Seagate NAS - "Invisible" Time Machine backup

    Running OS X El Capitan (10.11.3), have a central Seagate NAS connected to the same network. Struggling to locate/mount the Time Machine "partition" of the NAS using the Finder, even if the NAS works more or less perfect otherwise. For example, I hav

  • Satellite A500 - USB devices not recognized

    I have a new Satellite A500 and it now will not 'see' one of the connected devices (Modem 3 G, an iPhone). I checked on Device Manager and it is showing as active USB ports and works correctly and has run the PC Diagnostic tool, which showed everythi

  • BBM SDK sample applications running

    Dear all, I downloaded theBBM v1.3 for BlackBerry Java SDK.and I tried to launch BBM SDK demo in the sample Apps folder. I use eclipse IDE and use 8900 Simulator(\eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.36\components\simulator) When I t

  • DirectX 11 problems, please Help! :)

    Hey there, So I bought Total War: Shogun 2 on steam and downloaded the game... When I try to play the game I get the 'First time Installation' habit that steam works for any game, but when it comes to "installation of directx for windows" it crashed