Rule does not fire

Hi, I wrote a custom rule for checking a failover from the primary to a database of pending. The agent runs very well - without problems. Any other rule based on this agent also works. Information based on:

The agent collects among other database status - which is a StringObservation. Te PRIMARY, STANDBY PHYSICAL values. Now I will inform each other DBA that a database from the database role.

Scoping:

_Table

Data-driven

Rule multiSeverity:

Cond WARNING:

def statusListe is server. DataService.retrieveLastNValues(scope,"database_role",2).value

If (statusListe.size == 2) {}

return statusListe [0]! = statusListe [1]

} else return false;

MessageText: whatever it is, all tested (with or without severity-level variables)

If a failover is taken I don't receive any of my rule. But the condition in the rule editor (Scoped th my database) is true. Actual values:

return the server. DataService.retrieveLastNValues(scope,"database_role",5).value--> [PRIMARY, PRIMARY, STANDBY PHYSICS, PHYSICAL STANDBY, PRIMARY]

To test, I changed the rule also hunted time (30 years), but the result is the same - in no case.

FMS is 5.5.4.7. Tips are welcome.

Concerning

Jochen

Hi all

solution of the problem of the rule:

If a rule condition works with the server. DataService and that you do not use the ' #metric / observation #' notation in your rule, the services of the State has no knowledge on the correct extended metric and does not trigger the rule. The solution is quite simple:

make a false definition with the notation "#". In my case:

def a = #database_role #;

It works, the rule fires.

Concerning

Jochen

Tags: Dell Tech

