create an alarm to be notified when oracle db is shutdown

Hello

on 5.5.4, we control an oracle database. How cofigure a notification so that to be notified when oracle db is shutdown?

In help, I saw this:

Foglight for Oracle configuration alarms for Email Notification

To configure Foglight for Oracle email notification:

1

Select dashboards > Administration > rules & Notifications > manage registry Variables.

2

In the filter by the Variable name field, enter the string dbo-email to only display the email related variable notifications.

But do not know how to change them to receive an email when oracle db is stopped.

A tutorial that shows with an example?

in the Configuration Guide and Administration Foglight 5.5.4 I do not see any chapter to this topic.

Thank you.

Guy,

You start by specifying a mail server in Foglight.

Under the houses > welcome edge > configure alarms reporting and power outages

and then configure e-mail settings

Configure the mail server

then set the DB admin user

Golan

Tags: Dell Tech

Similar Questions

  • How to create an alarm NTPd in vCenter

    I tried to create a custom in vCenter alert that warns when the time of the host gets so far out of sync the NTP daemon stops.  I am using "esx.problem.ntpd.clock.correction.error" as the event of the host but no luck on getting this fire.  I can't even offer published in newspapers indicating the time synchronization attempt.  Has anyone ever been able to create a way to be notified when a host is out of sync?  I followed all articles and William Lam of Horst without result.

    Thank you

    Weblee

    Updated - alarm works!  Alert is triggered when the NTP daemon stops!

  • How to: create an alarm when a VM (or VM) is migrated?

    Hello

    Someone has already tried to create an alarm in vCenter where you would get messages when a specific virtual machine is vmotioned?

    I know there are rules related to migration, but I couldn't make them work.

    I want to use these alarms as a way to follow a specific set of virtual machines (Nexus VSM modules). (I configure the alarm to send me an email). Ideally I hope of the email contains the new location for the virtual machine.

    Thank you

    Ionut

    Click the top of vcenter > alarms > definitions > new alarm

    ALARM TYPE

    Monitor: Virtual Machines

    Monitor for specific events on this object, for example, VM Power On

    In the triggers

    Event = DRS migrated VM

    Normal State

    ACTIONS

    Add Actions > Send an e-mail notification

    Test it. and post the result here

    Good luck

  • Create the alarm to run the script when migrating a VM

    Very well, I create an alarm that triggers a script that runs whenever a virtual computer is migrated automatically in a DRS cluster. I see in the API documentation that I could use the EventAlarmExpression - & gt; new (eventType = & gt; "VmMigratedEvent") (or maybe one of the other dealing with migration eventType). " The problem is that I don't see a way to be able to use a RunScriptAction with an EventAlarmExpression. It seems the only way is to use the RunScriptAction with a StateAlarmExpression. Here is a code snippet showing if all goes well I would do:

    My = $vmName ' name_of_vm;

    My $alarmScript = ' / usr/sbin/vm_migration_update.pl';

    My $vm = Vim::find_entity_view (view_type = & gt; 'VirtualMachine.

    filter = & gt; {name = & gt; $vmName}) ;

    My $alarmMgr = Vim::get_service_content() - & gt; alarmManager;

    my $alarm = Vim::get_view (mo_ref = & gt; $alarmMgr);

    My $alarmExpr = EventAlarmExpression - & gt; new (eventType = & gt; (' VmMigratedEvent');

    My $alarmAction = RunScriptAction - & gt; (new)

    script = & gt; $alarmScript

    );

    My $alarmTrigger = AlarmTriggeringAction - & gt; (new)

    action = & gt; $alarmAction,

    1. red2yellow = & gt; 1,

    1. green2yellow = & gt; 0,

    1. yellow2red = & gt; 0,

    1. yellow2green = & gt; 0

    );

    My $alarmSpec = AlarmSpec - & gt; (new)

    name = & gt; "Migrated VM."

    Description = & gt; 'Trigger to run the script then from VM migration',

    activated = & gt; 1,

    expression = & gt; $alarmExpr,

    action = & gt; $alarmTrigger,

    );

    My $newAlarm = $alarm - & gt; CreateAlarm (entity = & gt; $vm, spec = & gt; $alarmSpec);

    The problem is with the AlarmTriggeringAction. There is nothing to test with an EventAlarmExpression (i.e. the EventAlarmExpression does not provide States of red/yellow/green). So the question is, does anyone know how to set up an alarm that will run a script when an EventAlarmExpression is used. Specifically, I'd like to be able to run a script each time a virtual machine is migrated automatically in a DRS cluster. Pointers would be greatly appreciated.

    David

    Try this:

    C:\Windows\system32\cmd.exe C:\VMware\VMwareCLI\scripts\call_migrate_perl.cmd

    In fact, you can just run scripts perl like this:

    C:\Perl\perl.exe C:\scripts\migrate.pl

    Note: the commands are executed under 'System', not the user of the connection currently. If you don't see it visually. You can take a look at using Windows Task Manager if necessary.

    In addition, you can have parameters of placeholder that will be replaced before the "scripts" are actually executed.

    Good luck!

    Steve JIN, VMware engineering

    Creator of VI Java API: http://vijava.sf.net/

  • Creating an alarm with the reportAlarm of the API in a Simple Street

    I noticed that when I call reportAlarm an alarm is created, but it is deleted automatically. Is it possible to create an alarm that is not automatically cleared by foglight?

    Sample code I use:

    AlarmSourceName = @ruleName;

    AlarmRuleID = @ruleID;

    AlarmMessage = @alarmMessage;

    gravity of the int = 4 / / 2 == warning, 3 is 4 reviews, is fatal alarmID = server String. () AlarmService.reportAlarm

    UUID.randomUUID (m:System.NET.SocketAddress.ToString ()),

    gravity,

    UUID.randomUUID (m:System.NET.SocketAddress.ToString ()),

    AlarmMessage,

    AlarmSourceName,

    AlarmRuleID);

    I can locate the new detector under historical alarms. I expect to be under current alarms.

    Thanks for your response

    I could solve my problem

  • How to auto when oracle crashes unexpectedly

    Hello

    Sometimes my oracle xE 11g Forum on CentOS shutdown unexpectedly. How can I automatically restarts when it breaks down or an unexpected shutdown.

    I know that's not good for restart without reading the newspaper to search for the root cause but however very important. I was traveling and our dedicated server went down for 2 hours.

    When I have access to my pc, then there was a lot of emails from my boss as very important site was not working.

    Question:

    I want when oracle falls down or suddenly stop it do 2 things:

    (1) immediately send me an email that oracle crashed at unexpedtly

    (2) auto start oracle immediately

    Please notify

    Thank you in anticipation

    If [pm - lt 1]

    should be

    If [$pm - lt 1]

    Sorry

  • How to create the file controlf from scratch when there is no backup rman, catalog, or trace.

    Hello

    I am a beginner, I know that we can restore with RMAN control file configure automatic backup feature or by connecting the catalog

    charge the Alter database backup controlfile to trace.

    But suppose that there is no backup. You have the database running in nomount. I came across a blog which was responsible for creating the control file manually and when there is no planned block number error came, the blogger has used the forumale something as expected number of block * 1024 / something. Lost the link to this blog

    was wondering is it possible to create a controlfile from scratch. with little information as the location of the data file, repeat the log size / location.

    Please can someone let me know it in detail or shoot me this link!

    Thank you

    2638616 wrote:

    Hello

    I am a beginner, I know that we can restore with RMAN control file configure automatic backup feature or by connecting the catalog

    charge the Alter database backup controlfile to trace.

    But suppose that there is no backup. You have the database running in nomount. I came across a blog which was responsible for creating the control file manually and when there is no planned block number error came, the blogger has used the forumale something as expected number of block * 1024 / something. Lost the link to this blog

    was wondering is it possible to create a controlfile from scratch. with little information as the location of the data file, repeat the log size / location.

    Please can someone let me know it in detail or shoot me this link!

    Thank you

    1. Yes, you can do this

    2 Controlfile script is standard... link doc oracle: http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm

    3. prepare with the location of the data files and of redologs online then create it.

    Note - If you have placed the name of the different database, then, it will check with datafile and it give error (if you need correct the name of the database)

    As you have not indicated whether or not the last stop of database is compatible (we assume that there are his uniform and mandatory ORL and archives)

    -Pavan Kumar N

  • Oracle cloud virtual image, I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud... But could please at least use us dbconsole?

    On oracle cloud virtual, image I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud. But could please at least use us dbconsole?


    I tried to start dbconsole, and it did not work:

    [oracle@ltutest ~] $ emctl start dbconsole

    OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.


    According to the oracle help doc center - "creating a database on an instance of virtual image service" (http://docs.oracle.com/cloud/latest/dbcs_dbaas/CSDBI/GUID-29290A81-8798-4988-848E-77A1BE0CF08A.htm#GUID-4851560B-D4B6-42...)

    database was created with the option as:

    emConfiguration - NONE - storageType FS


    I guess we have to manually configure the em console, but when I tried to create it, he told me that "' Dbcontrol repository already exists." "

    When I try to start it, it exports the error

    [Oracle@ltutest ~] $ emctl start dbconsole

    OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.

    Could someone could give me help with this problem?


    Thanks Brian. I tried your command, and it works. Now I've encountered another problem, how can I browse the URL?

    I created the access rule for access remote on port 1521 and 1158. but when I try to browse the EM console URL, it does not work. all the configurations that I need to do?

  • Create new alarms

    Hello

    This magnificent script was created by LucD. The script creates a new alarm for the host. Does anyone know how to change the script creates the new alarm in vCenter level.

    $esxName = "hostname".

    $alarmMgr = get-view AlarmManager #only works when connect you to vc not esx
    $entity = get-VMHost-name $esxName | Get-View

    # AlarmSpec
    $alarm = new-Object VMware.Vim.AlarmSpec
    $alarm. Name = "home alarm.
    $alarm. Description = "host followed.
    $alarm. Enabled = $TRUE

    #Action
    $alarm.action = new-Object VMware.Vim.GroupAlarmAction

    $trigger = new-Object VMware.Vim.AlarmTriggeringAction
    $trigger.action = new-Object VMware.Vim.SendSNMPAction

    # Transaction
    $trans = new-Object VMware.Vim.AlarmTriggeringActionTransitionSpec
    $trans.startstate = "yellow".
    $trans.finalstate = "red".
    $trans.repeats = $false

    $trigger.transitionspecs += $trans

    $alarm.action.action += $trigger

    # Expression
    $expression = new-Object VMware.Vim.EventAlarmExpression
    $expression. EventType = "EnteringMaintenanceModeEvent."
    $expression. ObjectType = "HostSystem.
    $expression. Status = "red".

    $alarm.expression = new-Object VMware.Vim.OrAlarmExpression
    $alarm.expression.expression += $expression

    $alarm.setting = new-Object VMware.Vim.AlarmSetting
    $alarm.setting.reportingFrequency = 0
    $alarm.setting.toleranceRange = 0

    # Create the alarm.
    $alarmMgr.CreateAlarm($entity.) MoRef, $alarm)

    What values do you have in the $red and $yellow variables when you assign them to the corresponding properties?

    Maybe fix the script running, that you try to use, so I can take a look.

    BTW is there any error messages when you run your script?

  • Need name of the API to create the hierarchy of the Organization for Oracle HRMS

    Hi all



    (1) name of the API need to create the hierarchy of the Organization for Oracle HRMS

    (2) in the form of the Organization, we have added the Classification, 'HR'.
    When we press 'Costing Information' is displayed.
    We need to download this Information of costs in the body through the API.
    Which API should we used?

    This is urgent.
    Any help in that regard will be highly appreciated

    Thank you

    Hi, Ahmed.

    You can find all the APIs here-
    http://irep11i10.Oracle.com

    Hierarchy of org-
    http://irep11i10.oracle.com/OA_HTML/OA.jsp?page=/oracle/apps/fnd/rep/webui/InterfaceListPG&BusinessEntity=PER_ORGANIZATION_HIERARCHY&Title=Organization+Hierarchy&retainAM=Y&_ti=2010961940&oapc=7&selection=11_1_62_&oas=s6j2chTrx3F6QeAofgAR-Q..

    To check information of costs - create the organization information (information of costs goes into HR_Organization_Information table, just check for the correct contexts)
    http://irep11i10.Oracle.com/OA_HTML/OA.jsp?page=/Oracle/Apps/FND/Rep/WebUI/PLSQLInterfaceDetailsPG&CategoryValue=F&_tI=2010961940&retainAM=Y&addBreadCrumb=Y&OAPC=16&OAS=rEOv_-poEcBvZjTjyrCnXw...

    http://irep11i10.oracle.com/OA_HTML/OA.jsp?page=/oracle/apps/fnd/rep/webui/InterfaceListPG&BusinessEntity=HR_ORGANIZATION&Title=HRMS+Organization&retainAM=Y&_ti=2010961940&selection=11_1_49_&oapc=28&oas=Ns8RX2ZaTcv6y_BMwx0d7Q..

    Hope that helps.

    If the links above do not work. Try to copy - paste the full URL in a new window. It should work.

    See you soon,.
    Vigneswar ben ahmed

    PS: You can also try loading. The free version should suffice. And it is a wonderful tool.
    http://www.dataLoad.com/downloads/index.html

  • Trying to create an alarm with perl

    I get an "Unable to serialize the operator as StateAlarmOperator" error when you try to create an alarm using VI Perl. I am trying to create an alarm that triggers a script when a VM is powered on.  Also: is this the correct use of the RunAction in the AlarmSpec?

    Thank you

    -David

    -


    My $vm = Vim::find_entity_view (view_type = & gt; 'VirtualMachine', filter = & gt; {name = & gt; $vmName}) ;

    My $alarmMgr = Vim::get_service_content() - & gt; alarmManager;

    my $alarm = Vim::get_view (mo_ref = & gt; $alarmMgr);

    My $alarmExpr = StateAlarmExpression - & gt; (new)

    operator = & gt; "isEqual."

    Type = & gt; 'VirtualMachine.

    #type = & gt; 'vim. HostSystem',

    statePath = & gt; "runtime.powerState,"

    Yellow = & gt; "poweredOff,"

    Red = & gt; UNDEF

    );

    My $alarmSpec = AlarmSpec - & gt; (new)

    name = & gt; "ScriptTrigger,"

    Description = & gt; "Trigger to run the script to powerOn"

    activated = & gt; 1,

    expression = & gt; $alarmExpr,

    action = & gt; {

    RunScriptAction = & gt; $alarm_script

    },

    definition = & gt; UNDEF

    );

    My $newAlarm = $alarm - & gt; CreateAlarm (entity = & gt; $vm, spec = & gt; $alarmSpec);

    David,

    The operator is a type of enueration. PLS, try the following line of code:

    operator = > StateAlarmOperator-> new ('isEqual').

    Good luck!

    Steve JIN, VMware engineering

    Creator of VI Java API: http://vijava.sf.net

  • How to create the alarm system on VI

    Hai, I am current made an alarm using LV 8.6. together, I attach a simple VI. How can I do a simple alarm system so that when the measured RMS value exceeds a number that the user can define, a beep will be apear

  • [Bug of LabVIEW report] 'Create all the constants' does not create a constant for the controls when mixed with flags

    The shortcut of the comics 'Create all the constants' cannot create a constant to a control when it is mixed with flags:

    Colors of the palette is a table control, the other two are indicators.

    results in:

    With the help of the 'constant to create' (which is something else altogether) works very well with the table control (of course, the constant is not connected to the Terminal in this case).

    Tested in LV 2016 64 bit on Windows 7

    You can change the functionality of the right click plugin by opening the Terminals_core.vi all the wires in the .llb following and by removing the structure of matter on the image below (keep remove it just method the structure around him). He did what you wanted in the original post, but is not very useful when you start to use it on items with multiple terminals (especially multiple output terminals). The code makes it seem quite expected, he travels all terminals it concludes and checks whether it is an input or output terminal. If it's an entry, it creates a constant, if it is an output, it does nothing. The change that I did just creates a constant whether it is an input or output.

    time Board \resource\plugins\PopupMenus\edit and diagram\Wire all Terminals.llb Unwired

  • To create a custom message automatic so when ANOTHER user logs it appears

    To create a custom automatic transmission message when a DIFFERNET user on a message that I can edit watch after logon.

    Basically, when it reads above, when another user logs on, a message pops up saying (e.g. - hello or welcome etc) that I can customize.

    Hi Stevepayne1994,

    I suggest you create a .txt file, place on it (or a shortcut) in the startup folder, and it must run it.

    To do this:

    a. click on the "Start" button, click "All programs" then right click on the "Startup" folder

    b. Select the option "Open All Users"

    c. Select the and put a shortcut to the .txt file to open at startup of Windows.

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I created a new Admin account and when I went to her, I got the message: "The service user profile Service has no logon. The user profile Service failed to load.

    I created a new Admin account and when I went to her, I got the message:

    "The service user profile Service has no logon.  The user profile Service failed to load.

    What's up with that?

    Hello

    References to Vista also apply to Windows 7.

    You can try to fix it with Safe Mode - repeatedly press F8 as you bootup. The ADMIN account in trunk
    Mode has no default password (unless someone has changed the password so it should be available).

    Some programs such as the updated Google (if you added the toolbar Google, Chrome or Google Earth)
    has been known to cause this problem.

    Error message when you log on a Windows Vista-based or Windows 7 using computer a
    Temporary profile: "the user profile Service has no logon. Unable to load the user profile.
    http://support.Microsoft.com/kb/947215

    Difficulty "the user profile Service has no logon. User profile cannot be loaded. "Error in Windows 7
    http://www.SevenForums.com/tutorials/186131-user-profile-service-failed-logon-user-profile-cannot-loaded.html

    How to fix error "your user profile was not loaded correctly! You have been connected with a
    temporary profile. "in Vista & Windows 7.
    http://www.Vistax64.com/tutorials/135858-user-profile-error-logged-temporary-profile.html

    BE VERY CAREFUL IF YOU USE THIS ONE:

    DO NOT USE THE ACCOUNT HIDDEN ON A DAILY BASIS! If it corrupts you are TOAST.

    How to enable or disable the built-in Windows 7 Administrator account
    http://www.SevenForums.com/tutorials/507-built-administrator-account-enable-disable.html

    Use the hidden administrator account to lower your user account APPLY / OK and then lift it to ADMIN.
    This allows clear of corruption. Do the same for other accounts if necessary after following the above message.

    You can use the hidden - administrator account to make another account as ADMINISTRATOR with password even
    (or two with the same password) use a test or fix the other.

    You can run the Admin account hidden from the prompt by if necessary.

    How Boot for Windows 7 System Recovery Options or use a Windows 7 boot disk.
    http://www.SevenForums.com/tutorials/668-system-recovery-options.html

    What are the system recovery options in Windows 7?
    http://Windows.Microsoft.com/en-us/Windows7/what-are-the-system-recovery-options-in-Windows-7

    How to create a Windows 7 system repair disc
    http://www.SevenForums.com/tutorials/2083-system-repair-disc-create.html

    If you cannot access your old account, you can still use an Admin to migrate to another (don't forget
    always leave to an Admin who is not used except for testing and difficulty account).

    Difficulty of a corrupted user profile
    http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

Maybe you are looking for