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

Tags: Dell Tech

Similar Questions

  • How can smartphones blackBerry I clear all, back to the original White phone?

    Hi all!

    OK, after 1 month of this phone, I had and want to sell it (probably ebay) and need to know how to clear all information out of it and return to the original new settings. Also, how can I clear the phone w / blackberry for someone else may register it?

    Thanks much for any help!

    Hello

    Please follow these directions for instructions.

    Good luck!

  • 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

  • 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.

  • In clear, all the history in detail window Forum selection & search history is disabled and grayed out and I can't select the option.

    In clear, all the history in detail window Forum selection & search history is disabled and grayed out and I can't select the option.

    You are welcome

  • 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.

  • I transferred all my info to my new 6 s.  How to clear all data from old 4S?

    I transferred all my info to my new 6 s.  How to clear all data from old 4S?

    Follow the contours of the steps in this Apple Support page:

    What to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

  • 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

  • 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.

  • 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.

  • 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

  • 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();

  • Clear all filters set Panel filters. Scriptable?

    Hello

    I m looking for the application events, but haven't find any method that allows to reset the filters defined in the filters Panel.

    Assume that the Panel filters checked some options (like to see pictures of the only green label and 2 stars). I want to clear all filters and see all the files in the folder. If I can continue my task as scripts.

    Can you confirm if this kind of "reset Panel filters ' can scriptable?

    Thank you very much

    Gustavo

    I know no direct way to rest the filters, but as a workaround you could go to a folder then in the original folder, this will reset the filters that is

    var existingPath = Folder(app.document.presentationPath);
    app.document.thumbnail = Folder(app.document.presentationPath).parent;
    app.document.thumbnail = existingPath;
    

Maybe you are looking for

  • Hello my iPhone 6plus does not connect to the network on the upper left side of the screen it ust say research

    Hello my iphone 6plus does not connect with the network on the upper left side of the screen it say research

  • Firefox will not load after an automatic update

    I am running Windows 8.1, the 64-bit operating system. I think that FireFox automatically updated today and now I can't start FireFox. I get a box of modules are being checked for compatibility. The designation of 32 bits is indicated and just it run

  • Toshiba 40RL953B has stopped responding to the remote control

    Hi all, my first post and this is a problem.I have a 3 years 40RL953B Toshiba tv that is not responding more to the remote and the buttons on the side, it is stuck on HDMI 2 port and works well with deviced plugged which, but I have no control of vol

  • Waveform addons

    I need to be able to add noise (Gaussian, uniform or no noise) to my VI, yes it is a homework problem. I went to the book and many tutorials. So I'm pretty stuck on this. Would need another enum control? But how can I when may only be connected to th

  • CHANGE DATE OF FAX

    I have a HP Officejet 6500 a and windows 7, the only problem I have is that I can not put the date into my report of faxes. It shows my name, my phone number, but the date is always Jan-00-00-00:00 AM how can I change the date?