Similar Questions

  • Canon 70 D my internal flash does not fire. It is broken or do I have an error in the settings.

    My Canon 70 D internal flash does not fire. I'm not sure if I made a mistake in my settings.  I usually shoot with a distance of exile 580 flash on the slave. The custom internal flash now or trigger a pre-Flash. So I think that it's broken by need help to rule out any possible error in the settings... Thank you

    CCTeen wrote:
    All these answers are in the correct sessions. If the "bulb" can break on the flash?

    Yes, certainly.

    High value Multi Shot Noise reduction option ISO NR will also disable flash, however.  To check this option too.

    If in doubt, perform a reset to the default values.  Now I'm really out clues .  You will need to send it.

  • E-mail rule does not always work.

    I have attached a copy of this message and the State which must have managed to get rid of it. If I change the rule and apply it, it works, but tomorrow if I get a similar message, the rule does not work. What's wrong?

    Thank you, Fred

    Try to delete the order and leave just the command Delete.  Back up e-mail in the junk mail folder in the Inbox and use the menu option Message ➙ apply rules to see if that solves it.

  • I AM A77V flash does not fire

    For some reason any the flash does not fire on my camera. I have been through all the settings, I can find that might be related, but to no avail. It triggers the Red beam focus, but will not flash or even allow the shutter turn on flash mode.

    Please set up the device for repair or service will be required. Here is the link https://eservice.sony.com/webrma/web/index.do

    Thanks ricky.

  • FVS336Gv3 multi-NAT inbound firewall rules does not

    I have about 30 Netgear FVS338 and a few FVS336Gv2 routers in use. I use for firewall and provide multi-NAT between industrial machines and WAN. The configuration was changed on Gv3 models and I can't get an answer behind the firewall or router in the diagnostics page when you use the WAN address.

    In the examples below the WAN is 10.62.

    Figure 1. Two different devices with two different configuration options.

    Figures 2 and 3. The first is bad - it would only connect from this address. Have I set up another correctly to the NAT WAN to LAN 10.3.110.215 address 10.62.31.55 address?

    Q1: Is Figure 3 configured correctly?

    Q2: Why is it forcing me to create a range of addresses? On the older routers, I had the opportunity to address.

    Q3: Is anyone aware of any problem with this router?

    For anyone having the same problem, the FVS336Gv3 requires the manual addition of each new address WAN-side. He is buried in the menu structure:

    Figure 1. Network configuration | WAN settings | WAN configuration. WAN1 - Edit.

    Figure 2. Select the secondary addresses.

    Figure 3. Add the required WAN addresses.

    Now configure the inbound firewall rules:

    Figure 4. Security | Firewall rules. Add or change. Note that the WAN secondary addresses are available in the drop-down list address WAN IP.

    Password

    There seems to be a problem with this router about the session timeout. I got them several times on the navigation menu and log on again and renavigate. Idle time-out is set to 90 minutes. I never saw this problem on routers earlier.

    Also, note that the password field now has a limited character set. for example, it does not accept ' $'.

  • ACS 'Password change rule' does not work with telnet

    Hello:

    I am configuring users will have to change their password when they enter a network device, the first time they connect.

    I have a camera ACS 4.0, the option "disable TELNET change password against this ACS and send the following message to the telnet users session" is disable. When I try to enter in a Catalyst 6500, for example, I type user and pass and I get rejected (RADIUS is the protocol used).

    In the reports of the CSA, I can see, it seems the following error "Impossible authentic - CS expired password.

    I activated the option 'Apply the password change rule' in group settings, other options for the 'password aging rules' are disabled.

    Thanks for your help,

    Francisco

    You can use GANYMEDE + to get the change of password to work.

    Does not work with the RADIUS.

  • Role membership rule does not

    Hi guys,.

    When I create a role and assign 'rule of membership', the members appear in the preview screen.

    But they may not see the place in the screen of the members of this role.

    My environment is 11 GR 2 SP1.

    It works fine in GR 11, 2 base. But some Pack bundle and then it doesn't.

    1. is it normal?

    2. If so, why is it changed?

    3 and how shoul I assign members to the role?

    (as a solution, I modified the memner arrtibute. = > does not)

    and restart IOM, = > still does not

    and restart the server. (> still does not...)

    can anyone help with this?

    Kind regards

    dongsu

    There is a bug similar to oracle support. There is a workaround solution given but the fix for OIM11gr2ps1 would be in BP4 and later versions

    IOM R2 - when we create a basic role of rule in IOM - UI does not show the results in 'Direct' or 'All' (Doc ID 1598658.1)

    Bug 17362271 : IOM R2 - WHERE WE CREATE a ROLE of BASIS of RULE IN the IOM - UI DOES NOT SHOW RESULTS

  • Calculation of the page does not fire

    Using Oracle Application Express 4.0.0.00.46 on Oracle 11 g 2

    I just want to capture the UPDATE_DATE and UPDATE_USER in columns in my table during the submission of a form.

    I use out of the box 'Process line of TableName' to manage the updates of the table that the form is based.

    My thought was to use the calculations Page to replace the: APP_USER in the element UPDATE_USER to a Point of Compuation of 'After Submit' page
    and a query SQL Page calculation 'select sysdate from double' in the point to Point Compuation UPDATE_DATE page of "after"Submit."

    I expect this to substitute these new values in the elements of the page before submitting and then save them in the database.

    This does not seem to fire - no substitution occurs and no Message error of calculation - appears the table update all columns changed successfully but does not change the columns UPATE_DATE or UPDATE_USER.

    Any ideas of what I should check - or should take a different approach?

    Hello

    I would like to use the database.
    You can get the user name in the trigger using the function v

    v('APP_USER')
    

    and if someone insert the data directly into the database using

    NVL(v('APP_USER'),user)
    

    Kind regards
    Jari

  • 320EX does not fire remotely

    Brand new 320EX working on the T2i, but not remotely. Need to read two books at the same time, but they do not explain how to set the transmission channel on the camera, at the tank game channel I put on the flash.

    Sorry to tell you that the T3i, T4i (and some others) can trigger remote flashes but your T2i does not have the ability to trigger a remote flash.  To do this, you must purchase a kind of transmitter as a ST - E2 or devices off the market.

  • Screen saver does not fire

    The screen saver does not illuminate.

    "LTC-311" wrote in message News: e6e49e12-de5b-4db6-854 c-63716c63842e...

    The screen saver does not illuminate.

    Check what is running in the background - use the Task Manager first.
    The screen saver while using more than about 5% of the processor will prevent activation

    --

    Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The lazy three fingers

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

  • HFM Calc Manager of rules does not appear through excerpts-> elements of the application

    Dear team,

    We have management rules defined in application consolidation HFM EPMA but during extraction through the workspace using snippets-> Application parts, few of them make their appearance, but not all.

    That's why I wonder that all Manager cal rules are run in the context of Consolidation or not. Please provide steps to check whether or not all the rules of calc manager associated with the application.

    According to my understanding, Manager of calc rules should extract through the workspace using snippets-> elements of Application please confirm if my interpretation is correct or not.

    We are om EMP 11.1.2.3

    Your immediate response is much appreciated.

    Thank you

    Hello. Check in the Calc Manager that the desired rules are rule groups that are marked for deployment. If the rules are not in a set of rules, or rules in some rulesets not marked for deployment, then the rules will be not responsible for HFM.

    Kind regards

    Eric

  • Does not fire no audio with action

    I have several symbols, each with its own audio, on a stage.  When I put something at the end of a symbol to show and play the next audio symbol in the next symbol does not play.  Even when I include sym.getComposition () .getStage ().getSymbol("symbol").$("audio") [0] .play (); nothing happens.  I don't know what else to do.  Help, please!

    You must stop the first symbol and start new video symbol. I would do it in the code.

    for example in compositionReady

    var music = sym.getsymbol('symbolName').$("music") [0];

    play the first symbol

    sym.getSymbol('symbolName').play (0);

    Music.Play ();

    Add the code in this symbol on the last image

    sym.getComposition () .getStage ().music.stop ();

    sym.getComposition () .getStage ().getSymbol('nameofnewsymbol').$("music2") [0] .play ();

    etc...

  • Global rules, does not the kickoff when calling service Web CHECKIN_NEW

    Hi all

    We are trying to call web services CHECKIN_NEW/CHECKIN_UNIVERSAL with the required fields like the doctype, securitygroup, primary file title etc...

    It works fine, but the global rules were not the kickoff.

    Ex: Say, we have a rule that says that Field_A is mandatory when SecurityGroup = Public.

    But when we are invoking the webservice with SecurityGroup = Public, content is to check-in even if we do not value Field_A.

    We need global rules to kick sending and we give the error/warning that there is missing field...

    Can you please let us know if we are missing something here, there or another way to get this requirement?

    Thanks in advance,

    See you soon,.
    V

    Funny... I created a global profile rule that triggers a RIDC for CHECKIN_NEW call (my rule checks for the existence of a value in the comments field), and the call to RIDC fails (as I expected) when I only provided no commentary and works when I provided a comment. If the rule engine is indeed fired.

    I think you must post your profile rule. More precisely, exactly how do you define your rule? I think you use the check box "use default value" for the field, which is incorrect for your use case. Also post the rule conditions of activation. They are also probably wrong for the case of the intended use.

    Please do not ask for examples of code until you post your profile in the rule details.

  • Process task does not fire on reset password

    Hello


    I have a task to change the password, which is triggered by the USR_PASSWORD table.
    This command sets the password in the LDAP whenever it is changed in the IOM.
    My task, which affects mainly obpasswordchangeflag true in LDAP, depends on the task to change the password.

    However, these two tasks are not always triggered...

    If I use the IOM admin interface and and reset the password and change the password manually, i.e. to specify the password and klicks ok, it changes the USR_PASSWORD in the table of the USR and triggers the first task that triggers the second...

    But if I use the password reset and use the option generate automatically, it modifies the USR_PASSWORD field in the table to the USR, but it does NOT raise the tasks... Why is this? Do I did wrong?

    D

    Hello

    We assume this behaviour in OIM 11 g is deliberate.

    The system generated password is sent to the e-mail address of the user and seems to be a unique password for the IOM. Reset the password does not work if the user does not have an e-mail address. For some users to admin IOM would reset his or her password, the user would read their e-mail (assuming that they can access their email!). The user will then connect to the IOM by using this unique password and the password to something of their choice. When they do, IOM will spread the news provided by the user password to all resources are interested in it. At least that's what we have deduced the Oracle Identity Manager product version: 11.1.1.3.0.2.0 number of Build: 2.0.

    But if you offer an SR and get a different answer, please post your findings here.

    See you soon

Maybe you are looking for

  • Need help with Device Manager, etc.

    I accidentally uninstalled some components of windows while trying to get rid of the Explorer and ran into a huge problem. I got rid of the accessories and services public and now need to find a way to at least get the Device Manager, preferably with

  • Someone hacked into my laptop and a configuration did change my firewall

    The following ports have been configured manually by a hacker to be open. Can someone tell me why this would be? These ports are known to be used by hackers for specific reasons? Any advice would be welcomed. «The TCP/IP ports: 2869, 5357, 5358» UDP:

  • How can I get rid of vista completely and install xp?

    How can I get rid of vista without having to run 2 operating systems?  and install xp?

  • Laptop HP Pavilion g7 - black screen after login

    Hello, last night, I tried to understand why my Trend Micro antivirus was not updated itself, as I walked through Trend Micro troubleshooting options. I did a scan of firewall and restarted my computer later. When I restarted the computer, the adapte

  • Configurations of Simulator in Eclipse 1.1

    I've just updated the plugin Eclipse 1.1 and am quite willing to start using the ability to warm.  However, I'm fighting to get the Simulator to work with this version.  Most of the time things worked less than 1.0 when I would click on debug or run