Sun_Console rule alarm help

I want to exculd a specific alarm agent Sun_Console. I'm a silly script so please be patient. That's what I would like to exclude

May 31 09:58:57 xxx bpjava-msvc [1696]: [ID 401707 auth.error]

open_module: /opt/xxxx/lib/xxx/xxxx_xxx.so.1

failure: LD.so.1:: bpjava-msvc:

fatal: /opt/xxxx/lib/xxxx/xxxx_xxxx.so.1: evil class ELF: ELFCLASS32

This is the condition

checkObservationAlarms (#Sun_Console_ErrorVerbose to 1ms #,)

{the entry->

If (entry.get ("Severity") == "WARNING") {}

Error_Message = entry.get ("Error_Message")

If ("$Error_Message".contains ("ICAP"))

return 0;

on the other

return 2;

}

If (entry.get ("Severity") == 'CRITICAL') {}

Error_Message = entry.get ("Error_Message")

If ("$Error_Message".contains ("ICAP"))

return 0;

on the other

return 3;

}

If (entry.get ("Severity") == "FATAL") {}

Error_Message = entry.get ("Error_Message")

If ("$Error_Message".contains ("ICAP"))

return 0;

on the other

return 4;

}

return 0;

},

{entry, severity-> {switch (severity)}

case 2:

return "" + entry.get ("Error_Message") + "";

case 3:

return "" + entry.get ("Error_Message") + "";

case 4:

return "" + entry.get ("Error_Message") + "";

by default:

Return ' ';

}}, "9f7f00b83f1b546f8d7d3c03de8c7e23") () .size > 0;

Hi Ann

First of all, I don't know anything about this agent as I've never used!  However, within the agent, there is a section of the exclusion list.  Can use you it?

We use the LogMonitor agent and who has a similar option and it works a treat.  I imagine you could fill the list with bpjava-msvc and which would exclude all instances of errors with this text.

Hope this helps

Brian

Tags: Dell Tech

