Amount fire rule script

Hello

I'm looking to generate a report that describes a set of rules and the number of times where these rules have triggered alarms, similar to the information, you can find via rule Diagnostics > Diagnostic details. I think I need to use the methods RuletteStats, under foglightserver/console/script-help/index.html, but it is not documentation.

The question arises with obtaining the amount of times that have triggered alarms, I can find the name rules fairly easily. In addition, it is possible to get exactly the amount of time the alarms have shot for a certain period of time or is just the number of times that alarms fired altogether?

Thanks for your suggestions in advance.

Dillon

I don't know your exact use case, but the cartridge alarm analysis has a collection option. Maybe he has what you are looking for.

See: http://en.community.dell.com/techcenter/performance-monitoring/foglight-administrators/w/fog-script-wiki/6282.alarms-analysis-dashboard.aspx

Best regards, Bart

Tags: Dell Tech

Similar Questions

  • Select Fire FTP script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script ends. Script: chrome://fireftp/content/js/local/localTree.js:134

    After the last update on Firefox FTP fire does not open easily. I get this message more than once. First time I had problems with the selection of FTP
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script ends.

    Script: chrome://fireftp/content/js/local/localTree.js:134

    Try to update your module:

    Check and tell if its working.

  • Number of hosts per rule Script

    Hello

    By following http://en.community.dell.com/techcenter/performance-monitoring/foglight-administrators/f/4788/t/19550391, we have a good wee script that returns the names of all the enabled rules that the scope is a certain crowd against.  The original script on this page has been changed, here's the actual script that we use:

    Don't forget to change the hostname down!

    //

    Initialize

    //

    def rs = server ["RuleService"]

    def QS = server ["QueryService"]

    def rules = rs.getAllRules)

    def hosts = new TreeMap()

    Browse all rules

    //

    (rule of rules)

    {

    This will not work for the rules without a scope query, so

    Let's ignore them!

    //

    def query = rule.getScopingQuery)

    isRunning def = rule.isRunning)

    If (request == null | query == "" |! isRunning)

    continue

    Kickoff of the scope query and see what we get.

    Browse all topology objects

    and collect the monitored hosts.

    //

    def objs = qs.queryTopologyObjects (query)

    for (obj in objs)

    {

    host of def = obj ['monitoredHost']

    If we cannot find the monitored host, this rule

    probably does not apply to us

    //

    if(Host == null)

    continue

    Create a new location for this host if necessary

    //

    def hostName = host ["name"]

    def hostRules = host [hostname]

    if(hostRules == null)

    {

    hostRules = [] like TreeSet

    host [hostname] = hostRules

    }

    Add the rule to the host

    //

    hostRules.add (rule.getName ())

    }

    }

    Print pretty

    //

    guests return ["your - client.here.com'"]

    Example of output would be:

    [CPU use, system files, use memory capacity]

    This script can be edited (or a written new) for a particular rule, it will return a list of all the hosts extended?  I guess it's pretty simple for geniuses here.

    Thank you

    Brian

    Hi Brian...

    I have an iteration over for you. This gets all the rules and runs

    application of determination of the scope of each rule. It takes each result of said and tries to find any host (s) Hung

    out some likely properties of the result (see the getRelatedHostName() method). You can

    grep through the results for the rules you are interested in.

    Enjoy!

    Robert

    def rs = server ["RuleService"]

    def QS = server ["QueryService"]

    def rules = rs.getAllRules)

    def rulesMap = new TreeMap()

    def tryPath (source, path) {}

    result = null

    try {}

    result = source.get (path)

    }

    catch (Exception e) {}

    Returns the result

    }

    def getRelatedHostName (objectID) {}

    def hostname = null

    def source = null

    try {}

    source = server. TopologyService.getObject (objectID)

    }

    catch (Exception e) {}

    e return

    }

    If (source! = null) {}

    host name = tryPath (source, ' monitoredHost/name "" ")

    If (hostname == null) {}

    host name = tryPath (source, "the name of the controller/monitoredHost /")

    }

    If (hostname == null) {}

    name of host = tryPath (source, 'parent, agent, monitoredHost, name')

    }

    If (hostname == null) {}

    host name = tryPath (source, ' / hostname ")

    }

    If (hostname == null) {}

    host name = tryPath (source, ' controller / / hostname ")

    }

    If (hostname == null) {}

    name of host = tryPath (source, "agent/hostName")

    }

    If (hostname == null) {}

    parents-tryPath (source, 'parents')

    If (parent! = null & parents.size () > 0) hostName = tryPath (parents [0], "/ hostname")

    }

    If (hostname == null) {}

    parents-tryPath (source, ' controller/parents')

    If (parent! = null & parents.size () > 0) hostName = tryPath (parents [0], "/ hostname")

    }

    }

    Returns the host name

    }

    for (rule rules) {}

    This will not work for the rules without a scope query, so

    Let's ignore them!

    //

    def query = rule.getScopingQuery)

    If (request == null | query == "")

    continue

    def objs = qs.queryTopologyObjects (query)

    for (obj in objs) {}

    relatedHostName = getRelatedHostName (obj.uniqueId);

    If (relatedHostName is nothing)

    continue

    ruleName = rule ['name'] def;

    def hostRules = rulesMap [ruleName];

    if(hostRules == null) {}

    hostRules = [] like TreeSet

    rulesMap [ruleName] = hostRules

    }

    hostRules.add (relatedHostName);

    }

    }

    Print pretty

    //

    def sb = new StringBuilder()

    (entry in {rulesMap.entrySet ())}

    SB. Append (entry. Key)

    SB. Append ("\n")

    SB. Append (entry.value.join(","))

    SB. Append ("\n\n")

    }

    sb.toString)

  • Initialized the planning application, but can not see business rules (scripts).

    Hi all

    I'm new to Hyperion and would greatly appreciate your help. I created a classic application planning White (11.1.1.3) and initialized Capex planning (Edition-> initialize capex), then created and updated database so that it appears in Essbase too. I can see the application in essbase and planning, I see the forms of data and dimensions, formula member... etc. When I opened a data form it shows me downstairs left business rules and that I can run them and select execution prompts. But when I go to the calculation Manager and select the same application, see the actual scripts, how it is designed (essentially wants to learn scripts are created, calculation and all functions) under the rules and scripts, I don't see scripts anywhere. I have tried this 4 - 5 times by creating charges new application (I also tried the workforce planning and the same problem) with a plan type, more than 1 type of plan but its market not now. Can someone please help me from your experience what could I be missing and why his watch now.

    Thank you for your help in advance.

    Published by: 974509 on December 3, 2012 18:14

    Should have displayed the Manager queries calc in calc forum (https://forums.oracle.com/forums/category.jspa?categoryID=519)
    If you right click the application node in the Manager of calc, have you a menu to load rules presets?

  • Amount import the script based on the entity

    I have a data file of local currency with all my features in there. However, because of the way that SAP stores one of the currencies that I need several amounts for a single entity by 100. I have attached the script below in the field amount in the import format, but I'm not having any luck. I know there is not something which only escapes me on the StrEntity variable. Any help would be greatly appreciated.


    Function XAFcurrency (strField, strRecord)

    If StrEntity = "7771.

    XAFcurrency = StrField * 100

    On the other

    XAFcurrency - StrField

    End If
    End Function

    You must analyze the strRecord with the fParseString command or split command before testing the value of the entity.

    For example, your files contain 12 fields delimited by tabs and 10 is the field of the entity. You can then use the following:

    If DW. Utilities.fParseString (strRecord, 12, 10, vbTab) = "7771" Then
    XAFcurrency = StrField * 100
    On the other
    XAFcurrency = - StrField
    End If

  • rule scripts and conversion of < calculate currencies >

    Hello Experts! :)

    I created a 11.1.1.3 planning request Multicurrency, create a table of rates of Exchange and conversion planning scripts who appeared for selection in my data form, and these scripts work very well and calculate currency conversion correctly so far. So I decided to run only integrated planning < Calculate currencies > business rule and it has also calculated the conversion of currencies very well. I tried to find this rule in the Regional service console to see his script, and I just couldn't! Then I decided to play around with it and I deleted all my scripts generated currency conversion, refreshed Essbase and re-run rule < calculate currencies > and again calculated the right currency conversion. So, I am confused and I have 2 questions:

    (1) why should I need to currency conversion scripts if there is rule < calculate currencies >?
    (2) how can I find the rule < calculate currencies > (and < calculate form data > rule if possible) and see their scripts?

    I'd highly appreciate your contribution to my understanding this! Thank you! :)

    Currencies to calculate is only for members on the form

    The business rule to calculate the currencies is based on the dimensions and Member on the data form. It converts the data from the local currency to the currency of presentation on the data form, apply the exchange rate conversion. She:

    * Do not calculate subtotals. For the subtotal values, run the business rule to calculate the form of data (or a custom business rule which includes aggregation) after currency conversion.
    * Does not take into account the values #MISSING.
    * Can be turned on or off by associating or disassociating with data forms in the design of data form.
    * Has the default value works only for recording the data.

    I think you're looking for the currency conversion calc script, more info on:-http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch04s08.html
    Alternatively, you can generate the script by:-http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/mg_curr.html

    It's also a good position on the currency conversion:-http://www.network54.com/Forum/58296/message/1131462381/Re-entitynot + translation + data

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • EEM Applet does not fire TCL script after expiration of the countdown

    We use currently EEM Applet below than securities has BGP route and if this path fails, it starts a countdown of 45 min, once the countdown expires, the router reloads. If the BGP route restores it will remove the countdown applet.

    I'm trying to change this applet to reproduce the same type of behavior, but instead to recharge after 45 minutes, I am changing the cell parameters via Script TCL or other means besides.

    Is this possible? Can someone direct me how to proceed?

    Cisco 1941 Version 15.4 (3) M2

    event handler applet track down
    Description "this applet will add the countdown applet when BGP 10.66.66.66 road goes down."
    Event track 10 down state
    command action 1.0 cli 'enable '.
    Action 2.0 cli command "config t.
    Action 3.0 cli command "event manager applet countdown."
    action 3.1 cli command "description This cmdlet is the countdown and will cause the router reload after 2700 seconds if BGP route is always down.
    Action 3.2 cli command "event timer countdown 2700".
    action 3.3 cli command "reload action 1.0.
    Action 4.0 cli command "end".
    command action 4.1 cli 'enable '.
    Action 4.2 cli command "wr mem".
    Event Manager applet track-up
    Description "this cmdlet will delete the countdown applet when restores BGP route to 10.66.66.66.
    Event State track 10 upwards
    command action 1.0 cli 'enable '.
    Action 2.0 cli command "config t.
    action 3.0 cli command "no event manager applet countdown."
    Action 4.0 cli command "end".
    !

    This is the applet changed, with that I have had the most success. The issue I'm running into is, sound without waiting 60 seconds (for testing I reduced to 1 minute) to run the tcl script. From my limited understanding, I discovered that, after the countdown event - the applet requires an action immediately after but does not accept a command like 'tclsh Cell.tcl' cli as 'action '. »

    event handler applet track down
    Event track 10 down state
    command action 1.0 cli 'enable '.
    Action 1.1, «config t» cli command
    Action 1.3 cli command "event manager applet countdown."
    action 1.4 cli command 'event timer countdown 30 '.
    action 1.5 cli command "action 1.0 wait 30.
    Action 1.6 cli command "end".
    Action 1.7 cli command "tclsh Cell.tcl.
    Event Manager applet track-up
    Event State track 10 upwards
    command action 1.0 cli 'enable '.
    Action 2.0 cli command "config t.
    action 3.0 cli command "no event manager applet countdown."
    Action 4.0 cli command "end".

    It is the TCL script that I use to run cellular changes.

    tclsh
    puts [open "flash: Cell.tcl' w +] {}
    ios_config "interface 1/0/0" "shut".
    ios_config "0/1/0 lte tech gsm cell".
    ios_config "interface 1/0/0" 'no shut '.
    After 10000
    ios_config "interface 1/0/0" "shut".
    ios_config exec 'cell auto 0/1/0 lte tech '.
    ios_config "interface 1/0/0" 'no shut '.
    }
    tclquit

    Thank you
    Robert

    These cmdlets will not accomplish what you want.  I also recommend never call EEM tclsh.  You don't need to do.  Use EEM MCI in native mode, or in your case, just use pure applets.  Take a look at https://supportforums.cisco.com/document/12723951/how-introduce-large-de... .  If you follow this example and put your config CLI commands in the countdown applet, you will be able to achieve what you want.

  • Calculation of amount of Java Script

    Hi, I'm looking for help for what I guess would be an easy question based on other posts I've read.

    I am new to livecycle ARE and I spent the better part of my adult life, find ways to have new form fields appear after selecting a button.  Each entry has a numeric field 'cost' (each with the same name of link) and at the bottom of the form, I have a field num 'total' I want to show the sum of all completed cost fields.  I used a script that is supposed to summarize the same instance of the domain name (e.g. cost [*]), but it does not work.

    Any help would be appreciated.

    Stewb

    FormCalc offers brevity and coding of functions which are very good for the calculation of the totals in row and column of the table.

    For example, to calculate a total line.

    Form.Page1.budget.costs.Row [0]. total::Calculate - (FormCalc, client)

    $.rawValue = beer + food + others

    For example, to calculate a total column.

    Form.Page1.budget.totalCosts.totals.Food::Calculate - (FormCalc, client)

    $.rawValue = sum (form.page1.budget.costs.row [*] .food)

    Steve

  • vFoglight rule not pulling

    I created a rule to monitor several VM and alert if ever, they move from their designated hosts. When I put the script of condition in the "Run Query Condition" it runs the code with success and returns 'True' or 'false' However the rule does not generate an alarm. I broke the rule returns "true" as shown below and checking that the rule is active. Any help would be great

    The script takes the name of the virtual machine and splits the name where "vgw" and then puts the back with "esx" name in name. He uses this name to compare with the name of the esxServer /, if they are different, then the script should return true and set off an alarm. (for the test I put the script returns true if esxServer name matches the string that I created)

    example: mynamevgw001--> mynameesx001

    VM = scope.get ('name')

    esxhost = scope.get('esxServer/name')

    myArray = vm.split ('vgw')

    myString = "esx".

    esxhostcompare = myarray [0] + mystring + myarray [1]

    If (esxhost is esxhostcompare)

    Returns true;

    Thank you

    After working with support, we found that the rules 'Data Driven' will not draw if there is no data measures in the rule condition. In my article, I used only the properties of the object of topology VMWVirtualMahine.

    The two options that I would need to do to make the fire rule is:

    1. define rule driven time, then select fire without data option

    or

    2 Add a metric of observation to the condition

    VM = scope.get ('name')

    myUP = #uptimePercent #.

    esxhost = scope.get('esxServer/name')

    myArray = vm.split ('vgw')

    myString = "esx".

    esxcompare = myarray [0] + mystring + myarray [1]

    If (esxhost == esxcompare) return true;

    otherwise return false;

  • Extract the Variables from Script Powershell

    Hey guys

    I am building a workflow active directory of this synchronization for the IAC database and I'm looking to make the most effective possible by reducing the amount of powershell scripts I use one only and then use the variables powershell to get what I need.

    Is it possible to extract the variables stored in a variable of workflow instead of use the output of the powershell statement?

    Has anyone built a workflow to users of this synchronization of DB works maximum efficiency on the when modified date now that mine is 28 minutes to synchronize 200 users.

    Matt

    From a design point of view, I would say to use the generic OLEDB data adapter.  There is an OleDB for Active Directory Provider called ADsDSOObject. You can find it by searching on the Microsoft site.  It can be installed as part of the standard Windows or .net.  I'm not sure. If you could get it saved on the server of PO, you would be able to do a select and use the output as native table instead of the Powershell output analysis.

    PowerShell has a tendency to be underperforming.  Certainly, I'd caution against the appellant PowerShell repeatedly in a loop.

  • MDX report script...

    Hello

    I am writing some MDX queries via trying to convert remaining report Script.

    Orders of there is an amount in report Script that I've found equivalent in MDX, in particular command TEXT

    < INSTALL {TabDelimit} {decimal number 10} {IndentGen-4} < ACCON < SYM < CITY < END

    < PAGE ("CHANNEL", "REGION", "ENTITY", "PRODUCT")
    < COLUMN ("METRICS")
    < ROW ("TIME", "WEEK")

    Members page
    {SUPPAGEHEADING}
    Members of the column

    Line members


    {JUMP 4}
    {TEXT 10 'HOME'}
    {TEXT 10 'REGION'}
    < UDA ('TIME', LOCAL_REGION)
    < UDA ('WEEK', LOCAL_REGION)
    !

    Thank you

    Hello

    All formatting problems were finally solved in the VBA code.

    So, problem solved

    Thank you

    Best regards

  • amount of bussiness

    Hello

    I would like to know the amount of rule bussiness is supported in the decision table?

    Thank you

    You should check if these rules are grouped and designed properly. There is no restriction on the number of assignments or the number of rules in a decision table (or at least not a documented restriction).

    Think about the 'Business' of business rules part, if you put 1800 rules in a table, it would be easy to maintain? If the decision logic is sometimes too complicated is better to apply this logic in a Web Service with Java, because the ease of maintenance of the business rule is very little. You must balance these variables and to set up your rules in the best conditions.

    Jorge

  • Rounding calc script writing

    I'm new to rule scripts / sofa business. I need to write a cacl scripts which is recommended to round the vale accounts for nearly 10. Please suggest me how and what function can be used to write these scripts.

    Thank you

    Too late guys ;)
    Nice to see us in Action!

    See you soon... !!!

  • How can I create a NoInput rule effectively

    Hello

    My rule script skills are a bit rusty. I have a few accounts that I want to put has no entry, but I don't want to have 1 line per account:

    Noinput ' a L1234 #

    If I put in the account NoInput property in the area of the Usedefined2, could I write a basis of rules no. Input on the scope of Userdefined2?

    Noinput subroutine:

    NoInput "If HS. ACCOUNT. Node2 = NoInput

    End if

    Or should I use the list of accounts?

    You can create a personalized account list that contains all accounts with node2 = "NoInput" like this:

    Void EnumMemberLists()

    "# is a space reserved for when you go to copy the text in your list file, replace you it with the new number of total lists for this dimension
    Dim aAccountLists (1)

    Select HS case. Dimension
    Case 'account '.
    "# is a placeholder for the number correct to list specific when copy you the syntax into your list file aAccountLists (#).
    aAccountLists (1) = "AccountsUD2NoInput".
    GSA SetMemberLists aAccountLists
    Select end

    End Sub

    Void EnumMembersInList()

    Select HS case. Dimension
    Case 'account '.
    Select HS case. MemberListID
    "# is a placeholder for the exact number of the list when you copy this syntax in your file list.
    Case 1
    aLi HS =. Account.List ("", "[Basic]")
    For i = LBound (aLi) to UBound (aLi)
    If HS. Account.UD2 (aLi (i)) = "NoInput" Then
    GSA AddMemberToList aLi (i)
    End If
    Next
    Select end
    Select end
    End Sub

    The above code must appear in a file with the extension .lst and responsible members in HFM using the lists of members of load.

    Then your NoInput routine in your normal rules file would look like this:

    Void NoInput()

    aLi HS =. Account.List ("", "AccountsUD2NoInput")
    For i = LBound (aLi) to UBound (aLi)
    GSA NoInput "A #" & aLi (i)
    Next

    End Sub

    This way you do not check the UD2 during execution of the NoInput rule.

  • Automatic assignment rule

    Hello!

    I work in the trial version of Oracle CRM On Demand. I tried implementing rules of assignment of accounts, drivers and opportunities. After the implementation of rules. However, the attribution rules do not seem to work. Can anyone help?

    Account/lead/opportunity to reassign field should be checked for the allocation to the fire rule.

    You may need to wait all night for groups of rules be effective.

Maybe you are looking for

  • create table 2D

    How to create 2D table using the table 1 following d? Table 1 d is of 0.14, - 1,1,15, - 1,2,14,15,-1 2D table should be 0.14 1.15 2,14,15 When you use insert in the table it needs the same dimension and therefore deletes the last row 2.

  • sending a mass email without disclosing the addresses to each viewer

    I need to send a mass mailing to a contact list but don't want any visible e-mail addresses to other contacts.  How can I do this?

  • Computer Vista laptop starts on its own

    I Hibernate my laptop at night, switch on in the morning and it is completely flat. I think it's Vista put on during the night. I had this problem before. It's been fixed by to change me the time that Windows Update has done its thing. I tried to do

  • How can you start window8 without using a password?

    With the help of windows 8. I prefer to just push a button on my computer and then is Windows on my desktop. How to avoid having to sign in with a password?

  • Questions of the ON24 cloud connector

    You have some questions, little that can actually be applicable and able to answer by people using connectors of cloud by other Webinar providers too...(1) by using the register cloud connector, I notice more often, he can send that ON24 data once a