Clear all alerts stateless in OEM12c with emcli

Hello

Can someone please help me on how to clear all alerts without State for all targets with emcli, the following example does not work:

. "" / emcli clear_stateless_alerts-older_th = 7 - target_type = "oracle_database" - target_name = ' * '.

There is no such target * (oracle_database).

emcli does not recognize "*" or "%".  I also want to include all the target_typeif possible, there are many targets and target_type to make them one by one.

Thank you

Willem

Hi Willem.

In the game of out-of-box rules: "Management of Ruleset incidents for all targets", there is a named rule: 'Rule to auto-clear metric more than alert events 7 days' which applies to all stateless events that don't have a related case and will be open for more than 7 days. If this out-of-box ruleset is activated, then these events are automatically deleted by the rule.

Refer to

12 c Cloud Control: automatically configure a rule Incident to metric alerts clear stateless (Doc ID 1559436.1)

Kind regards
Rahul

Tags: Enterprise Manager

Similar Questions

  • iOS 10 - how to clear all notifications LockScreen?

    Updated to iOS 10 and all is well.  The LockScreen, I try to find a way to remove all notifications with a single gesture.  In the Notification Center, there is now a "clear all Notifications," which is great.  However, I would like to clear all notifications without unlocking the phone.  As I see now, I have to drag every individual notification, and then press clear.  It is a pain, especially if there are a bunch of notifications.  Thanks for any help someone can offer.

    You need to unlock it.

  • MacBook pro work leave because of pulled and broken wire.  I took out the hard drive.  the hard drive has all my files that I wouldn't need to clear all of the other personal files?

    MacBook pro work leave because of pulled and broken wire.  I took out the hard drive.  the hard drive has all my files that I wouldn't need to clear all of the other personal files?

    It does not start to the top, screen and hardware ok except belt disconnected.

    also can I sell adapter, brand new, never used. where can I sell?

    Hi Wally, the hard disk OS X and all of your files. Get a case for your reader, and it backs up. Try OWC

    Always keep your Mac backed up on an external drive with Time Machine or utility of cloning like SuperDuperor double clone.

    Try eBay for the adapter.

  • How can I clear all data on sync and start over?

    When I get my favorites the way I would like it on my computer and delete the ones I don't want that it is messed up. I have 4 computers on my account and every time I sync it evokes the old bookmarks. I deleted all the bookmarks from my computer and set up a new sync account then delete all the bookmarks on my other computers. Then I set up the new account for synchronization on all computers and still evokes bookmarks. Avoid any book mark because I deleted all bookmarks in all computers before setting up the new account. I did it 2 times and it they come back. How can I clear all my accounts and start over?

    To delete all data associated with your Firefox sync account:

    1. Go to Firefox accounts
    2. Sign in using the information associated with your sync account
    3. Delete your account
    4. Sign up for a new account synchronization using the site Firefox accounts or directly from Firefox

    Warning: This cannot be undone and will result in the loss of your data synchronization

  • Clear recent history + cookies clears all cookies, including those on the list of exceptions - bug or feature?

    I have several sites on the list of the persons authorized to keep the cookies always (options, privacy, cookies, exceptions). When I use "clear recent history" and check the cookies, the cookies are deleted, including those on the allowed list. Maybe it's a feature rather than a bug, but I much prefer it if cookies excepted were excluded.

    This is how it works. Using clear recent history clears all specified cookies and does not exclude cookies that have an exception permit. If you want to keep a few cookies then you should avoid using CRH to clear the cookies and delete unwanted cookies in the Cookie Manager or they expire when you close Firefox. In this way you keep the cookies with an exception permit.

  • Lost all the games that come with windows Vista.

    Original title: IE windows games: hearts, spider and others

    I lost all the games that came with windows vista and would like to know how to get them back is to say: hearts, spider, scanning of the spirit and others

    Hi JosephAdams,

    Did you the latest changes on the system?

    I suggest that you turn off the games feature in windows vista and re activate and check if it works.

    a. click the Start button, select Control Panel, click programs and then click turn on turn Windows features on or off. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    b. to turn a Windows feature, select the check box next to the set. To turn a Windows feature off, clear the check box.

    c. click OK.

    First you can disable the function of games using the method above restart the computer and turn on the games feature and check if it works.

    For more information, you can consult the following articles and see if it helps.

    Turn on or off Windows features

    Where are my games?

    Hope this information is useful.

  • How to plan to clear all alarms in Foglight on a specific date and time?

    Here's what I want to accomplish informing a group of people that all alarms will be erased and then foglight removes all the weapons on a specific date and time

    ..

    1

    I'd like to be able to plan / create a rule or any other option available to use... to be able to send an email through foglight or notification to a specific group of people telling them that all messages will be deleted.

    2nd

    What I'm looking for must be able to clear all alarms in Foglight to a date and a specific time.

    I just noticed this has not had a response.

    I hope that you could see the information contained in the KB, some items may have been written there so I recommend for anyone who wants to use it to test on a test server or check with the support, if there are recent scripts.

    How to purge the alarms? How to program the purge of alarms? (40651)

    Clear the alarms then X days (74729)

    How to clear alarms command line? How to program the clearing of alarms? (51324)

    Is there a way to clean only certain rules specific alarms? (73003)

    How to accuse reception/Clear old messages older then X number of days automatically (72146)

    Regarding the sending of notifications on a schedule, I think the simplest if to set that plan and create a rule with a true value, which is only applicable to this annex (annex rule or rule that is valid on a precise timetable) and has the action to send the notification to users on the alarms about to be cleared/purged.

    Hope this helps

    Golan

  • Clear all alrmes 3 months.

    Hello

    is it possible to erase all the alarms of the last 3 months in one and not select page by page on Foglight 5.6.4?

    Thank you.

    It's easier using groovy code in the script editor.  The rule "Clear old LogFilter alarms" is a good example to start.  The code should be amended to include all the alarms and if you want to only 3 months, not all, you will need to change the time interval.  Here's the code for the original rule.

    def alarmSvc is server. AlarmService;

    def alarms = alarmSvc.getCurrentAlarms ();

    def now = new Date();

    def cut = now - @daysToKeep;

    (alarm in alarm) {}

    If (@reporterRuleID is {alarm.getRuleID ()})

    If ((alarm.getCreatedTime ()) .before (cutoff)) {}

    alarmSvc.clearAlarm (alarm.getID ());

    }

    }

    }

    You do not want to change: break def = now - @daysToKeep;  in the time range desired.

    In addition, you would remove the "if (@reporterRuleID == alarm.getRuleID ()) ' in order to clear alarms for all types of rules."

    You do not want to be careful with that, but if you want to clear all alarms, there is not much risk.  If you want to delete only the aspecific alarms or time specitif, then you will need to make sure to get good logic for the time range.

    I hope this helps.

    Jeff

  • How is it that when I click on clear form Acrobat is option clears all fields populated by a JavaScript document level and if I save them the start of the JavaScript document level form is no longer works?

    How is it that when I click on clear form Acrobat is option clears all fields populated by a JavaScript document level and if I save them the start of the JavaScript document level form is no longer works?

    Or a link to the form or a sample with the same problem.

    You only set the function to run but not executed.

    You should add a line like:

    AtStartup();

    to your script.

    As noted if you have been set "defaultValue" to the fields, then clear the fields would remove any entry present and restore the default values.

    Or you could write a custom JavaScript to clear the fields and then run your startup script.

  • SRM 5.5 with EMC SRDF. Full recovery but reprotect fails

    Hi all

    I am fairly new to SRM, but have been plugging away in establishing a new environment that uses:

    vCenter 5.5 u1 (two Sites)

    Solutions Enabler 8.0.1.0 - 1953

    EMC SRDF Adapater (SRA) = 5.6.0 VMAX 20 k

    EMC SRDF utilities SRA (and community VSI) = 5.7.0.2

    RS = 5.5.1.8569

    I followed documentation provided by Cody Hosterman ~which is great and got me almost to the end.  I was able to successfully switch (recovery), a virtual machine using a test Stimulus Plan from Site A to Site B. It was working fine.

    We don't use TimeFinder (unauthorized) and so when we realize the expected behavior once happened that the SRDF link has been broken. The State of the R1 to Site A device has become write disabled. The device of R2 in Site B became read/write and the State of the device group is "Fail Over". It is in SRDF asynchronous mode.


    To try to 'Restore' the group, I see errors relating to the configuration of the storage to reverse direction.

    http://i.imgur.com/zWiGtT5.PNG

    I checked the log EmcSrdfSra as suggested on the site now main SRM server and it seems that there is a mistake shortly after you have created a new consistency group.

    http://i.imgur.com/5hZT8HQ.PNG

    I raised a support call with EMC with it directly as a first port of call, but it is in its infancy so I thought I would ask if anyone has any idea what could go wrong here. I have exhausted my googleFU skills and I'm at the stage of trying to get some eyes on the issue. I am happy to provide more information if necessary or to answer your questions - what someone might have.


    Really hope someone can help!

    Thank you!

    Ryan

    Hello

    I got some progress with this so I thought back and share what he needed to solve this problem.

    Essentially, in our environment, we have a VMAX in each site. We have now two servers Manager array with Solutions Enabler (on a Unisphere web) installed. The reason is that we have a VCE Vblock and VCE provided a nursery table server. In addition, we have built our own for the purposes of the SRM and other similar things.

    In essence, we do not configured new servers of facilitators of Solutions fully and missing GNS on them. We have also put in SRDF pairs and above all: GROUPS of DEVICES on the old managers table manually. These groups of devices répliquiez not to the new servers, but the other config (Volumes, etc.) have been! So SRM was trying to talk to our new boxes and only really get half the information on volumes and above all the volume groups.

    Once we have properly configured device groups on each site for the Volumes that were used for SRDF replication, everything started working. Since then, we have been in and double-checked the configuration manager servers on new table and all is good. This solved the problems that I posted above.

    I hope this helps someone in the future!

    Ryan

  • How do I clear all my points tool feather?

    I'm learning how to use the pen tool.  When I do a ton of points to select a large object, I decided that I will use another tool.  How can I delete or clear all my selections without having to return each point pen?  With a selection, I can just for a CMD-D to get rid of the mobile selection of ants.  How can I do the same thing with the pen tips?  I'm just a beginner with this tool, but I'm trying to get more straight lines than tools quick selection or magic wand.

    You can use the direct Selection (cmd one) tool select the path and click on delete. In the Trace Panel, you can select the path and can drag it to the trash.

  • Enable all alerts in the world?

    Hello
    Is it possible to activate all created alerts?  I have a disk space alert that fires correctly, but then if I reboot my server HQ he is more listed in "recent alerts.  Also, I'll make the widespread server upgrades that will require some downtime and I'll probably just disable most of the alerts.

    Is it possible to just say 'I want each alert configured in central administration is enabled = yes'?

    Thank you

    Josh

    Hi Josh,.

    There is a discussion about this already:

    http://communities.VMware.com/message/1915096#1915096

    As for being able to better navigate in the alerts (there was a lot
    different applications for this), we rely on the design of an alert
    Center, where you can manage and view alerts easier.

    In order to better manage the list of recipients, you must make use of the
    patterns of climbing.  Can be combined with a diet of climbing
    multiple alert definitions and you can change the schema of climbing
    who use it to affect all alert definitions.

    Charles

    On 30 March 2007, at 11:10, Josh Jondle wrote:

    > Also, is there a way to simply enumerate all alerts on the server?  I need
    > to bring a change to the list of recipients alert all alone and it would be
    > much easier if I could just make a big list instead of having
    > drone through each item to see if there's an alert defined on it.
    >
    >
    > Thank you,
    >
    > Josh
    >

  • Clear all the checkboxes in a form at a time

    I am currently working on a form that has a self-test function, something of a cram for students before an exam. At the end of each chapter, I have a button to mark the self-test and the other for clear responses. For the latter, I used code similar to what is below. I wonder if there is a way to clear all checkboxes at once, so I can't list them all.

    //Question 1
    this.getField("C8_1A").value = "Off";
    this.getField("C8_1B").value = "Off";
    this.getField("C8_1C").value = "Off";
    this.getField("C8_1D").value = "Off";
    
     //Question 2
    this.getField("C8_2A").value = "Off";
    this.getField("C8_2B").value = "Off";
    this.getField("C8_2C").value = "Off";
    
    

    If you use a hierarchical namespace and give each box with the same prefix (for example, A.C8_1A, A.C8_2A, etc.), you can dismiss everything with a single statement:

    Reset all the Group A of the fields

    resetForm (["A"]);

    This will reset all the fields in the document:

    resetForm();

  • to clear all values prompts in a page

    Hello

    With the help of obiee 11g
    have a req as if I had a dashboard with many pages. Each page has several guests.
    In page 1, I have 3 guests, what I want is to have a button which, when clicked should clear all values
    guests of this page.
    Is it possible to have as a button?
    I know reset works, but I want to after clicking the button apply.

    Thank you

    In your dashboard, create a text section and add the following code
    {div class = "XUIPromptEntry minibuttonOn"} {a href = "#" onclick = "return PersonalizationEditor.removeDefaultSelection (false)"} Clear the selection {a} {div}

    Check contains the HTML markup

    Replace {} with "<' '="">" in the code above

  • Leader: Open Recent works do not. It appears as recent File: Open: clear all.

    Leader: Open Recent works do not. It appears as recent File: Open: clear all.

    Hi guy,

    Maybe a recent system update has reset your system preferences > General > recent items to zero.

    Type a number (for example, 10);

    Quit the system preferences;

    Leave the Pages then revive Pages;

    Open some documents to repopulate open the recent item.

    Any improvement?

    If no improvement, shut down your computer and restart.

    "Recent articles" are at the level of the system and refers to other applications, not just the Pages.

    Kind regards

    Ian.

Maybe you are looking for