Similar Questions

  • ESD rule needed help.

    My Martti thank you for help on my original question.

    In my haste, I too simplified the real problem.

    What I really want, it's a general rule such as:

    -Warnings are optional, but if there are, they must be the first.

    -Precautions are optional, but if there are, they must be after warnings (if any). that is the rule of Genesis: warning *, attention *.

    -Notes and paragraphs are optional, there can be multiples of each, and they can be in any order after the warnings and cautions.

    -At least one of the elements must be present.

    Valid: WARNING

    Valid: caveat

    Valid: note

    Valid: para

    Validity: warning1, 2 warning, warning, note, notes, para

    Invalid: warning1, warning2, note

    Invalid: para, caution

    Thanks again for the help.

    Joan

    Joan,

    Lynne version is the one you want...

    (warning, attention, (note: para)). (attention, (note: para) *) | (Note: para) +.

    Jim Monaco

  • Create a rule / older instant alarm

    Hello

    I am creating a rule / alarm, this updated fire for snapshots when have more than X days.

    I use the topology: VMWareSnapshot.

    Using an adaptation of the function to create the older snapshot report, I tried to create the rule.

    creationSnapshot = scope.creationTime.getTime ();

    now = new Date () .getTime ();

    diffHours = (now - creationSnapshot) / 3600000;

    diffDays = diffHours 24;

    (diffDays > = registry ("VMW:Old.) Snapshot.Warning'));

    When I test the condition in the script console, and in the rule condition, it works fine, but when the rule never fired.

    I forgot something?

    Thanks for any help or ideas

    Kind regards

    Alexander Ortiz

    Strategic Solutions Consultant

    Reference Dell | MCLA APM software, group

    Office + 57 312 568 4791, mobile + 57 312 568 4791
    E-mail [email protected]

    Hi Alex

    Yes, I'll try

    The rule definition:

    Only the State of alert is enabled:

    Condition

    Article: vBundle-1 VM Snap Shot age

    First - check VM list ignore

    Second - check VM has Snap Active

    Check the third - instant age

    List skip from reading the registry

    def IgnoreList is registry ("vBundle.vm.snapshot.age.ignore.list");.

    Get the name of VM

    def VMName1 = scope.get ("name");

    def boolean found = false;

    If (IgnoreList! = null) {}

    Found = IgnoreList.contains (VMName1) ;}

    If (found) return false;

    Check if the virtual machine has a snapshot active

    if(Scope.currentSnapshot == null) {}

    return false}

    Estimate the age of the snapshot

    def NumOfDays is registry ("vBundle.vm.snapshot.age.warning.days");.

    try {}

    creationTime = scope.currentSnapshot.get("creationTime").getTime ();

    If (creationTime == null) return false;

    now = new Date () .getTime ();

    diffHours = (now - creationTime) / 3600000;

    diffDays = diffHours 24;

    If (diffDays > = NumOfDays)

    Returns true;

    Otherwise, return false}

    catch (System.Exception e) {return false ;}

    Alarm message:

    [Warning] Virtual Machine: '@VMName' has a named snapshot: '@SnapshotName', it is longer than @WarningDays days. Remove the old clichés.

    There is no variable defined severity level.

    The Action is an EmailAction:

    mail.message

    VM (@VMName) has a snapshot that is @WarningDays the old days

    Discovers the alarm to: @foglight_rule_alarm_link

    mail. Subject

    [Warning] VM (@VMName) has an old cliché

    Behavior:

    Rule variables:

    Expression CriticalDays return register ("vBundle.vm.snapshot.age.critical.days");

    Expression FatalDays return register ("vBundle.vm.snapshot.age.fatal.days");

    Expression Nom_snapshot scope.currentSnapshot.name;

    VMName expression return scope.get ("name");

    Expression WarningDays return register ("vBundle.vm.snapshot.age.warning.days");

    Registry settings:

    vBundle.vm.snapshot.age.ignore.list

    vBundle.vm.snapshot.age.warning.days

    The days of warning STANDARD are 7 (Disclaimer), 14 (critic) and 30 (fatal).

    I hope this is clear for you

    If you want the critical and Fatal situation, let me know.

    Brian

  • Can we create a rule to capture the URL string in the Hits in the APM cartridge.

    Hi team,

    We have an obligation to create a rule/alarm alert when there is string "File not found" are there in the 'LINK' when we capture the Hits. Please let me know is possible to create this kind of rule in Foglight.

    Thank you

    Shashank Soni.

    To follow on what David said, you can find this useful guide:

    Configuration of the analyzers of success

    Hope this helps,

    Shay

  • have iPhone 6 more how we set up an alarm?

    I have an ipone 6 more, how do we set up an alarm?  Also on my Apple Watch, how do I set an alarm, help please!

    JFK

    If you want to set an alarm that you want to open the app "Clock" and at the bottom, you should see "Alarm" with an old above her wake mode. Who hit and top right, press on the "+" and you should be able to set the time, how many times it repeats itself, the label and the sound.

    For the Part of Apple Watch. You can hit the digital Crown and you should see something that looks like the Alarm key I explained earlier (if your applications are prepared by default it's on the far left). Success that force key on the screen and press 'Add alarm' from there you can do what I explained earlier. Hope you understand how to proceed. Good day!

  • Add a rule to a line curve

    I would add a vector graphic of a curved line rule to help illustrate parts of the boss, is there a tool or add on which exist to do this?

    TIA

  • Creating a CSS in CC rule

    I am trying to create a new rule CSS in CC. I'm not a FORMAT > CSS STYLES > NEW allotted me... I know that the CSS Styles Panel has been transformed into CSS Designer, and I can't find where to create a CUSTOM rule. Help?

    You might want to take a few minutes to cross the new workflow with the CSS designer window: helps Dreamweaver | Panel CSS designer

    .. .or press Ctrl + Alt + Shift + P to get the old CSS back panel.

  • Word format / style rules to improve the conversion of PDF forms

    I remember seeing in a help file guides for people who use Office to adhear to a few simple rules to help when converting to a PDF form.

    We have many check list in different bets on the page and by different people with often little or no training or understanding.  (Notepad is complicated for their understanding - but I digress).

    Thus, we have checklists / Questions etc. in Word tables or in a document, etc.

    There are no guides I can find it recommends no spicific formatting to improve the conversion of Word to PDF format.

    For example.

    Name: OR name: _______ OR name.    Name the name in a field and the next field empty or _ _ or (_ = Undersore)

    So inconsistent as to what is a field and what is NOT...

    Then, it is the common problem of the users using "Insert symbol" like a box (how I hate forms of words that are filled with this Jem)

    Is there a formatting guide 101, which could help to provide assistance to those who are often responsible for "make a form / check list" so that when these documents are then required to be converted into a form PDF; do not start from scratch.

    There must be a document that identified what looks like the PDF Converter in deciding whether or NOT it is a domain!

    OH...  And is there a setting that will allow these symbols of checkbox dredded be recognized as a checkbox form?

    Thanks in advance.

    Mark

    First of all, when you set up the form in WORD, make sure that the Adobe PDF printer is selected in the menu of the printer so that the provision complies when converting to PDF. That has long been a problem with WORD documents/forms that reflow based on the connected printer.

    Acrobat Search essentially everything that seems to be a standard form element (a line of underscores, box or circle) and create a field related to these items. If you leave space, easy to use form tools in Acrobat to create your own fields (or modify those that Acrobat has attempted to add). The key is therefore what would be a normal type of the input in a form field. I'm not sure that the spaces after the colon are recognized as such. I suggest you create a simple shape style in WORD and add a variety of aspects of different shape type to the document and try the conversion. The manual says really nothing more that I mentioned. There are a few tutorials on the creation of the form at Adobe.

    You might find these useful tutorials: http://acrobatusers.com/tutorials/filter/search&keywords=wizard&channel=tutorials&category = 8 & 86 & tut_type = video-OnDemand-graphics-HTML /. I didn't help much in the present, but they can be useful for you.

  • Force evaluation of the rules for the non-existent entities and unknown attributes...

    Hi all

    I have another issue potentially easy for the gurus of the OPA in this forum - there must be a simple explanation to this question but I'm just not see it.

    The problem that I am having with several of my rules, it's that the conclusion is not evaluated due to the non-existent entity instances or unknown entity attributes. As an example of the first scenario, I have a rule that checks for the existence of an instance of an entity with a type and status. The conclusion is evaluated as if there is at least an instance of this entity, otherwise, the conclusion remains unknown.

    Similarly, I wrote an equation to annualize all its (financial) obligations in a case, where the frequency of the obligation can be weekly, fortnightly, monthly, etc.. I created an attribute for each type of frequency, which are then added to the equation. The issue in this example, is that the equation does not conclude if there is not a value for each attribute in the equation. For example, if:

    assign 1 = A + B + C

    where A = 1, B = 2 and C is unknown, does not examine the attribute from 1 to 3, but will remain unknown. Logically, I expect that the lack of a digital defaults to 0, and rather unknown attribute value, but this is not the case.

    I looked at the 'Certain and known operator rule examples' help topic to try to understand how assign a value to an unknown attribute, but the example at the bottom of the topic page does not provide a sufficient explanation as to how the logic:

    point of the total team = team 1 round points + points of the round 2 team + team of turn 3 points

    the team of the round 1 points = 0 if
    Round 1 team points (such as recorded by the team) is unknown

    the team from round 2 points = 0 if
    etc.

    It seems from the example that there are 2 attributes used to the same variable: [team of the Tower, 1 points] and [team of the round 1 points (such as recorded by the team)]. It is not clear to me how the original equation can be concluded if the values are stored in the alternate attribute [points of the round 1 team (such as recorded by the team)] etc.

    I have also considered using fragments of rule by the help topic "Prove an attribute using multiple rules", while I could use two equations separated to set the value of an attribute according to the circumstances, that is to say:

    assign 1 = A + B + C

    1 = 0 if attribute
    attribute 1 is unknown

    This attempt results in a logic loop error, probably because I am trying to set the value of an attribute based on the same attribute value.

    Any help will be greatly appreciated!
    Philippe

    Hi Philippe,.

    I suggest the following way to solve this problem, although there are other ways too.
    You can use a table of rules for it.

    Open a Working Document, and then press 'Alt + Z' created a rules table.

    Use the following rule: -.
    Keep the text in bold in the left-hand column and the text in italics as a condition for the title in the right column. Use a correct indentation during the compilation of the rules.

    -------------------------------------------
    Attribute 1
    -------------------------------------------
    *0*     any
    A is unknown or

    Uncertain East
    and
    any
    B is unknown or
    B is uncertain
    and
    any
    C is unknown or
    C is uncertain
    ----------------------------------------------
    Has any     
    B is unknown or
    B is uncertain
    and
    any
    C is unknown or
    C is uncertain
    ----------------------------------------------
    A + B C is unknown or     
    C is uncertain
    -----------------------------------------------
    A+B+C in the opposite case     

    Thank you
    Sofiane

  • Rules taking a considerable amount of time

    Hello

    Two dimensions in my application that contains 900 and 1500 members. I need to execute a business rule in their combination, one takes 15-20 seconds to all members.

    After the execution of the rule given in some accounts are not populated their blocks have not been created. For this reason, we used the "SET CREATENONMISSINGBLK ON" script; in the business rule. For this reason our rule takes a long time. It took more than 6 hours after the script included.

    Can someone guide me how Please reduce the time taken to run the rule.

    Kind regards


    Soglo

    Hello

    If the result of your calculation is stored at an intersection close to data that are already existing, you can use a datacopy to create blocks. You can then run your rule without help CREATENONMISSINGBLK the VALUE ON.

    example: you have a local currency values and you want to perform a conversion that is personalized for each entity/product and store it on your new currency. You can use a devisesource Datacopy to DeviseCible, which will create the block, but very quickly. Then, you run your rule without CREATENONMISSINGBLK the VALUE ON.

    JM

  • FIRST HP: Normal Distribution

    Hello

    I am trying to solve the following equation:

    X - N(50,15^2) find Pr (50 < X < 70)

    When I type the above in the calculator, the following occur:

    I don't understand why I get a 'erf' rather than a decimal answer.

    Can anyone help me please with the help of the function of standard normal distribution on HP Calculator first.

    Thank you

    Arthur

    Please, do not change the settings of your CASE, as described. Usually it makes more problems then helps until you understand how things work a bit more. Default settings are almost always going to be better for most users.

    Basically, the reason for this is because you are in the display CASE. Click home, try again and you will see it comes out a decimal number. Putting a decimal value at the end of one of your own in the CASE would ALSO return a decimal value lead (as you say the CASE "Please calculate using values digital apprixmated, since I gave you an approximate numeric value with a decimal"), as would hit the function SHIFT + ENTER to close the last calculation After obtaining this result.  None of those are the best solutions instead of changing the settings as shown.

    As to which is the (Railroad), which is in fact the way in which the normal distributions are calculated. See this link for a large Description: http://mathworld.wolfram.com/NormalDistributionFunction.html

    Cite this page: ' or or erf may be expressed in terms finished additions, subtractions, multiplications and extraction of roots, and must therefore be either computed numerically or otherwise by approximation.»

    Essentially, the CASE is you give the representation exact, symbolic of your normal distribution using a function that represents a certain operation. These types of 'special functions' are becoming more frequent in senior type math/engineering calculations.

    When it comes to exact/approximate, mathematicians refer to the idea that something is "a perfect representation of the concept of this thing" or just "a number which is quite close to her.  For example, + infinity is a concept that CASES can actually understand, but a normal calculator could not - he could not hold a number large enough to be "infinite". Yet in many cases, simply put it in a very large number in the calculation is "good enough" to represent the positive idea of infinity.

    Another good example of this is pi. Are pi cannot be represented as a decimal number is perfect, but in most cases a round off the coast of the value is "close enough".   The first CASE mode takes all integer with no decimal to be "the idea of this number. For example, sqrt (2) return sqrt (2) in the form of CASE. It is not a number that can simplify low. If you try to do SQRT(2.) (<-note the. after the two), you say really "take the square root of the number which is"close enough"of the ideal value of 2. The calculator then returns a number that is "close enough" to the result perfect, exact square root.

    If you get an accurate result and want to see the decimal approximation, just press SHIFT ENTER. This sign of equality gribouilli little is the mathematical symbol for "approximates of»

    As to the last question, use this rule to help go you as you - if you try to get an approximate result of decimal number, the home screen is where you work. If you want accurate results, symbolic algebra, the CASE screen is where you work. If you are in the display CASE and you want a decimal result, press shift ENTER to run the command "about" that will make an estimate time of your last result in a decimal number. Make sense?

  • Windows XP Pro, cannot remember password login

    a new computer & put an old man on the Board some time ago. I don't remember the windows xp pro-sign in password. Can I reset it somehow?

    Hello

    Try to connect using the built-in Administrator account. If your normal login screen is a display of the user symbol and hit ctrl-alt-del twice to get to login to text entry. Type administrator as the user name and try a blank password.

    Once logged in as administrator, you should be able to change the passwords for any account.

    See also http://support.microsoft.com/kb/321305

    Beyond that, it's against the forum rules to help with password issues.

    Tricky

  • I can't connect to Windows XP because I do not remember the password, I never asked before.

    When I turned on the computer using Windows XP, Microsoft Windows blue screen opens, tells me to click on my user name (that was) and then type my password.  I tried all the passwords I can think of, and none works.  Microsoft technical support shows a video on how to change my password, but the s I see does not allow me to do what says the video.  I changed my password to Microsoft on my other computer using Windows 7, but this password no longer works.

    If you are using XP Home Edition, the built-in Administrator account probably doesn't have a defined password. You can start in safe mode, where this account will be selectable when connecting.

    To start in safe mode, keep hitting F8 twice a second after turning on the PC until you get the start menu where safe mode is selectable by the up/down arrow keys, and then press ENTER.

    If you are using XP Professional, try to connect using the built-in Administrator account. You don't need to do it in safe mode (although you can if you wish). If your normal login screen is a display of the user symbol and hit ctrl-alt-del twice to get to login to text entry. Type administrator as the user name and try a blank password.

    Once logged in as administrator, you should be able to change the passwords for any account.

    See also http://support.microsoft.com/kb/321305

    Beyond that, it's against the forum rules to help with password issues.

    Tricky

  • password for parental control! How to reset if forgotten.

    I forgot the parental control password. How can I reset?

    Microsoft can not tell you how to bypass the password. Please see their policy here: http://support.microsoft.com/default.aspx/kb/189126

    If you have an another administrator account on the system, you may be able to reset the parental control using this account - but I'm not sure, you can reset the parental control password (or if the other account administrator will be able to access the parental controls without a separate password if one has been created for this feature).  You'll have to maybe just disable parental control entirely if you want that the issue that you are experiencing to go further (but which will disable all other controls as well).

    Here is a good tutorial on how to use the Parental control - but he doesn't answer your question precisely http://www.bleepingcomputer.com/tutorials/tutorial139.html.

    Sorry we can not help you more, but the rules to help move beyond passwords does not allow me to provide and guide or links to something that might help.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • "Windows Mail wants to alert you Fatal error: Invalid argument," then stops my e-mail address

    Help with Windows Mail error

    I get a message, ' Windows Mail wants to alert you Fatal error: invalid argument "then stops my e-mail, request to send an error report. etc.  There are other users on this computer do not face this problem.  I received a lot of spam since I've added a few new members of the team of my daughter's soccer team.  Someone at - it help him?

    For junk mail, you can configure message rules to help eliminate the junk.  For the other question, check first for the antivirus or other program 3rd party interference (see www.oehelp.com/OETips.aspx#3) then try to compact and repair the database (www.oehelp.com/WMUTil/) and see if that fixes the problems.  If you have important messages, make sure that you back up them (see www.oehelp.com/backup.aspx#wm).

    Steve

Maybe you are looking for