Cisco IME - trigger to show package

I have a question and my Google fu is not to give me the answer.

What should I do to see a package of trigger when I select an event, show, trigger package? I ran IP logging for the IP in the event and it is always grayed out.

Thank you!

Using the connection IP is bad option to see the package of trigger. You must use the event-Action 'Verbose alert products' to see. You can use the event-Action-override to set this action for all your events.

Tags: Cisco Security

Similar Questions

  • Issue of Cisco IME

    I have a windows server 2012 running IME to manage my IPS devices on the network. When I do a scan of nessus on this server, it tells me ports 22.80 and 443 are open, even if IIS is not running. I can SSH for looping, but cannot authenticate.

    IME launch a web daemon and open SSH on the host computer, on which he works? I'm trying to understand what application/service opens these ports.

    My IME (version running on Windows Server 2008 R2 7.2.7) appears to open a declaration for the IPS sensors channel managed by using https (tcp/443) as the port target and an ephemeral TCP port as the source. (IMEjava.exe method)

    The other ports it is listening on that concern the PRTG server and the Kiwi syslog daemon, I am also running on this host.

  • Cisco IME and archiving of data

    I have configured EMI to record events once per day (Tools-> preferences-> data archive), but I am not able to find the place where

    This information is stored. Any ideas?

    Hello:

    Try it in the following path

    Cisco Systems of C:\Program Systems\Cisco IPS Manager Express\MYSQL\data\alarmDB

  • Is there a way of filtering of alerts to be send as notifications on Cisco IME 7.1.1

    I'm under Cisco IPS Manager Express version 7.1.  I wish I could send emails of notfication to specific individuals, but I'm not all alerts to fire as a notification.  There are specific alerts that I know not why they are firing and that they cause.  I don't want those fire notification.

    Configure event Action as described in this https://supportforums.cisco.com/videos/1185 video filters

  • Cisco VPN client stats - bypassed packages

    I have a profile that does not allow for split tunneling for the VPN client. Yet, when a client connects, the connection statistics indicate that some traffic is listed as 'bypassed '.

    Did someone knows what this traffic would be, and it is indeed without going through the tunnel and go to the directly connected LAN?

    Thanks in advance.

    Hello,.

    Here's an explantion:

    Bypassed packages - the total number of packets of data that the Client VPN do not apply because they must not be encrypted. Local ARPs and DHCP are in this category.

    If you happen to have a screenshot of packages more closely examine these packages?

    I hope this helps! If Yes, please rate.

    Thank you

  • Cisco VCS does not show the user account option

    Hi team,

    We have 7.2 VCS server control, I'm not able to see the option of user account under maintenance-Login accounts. Please advise.

    We don't have find me and TMS provisioing Extension service license, don't you think that's the reason.

    I just started my first deployment of VCS, MCU and TMS and I must add customer movie, cisco Jabber video for Ipad and integrtaion with CUCM. CUCM has some end points of polycom and C40 and C60.

    You precious advice will give me comfort during this deployment.

    Irfan

    BR

    Hello

    It's probably because that VCS runs in TMS PE commissioning mode, in which FindMe is managed by the portal user in TMS, meaning there is no need to set up the maintenance > logins on the VCS.

    Edit: You added information that you do not have the keys option Device Provisioning and FindMe. Because user names relate directly to FindMe, the absence of an option key FindMe would explain also unable to see maintenance > login accounts > user accounts.

    -Andreas

  • Database trigger can not see the package global variable after assign in my form

    Hello

    I faced the problem with the trigger and the package variable global using the form designer

    first of all, I get the local IP address machine using WEBUTIL in triggering of the PREFORM and initialize my global package variable by ' Client_Info_Pkg.Set_IP_Address (WEBUTIL_CLIENTINFO.» GET_IP_ADDRESS); ", then I tried to make the DML operation in my form and at the same time I trigger database also uses the package global variable of" Client_Info_Pkg.Gand_IP_Address; "to read in the package, and then insert it into the audit table


    The question this database trigger may not feel the initialization "Client_Info_Pkg.Set_IP_Address (WEBUTIL_CLIENTINFO. GET_IP_ADDRESS)' I did in triggering of the PREFORM and I used to wonder if oracle create new session to run this trigger so he can't see my boot or what?!. .

    the package

    CREATE OR REPLACE PACKAGE Client_Info_Pkg

    Global_IP_Address VARCHAR2 (100);

    FUNCTION Get_IP_Address RETURN VARCHAR2;

    PROCEDURE Set_IP_Address (p_Machine_Name IN VARCHAR2);

    END Client_Info_Pkg;

    /

    CREATE OR REPLACE PACKAGE BODY Client_Info_Pkg

    FUNCTION Get_IP_Address RETURN VARCHAR2 IS

    BEGIN

    RETURN Global_IP_Address;

    END;

    PROCEDURE Set_IP_Address (p_IP_Address IN VARCHAR2) IS

    BEGIN

    Global_IP_Address: = p_IP_Address;

    END;

    END Client_Info_Pk

    relaxation

    --------------

    CREATE OR REPLACE TRIGGER RUNERP.FO_DOC_TYPES_L_T

    BEFORE INSERT OR UPDATE OR DELETE ON FO_DOC_TYPES

    REFERRING AGAIN AS NINE OLD AND OLD

    FOR EACH LINE

    BEGIN

    IF THE INSERTION

    RUN IMMEDIATELY ' INSERT INTO FO_DOC_TYPES_LOG

    VALUES ("I",: DOC_TYPE_ID,: DOC_TYPE_VALUE,: DOC_TYPE_NAME,: Vip_Address' HELP: NEW.) DOC_TYPE_ID,: NEW. DOC_TYPE_VALUE,: NEW. DOC_TYPE_NAME, Client_Info_Pkg.Get_IP_Address;

    END IF;

    IF THE UPDATE CAN

    RUN IMMEDIATELY ' INSERT INTO FO_DOC_TYPES_LOG

    VALUES ("U",: DOC_TYPE_ID,: DOC_TYPE_VALUE,: DOC_TYPE_NAME,: Vip_Address) "USING: NEW." DOC_TYPE_ID,: NEW. DOC_TYPE_VALUE,: NEW. DOC_TYPE_NAME, Client_Info_Pkg.Get_IP_Address;

    END IF;

    IF REMOVE THEN

    RUN IMMEDIATELY ' INSERT INTO FO_DOC_TYPES_LOG

    VALUES ("D",: DOC_TYPE_ID,: DOC_TYPE_VALUE,: DOC_TYPE_NAME,: Vip_Address) "USING: NEW." DOC_TYPE_ID,: NEW. DOC_TYPE_VALUE,: NEW. DOC_TYPE_NAME, Client_Info_Pkg.Get_IP_Address;

    END IF;

    END;

    /

    Thanks in advance

    I solved my problem by using the CONTEXT object, Michael thank you for your interest.

  • 200077 error has occurred to the property trigger Node DAQmx DAQmx Start Trigger (analog Edge.vi:1-> CRT with trigger

    I created a program that reads analog data and draw a waveform, but I need to stop the program when the voltage drops to a certain tension. When I tried the analog edge trigger it showed the error in the subject:

    Reason: The requested value is not supported for this property value. The value of the property may be invalid because it is in conflict with another property.

    Property: Trig startup type

    Requested value: analog edge

    You can select: Digital Edge, no

    I understand what the analog trigger is not available for my DAQmx version, without again getting equiptment, can I use a trigger to stop reading data at a specific voltage?

    How to start and stop a similar read digital triggering?

    Thanks in advance!

    Ah! Well, then the Boolean value of status would be connected to the State of the thread of the unbundled error, Boolean stop to the stop button and the Boolean value to the right would be the stop for loop itself... so something like this (see image).  This is an excerpt from LabVIEW 2014, so it can not easily fall in your version, but I hope it's clear enough on how you can wire it to the top.

  • Cisco IOS router 837 - configure DDNS / dynamic DNS

    I have an Internet, connected to my Cisco router link. The package that I subscribed comes with a dynamic IP address. I said me, if I need remote access in the Cisco router, I need to enable the DDNS function. Is this possible on a Cisco router? I have been informed that this feature is not supported. Please help me

    Hi Bro

    Yes, Cisco ASA and Cisco IOS router supported DDNS. Just make sure you have the right version of IOS, which you could refer to this URL of Cisco http://www.cisco.com/en/US/docs/ios/12_3/12_3y/12_3ya8/gt_ddns.html#wp1202953.

    Please refer to the config below made with dyndns.org.

    !

    hostname INT-RTR1
    !
    IP domain name dyndns.org
    8.8.8.8 IP name-server
    !
    IP ddns update DynDNS method
    HTTP
    Add http://ramraj: [email protected] / * //nic/update?system=dyndns&hostname=&myip=>
    maximum interval of 30 0 0 0
    minimum interval 30 0 0 0
    !
    interface Dialer1
    IP ddns update hostname INT - RTR1.dyndns.org
    IP ddns update DynDNS
    !

    Note: hostname = INT - RTR1.dyndns.org was the host added/registered in the dyndns.org site.

    Note: Press Ctrl + V, then just type the symbol? When to add the CLI adds http://___ above.

    Note: ramraj:cisco123 is simply an example of an IDs in dyndns.org.

    You can also refer to this URL for more details http://www.petri.co.il/csc_configuring_dynamic_dns_in_cisco_ios.htm

    P/S: If you cela this comment is useful, please rate well :-)

  • Cisco has a software or a device can save the NAT information?

    Hi experts,

    Here's a government rule in our country, to provide at least 90 days NAT balls (or source called traces) if the market or the hotel provides internet services.

    I just want to know, just about any device cisco can does support this?

    ASA or firepower with ISE and internal drives?

    Thank you very much.

    Of course, ASAs will record all the NAT actions they take. Also all the connection records - assuming that you have logging enabled at the correct level.

    You must send your syslog events to an external server for the archiving of history.

    See something like suggesting this thread:

    https://supportforums.Cisco.com/discussion/12515061/show-NAT-tranlations...

  • Cisco IOS SSL VPN does not-Internet Explorer

    Hi all

    I seem to have a strange issue of SSL VPN.  I have a Cisco 877 router with c870-advsecurityk9 - mz.124 - 24.T4.bin and I can't get the SSL VPN (VPN Web) works with Internet Explorer (tried IE8 on XP and IE9 on Windows 7).  When I go to https://x.x.x.x, I 'Internet Explorer cannot Display The Webpage ".  It kind of works in Chrome (I can get the Web page and connect, but I can't start the thin client, when I click on Start, nothing happens).  It seems to only work with Firefox.  It seems quite similar to this topic with the ASAs - http://www.infoworld.com/d/applications/cisco-asa-users-cant-use-ssl-vpns-ie-8-901

    Here is an excerpt of the configuration:

    ------------

    !

    username password vpntest XXXXX

    AAA authentication login default local
    !
    !
    !
    Crypto pki trustpoint TP-self-signed-1873082433
    enrollment selfsigned
    name of the object cn = IOS - Self - signed - certificate - 1873082433
    revocation checking no
    rsakeypair TP-self-signed-1873082433
    !
    !
    TP-self-signed-1873082433 crypto pki certificate chain
    certificate self-signed 01
    -omis-
    quit smoking
    !
    WebVPN gateway SSLVPN
    router host name
    address IP X.X.X.X port 443
    SSL encryption aes-sha1
    SSL trustpoint TP-self-signed-1873082433
    development
    !
    WebVPN context SSLVPN
    title "Blah Blah"
    SSL authentication check all
    !
    Login-message "enter the magic words...". »
    !
    port-forward "PortForwardList."
    description of remote-port 3389 to remote-server '10.0.1.3' local-port 33389 "RDP".
    !
    SSL-policy strategy group
    port-forward "PortForwardList" auto-Télécharger
    Group Policy - by default-SSL-policy
    Gateway SSLVPN
    users of max - 3
    development

    ------------

    I tried:

    Activation of SSL 2.0 in Internet Explorer

    * Adding the site to websites of trusted in Internet Explorer

    * Add to the list of sites allowed to use Cookies

    At a loss to understand this.  Has anyone encountered this before?  Whereas Cisco's Web site shows an example usage of IE (http://www.cisco.com/en/US/products/ps6496/products_configuration_example09186a008072aa61.shtml), surely, it should work in IE you would think?

    Thank you

    Hello

    I would check out where exactly it is a failure, either the connection ssl itself or something after that. The best way to do that is executed a wireshark capture when you try to access the page using IE. You can compare this with that with Mozilla too just to confirm that ssl works fine.

    Also you can try with different SSL encryption algorithms as a difference between the browsers is the encryption they use. 3DES is expected to be a good option to try.

  • Download upgrade packages - package is not available

    Hello

    I use OME to update my servers, I find OME is unable to download the package, it shows "Package is not available", but the package can be downloaded via the browser on the server of the OME.

    Anyone know why this happen?

    Steven

    Hi Steven,

    Thanks for the update!

    Then, refer to the online catalogue (e.g., FTP) source? If so, make sure you tried to configure the proxy settings located under the Preferences tab and using the Test connection button in he same page will confirm connectivity.

    Keep us informed, if it works.

    Thank you

    Castro

  • County of trigger

    Hi all

    I use

    Connected to Oracle Database 11g Express Edition Release 11.2.0.2.0

    I use the Oracle HR schema

    I'm learning triggers

    This is my table script.

    CREATE TABLE EMPLOYEES_COPY

    AS

    SELECT * FROM EMPLOYEES

    CREATE TABLE EMPLOYEE_LOG)

    VARCHAR2 (30) WHO,.

    ON WHAT DATE).

    ALTER TABLE EMPLOYEE_LOG

    ADD (ACTION VARCHAR2 (2000))

    CREATE OR REPLACE PACKAGE STATE_PACKAGE

    AS

    NUMBER OF ROWS_CHANGED;

    END STATE_PACKAGE;

    CREATE OR REPLACE TRIGGER BIUD_EMPLOYYES_COPY

    BEFORE INSERT OR UPDATE OR DELETE

    ON EMPLOYEES_COPY

    BEGIN

    STATE_PACKAGE. ROWS_CHANGED: = 0;

    END;

    CREATE OR REPLACE TRIGGER BIUDFER_EMPLOYEES_COPY

    BEFORE INSERT OR UPDATE OR DELETE

    ON EMPLOYEES_COPY

    FOR EACH LINE

    DECLARE

    L_ACTION. EMPLOYEE_LOG % ACTION TYPE;

    BEGIN

    IF THE INSERTION

    L_ACTION: = "INSERT."

    ELSIF UPDATE THEN

    L_ACTION: = 'UPDATE ';

    ELSIF DELETION THEN

    L_ACTION: = 'DELETE ';

    ON THE OTHER

    RAISE_APPLICATION_ERROR ("-20001,' YOU SHOULD NEVER GET THIS ERROR.");

    END IF;

    STATE_PACKAGE. ROWS_CHANGED: = STATE_PACKAGE. ROWS_CHANGED + 1;

    IF UPDATING ('SALARY') THEN

    L_ACTION: = L_ACTION | ' - ' || "WAGES FOR EMPLOYEE_ID" | : OLD. EMPLOYEE_ID |

    "PAST". : OLD. SALARY | « À » || : NEW. SALARY;

    END IF;

    INSERT INTO EMPLOYEE_LOG(WHO,ACTION,WHEN) VALUES (USER, L_ACTION, SYSDATE);

    END;

    SELECT * FROM EMPLOYEE_LOG

    ---------------------------------------

    CREATE OR REPLACE TRIGGER AIUD_EMPLOYEES_COPY

    AFTER INSERT OR UPDATE OR DELETE

    ON EMPLOYEES_COPY

    DECLARE

    L_ACTION. EMPLOYEE_LOG % ACTION TYPE;

    BEGIN

    IF THE INSERTION

    L_ACTION: = STATE_PACKAGE. ROWS_CHANGED | "AIRPLANES" | "INSERTED";

    ELSIF UPDATE THEN

    L_ACTION: = STATE_PACKAGE. ROWS_CHANGED | "AIRPLANES" | 'DAY '.

    ELSIF DELETION THEN

    L_ACTION: = STATE_PACKAGE. ROWS_CHANGED | "AIRPLANES" | 'DELETED ';

    ON THE OTHER

    RAISE_APPLICATION_ERROR ("-20001,' YOU SHOULD NEVER GET THIS ERROR.");

    END IF;

    INSERT INTO EMPLOYEE_LOG(WHO,ACTION,WHEN) VALUES (USER, L_ACTION, SYSDATE);

    END;

    UPDATE EMPLOYEES_COPY SET SALARY = SALARY * 1.05

    WHERE DEPARTMENT_ID = 20

    SQL > SELECT * FROM EMPLOYEE_LOG;

    WHO IN ACTION

    ------------------------------ ----------- --------------------------------------------------------------------------------

    UPDATE 23/05/2015 9 HR

    UPDATE 23/05/2015 9 HR - SALARY FOR EMPLOYEE_ID 201 PASSED UNDER 15015 TO 15765.75

    UPDATE 23/05/2015 9 HR - SALARY FOR EMPLOYEE_ID CHANGED 6930 AT 7276.5 202

    HR 23/05/2015 9 2 HAVE BEEN UPDATED

    Please let me know if my understanding is corect

    First, we declare a variable ROWS_CHANGED overall in a package specification, so that it remains

    throughout the session.

    Then, we create pre-writ BIUD_EMPLOYYES_COPY count zero STATE_PACKAGE to the global variable. ROWS_CHANGED: = 0;

    Then the front trigger BIUDFER_EMPLOYEES_COPY is triggered, it will increase the variable count ROWS_CHANGED


    She will insert in EMPLOYEE_LOG details table.


    After that the next trigger than aiud_employees_copy fires

    It is triggered after the lines changed



    Please let me know that my interpretation is correct.


    I have a doubt


    Y at - it any guarantee that trigger BIUD_EMPLOYYES_COPY will be triggered before BIUDFER_EMPLOYEES_COPY


    Thank you

    Hello

    old version

    11.1 http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/triggers.htm#LNPLS99985

    Classification of triggers

    A relational database does not guarantee the order of the rows processed by an SQL statement. Therefore, don't create triggers that depend on the order in which the rows are processed. For example, do not assign a value to a package variable overall in a trigger line if the current value of the global variable depends on the line being processed by the trigger of the line. In addition, if the package global variables are updated within a trigger, then it is best to initialize these variables in a BEFORE trigger of the statement.

    newer version

    11.2 PL/SQL triggers

    Design of trigger instructions

    • Use triggers to ensure that whenever a specific event occurs, all the necessary actions are completed (regardless of which user or the application issues the statement of release). For example, using a trigger to ensure that whenever someone updates a table, the log file is updated.
    • Don't create triggers that duplicate the functionality of database. For example, do not create a trigger to reject invalid data if you can do the same thing with the constraints (see "How triggers and constraints are different").
    • Don't create triggers that depend on the order in which an SQL statement treats the lines (which can vary). For example, do not assign a value to a package variable overall in a trigger line if the current value of the variable depends on the line being processed by the trigger of the line. If a trigger updates the package global variables, initialize variables in a BEFORE trigger of the statement.
    • Use BEFORE rank of triggers to change the line before writing data to disk.
    • Use AFTER rank of triggers to get the row ID for use in operations. A AFTER row trigger fires at the hearing of trigger results in ORA-2292. Note: AFTER line triggers are slightly more effective than the BEFORE rank of triggers. With BEFORE line triggers, data blocks are read first for relaxation, then for the triggering statement. With AFTER line triggers, data blocks are read only for relaxation.
    • If the statement to trigger a BEFORE trigger statement is a UPDATE or DELETE statement that is in conflict with a UPDATE statement that is running, then the database no atransparent ROLLBACK to SAVEPOINT and restarts the triggering statement. The database can do several times before the trigger statement to be completed successfully. Whenever the database restarts the trigger statement, the trigger fires. The ROLLBACK in SAVEPOINT does not cancel the changes made to the package variables that refers to the relaxation. To detect this situation, include a counter variable in the package.
    • Don't create recursive triggers. For example, do not create one AFTER UPDATE trigger that emits a UPDATE statement on the table on which the trigger is defined. The trigger is activated recursively until it is short-term memory.
    • If you create a trigger includes a statement that accesses a remote database, then put the exception handler for this statement in a stored subprogram and invoke the subprogramme of the trigger. For more information, see "Managing Remote exceptions".
    • Use DATABASE triggers wisely. They are triggered whenever any user database fires a trigger event.
    • If a trigger executes the following statement, the statement returns the owner of the trigger, not the user that updates the table:
      SELECT Username FROM USER_USERS;
      
    • Only triggers engaged the fire.

      A trigger is engaged, implicitly, after the CREATE TRIGGER statement that creates it succeeds. Therefore, the following statement can not fire the trigger it creates:

    CREATE OR REPLACE TRIGGER my_trigger AFTER CREATE ON DATABASE BEGIN NULL; END; /
    
  • To allow for modular installation of applications with triggers on the same tables, create multiple triggers of the same type, rather than a single trigger that performs a sequence of operations. Each trigger sees the changes made by the triggers have already fired. Each trigger can see OLD and NEW values.
  • Has not changed in version 12.1 http://docs.oracle.com/database/121/LNPLS/triggers.htm#LNPLS2002

  • Why the DR unit does not trigger schema when it is called remotely?

    Hi all

    I have a question about the triggers of oracle schema and I would be grateful if you could kindly give me a helping hand.

    Oracle version: 11 GR 2 (11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit)

    OS:                      Linux Fedora Core 17 (X86_64)

    I was reading the online documentation on schema triggers where oracle says:

    Assume that users user1 and user2 own schema triggers and user1 invokes a DR unit owned by user2. Inside the DR unit, User2 is the current user. Therefore, If the DR unit triggers the triggering event of a trigger schema that User2 owns, while the trigger is activated.

    I wanted to see this behavior in practice, so I made the following test case:

    -There are two schemas:

    • testuser where I create a procedure with AUTHID DEFINE (a unit of the Dr. therfore) named createTab. This procedure takes a table name as a parameter and if no table with this name exists already in the testuser schema, it will create a new table with the same name with a single column of type NUMBER (well, it's just an example to this issue, in practice I never create my tables this way)

    • training is therefore another scheme to which we grant the privilege EXECUTE on the above mentioned procedure createTab so that it may be possible to create tables on schema testuser by calling the remote procedure.

    The idea behind the test is to create a schema for testusertrigger, so that whenever he is, for example, a creation of the table, a message is inserted into a table of newspaper (just an example to show proof that trigger the diagram has been drawn on the table creation event). Now assuming I admit the EXECUTE privilege on the procedure of createTab for the trainingscheme, then any creation of the remote table must trigger the schema trigger, because according to the documentation inside the unit of the DR, the user is not considered appellant user (= training) but actually the owner (= testuser) that created the trigger and procedure.

    The problem is that I cannot see it in my test. Therefore I will write here my test case so that you can have a look at it and to indicate where I did wrong, and what I misunderstood in the documentation.

    So here's what I created on the schema testuser

    Code

    SET SQLBLANKLINES

    ALTER SESSION SET PLSQL_WARNINGS = ' ENABLE: ALL ';

    SET SERVEROUTPUT ON;

    -A table of newspaper in which the schema trigger inserts messages


    -indicating that the schema trigger was triggered (as proof)

    CREATE TABLE tablog (logMsg VARCHAR2 (100));

    -Here is the procedure that updates the above defined log table (tablog)

    -This procedure (autonomous transaction) is called by the schema trigger

    CREATE OR REPLACE PROCEDURE updateLog (p_logMsg IN tablog.logMsg%TYPE)

    DEFINE AUTHID

    IS

    PRAGMA AUTONOMOUS_TRANSACTION;

    BEGIN

    INSERT INTO tablog (logMsg) VALUES (p_logMsg);

    COMMIT;

    END updateLog;

    /

    DISPLAY ERRORS;

    -This is the procedure we use to create tables (which will be called so

    -remotely from another schema-> training)

    -As stated above, the procedure takes a table
    -name as a parameter and creates a table with a single column of type NUMBER

    -that if no table with this name exists already

    CREATE OR REPLACE PROCEDURE createTab

    (

    p_tabName IN user_tables.table_name%TYPE

    )

    AUTHID DEFINE - Therefore a unit DR that we explicitly specify AUTHID DEFINE

    IS

    BEGIN

    < < bk > >

    DECLARE

    tabName user_tables.table_name%TYPE;

    BEGIN

    -Check to see if a table with the name p_tabName
    -already exists

    T1.table_name SELECT INTO bk.tabName

    FROM user_tables t1

    WHERE t1.table_name = upper (p_tabName);

    EXCEPTION

    -No table with this name exists, so we create now

    WHEN NO_DATA_FOUND THEN

    IMMEDIATELY RUN 'CREATE TABLE ' |

    p_tabName | '(NUMÉRO n) ';

    END;

    END createTab;

    /

    DISPLAY ERRORS;

    - And finally it is the schema for the schema 'testuser '.

    -Any appeal of the above mentioned procedure createTab (if the procedure)
    -creates a new table) fires the following trigger

    CREATE OR REPLACE TRIGGER testuser_schema_tr

    Before you CREATE on testuser.schema

    BEGIN

    -Just insert a message into the table of the newspaper showing the evidence
    -that our schema trigger wiped of CREATE TABLE
    -statements

    updateLog

    (

    TO_CHAR (sysdate, ' ' MON-DD-YYYY HH24:Mi:ss) |

    ' ': Schema for testuser trigger pulled.

    );

    END testuser_schema_tr;

    /

    DISPLAY ERRORS;

    -I grant the privileges required for the formation of the user/schema
    -may also be able to remotely run my procedure

    GRANT EXECUTE ON createTab to training;

    GRANT SELECT ON tablog to training;

    First, I tested the procedure createTab locally (so be etre connecte connected as drawing testuser , in other words, the owner of the procedure and the relaxation). Everything worked pretty well and created table, that table the journal has been updated by the trigger which showed that in fact after each CREATE TABLE statement, the trigger was activated.

    However, when I opened a new SQL * Plus term, this time in being connected as a training scheme, I have observed that, once again, it was possible to create tables on schema testuser remotely, but the log table has been updated no more, which means that the trigger has not wiped CREATE TABLE statements that were issued remotely (by remote createTab procedure call).

    Code

    SQL > EXECUTE testuser.createTab ('tmptab');

    PL/SQL procedure successfully completed.

    SQL > SELECT * FROM testuser.tablog;

    no selected line

    SQL > USER to see THE

    The USER is 'TRAINING'


    SQL >

    Any idea? Why unity DR (createTab procedure) does not have the schema trigger, unlike what documents said, when it is called remotely?

    Thanks in advance,

    Dariyoosh

    It works for me on Oracle 11.2.0.3

    August 21, 2013 18:10:12: trigger pulled schema

    But not on 11.2.0.1

    It looks like a bug.

  • Create the trigger to insert data from one user to another user in same Databas

    Dear Sir, I created a trigger as follows

    CREATE OR REPLACE TRIGGER TRIGGER1
    BEFORE INSERTING
    ON table1
    FOR EACH LINE
    BEGIN
    INSERT IN THE TEST. TABLE2
    VALUES (: NEW.) COLUMN1,: NEW. COLUMN2,: NEW. COLUMN3,: NEW. COLUMN4);
    END;
    /

    I want here to insert my user to user Test data. In this Situation when I Execute The above Trigger it shows error PL/SQL: ORA-00942: table or view does not exist

    Help, please

    What do you mean by run the trigger?
    Do you compile?
    Can be open as a TEST and do the following and try to compile your code of the trigger again.

    grant insert on TEST.TABLE2 to youruser;
    

    See you soon,.
    Manik.

Maybe you are looking for