DB control alert
Hi,
on a Win 2003 server I have about 8 DB , 10g R2 all with their own DB Control. Only one of them sends me un alert of a disk drive more than 90% used.This alert is not correct and disk was not used as such.
1-How to see why this wrong alert ?
2-How to modify the alert threshold for disk utilization ? They are not in manage metrics.
Thank you.
You may be misinterpreting what you are seeing.
First off I think you are a lunatic to be running that many databases on a single server and I want to say that to preface my other remarks. Servers don't cost that much and if you lose that one machine you are toast.
What the one instance may be reporting is space in the Flash Recovery Area or for configured as part of some database specific pool. Not out of space from the operating system standpoint but rather out of space in terms of your internal Oracle allocation.
DBConsole is fine and good but it is no match for going to BDUMP and reading the alert log. Go there and likely you will find the details.
Similar Messages
-
Crashing whenever using mx.controls.Alert.show
Flex Project: Desktop (AIR)
Flex SDK: 4.1
Flash Builder 4
Problem: Whenever I use Alert.show even with the simplest strings passed it crashes showing the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.controls::Alert$/show()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\Alert.as:566]
And it is pointing at Alert.as line:
var sm:ISystemManager = ISystemManager(FlexGlobals.topLevelApplication.systemManager);
How do I use this? What's wrong? Any fix?It sounds like you're referencing a NULL object somewhere. Any chance you could provide us with some sample code? I just successfully tried the following out:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
applicationComplete="init()">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.controls.Alert;
public function init():void
Alert.show("This is a test", "My Alert");
]]>
</fx:Script>
</s:WindowedApplication>
Thanks,
Chris -
How to set the window frame icon of javafx.scene.control.Alert ?
Hi,
I am looking into using the new Java 8u40 Alert Dialogs (javafx.scene.control.Alert) and I am struggling with setting custom (application) icons for the window / stage.
I mean that icon, which appears in the upper left corner (on Windows OS) of the window frame, which you can set for normal stages with
javafx.stage.Stage.getIcons()
Similarily I want to apply a custom stylesheet to the Alert.
How can I do this?
Is it really only this way?
((Stage)alert.getDialogPane().getScene().getWindow()).getIcons().add(...) ?I think you already have the recommended way to set an icon for Java 8u40. Maybe some future Java version might add some additional API to make it a little bit less clunky, but for now, just go with the same code you have:
((Stage)alert.getDialogPane().getScene().getWindow()).getIcons().add(...) ?
It is the same technique used in:
javafx - How do you set the icon of a Dialog control Java FX/Java 8 - Stack Overflow
and in makery's dialog tutorial:
JavaFX Dialogs (official) | code.makery.ch -
Mx.controls.Alert;
Hi there,
I am trying to use mx.controls.Alert and am getting the
following error:
"Failed to create a new alert, probably because there is no
Alert in the Library"
But i clearly have the component in my library!!
I have it working in another file but when I copy the code
into that it doesnt work either... any ideas ?
Thanks in advance!
I am just using an example from the help file to get it
working.....Yes probably I've missed someting.
Using mx.controls.Alert is one of the first lessons in all my
FLEX tutorials, and I don't know why it doesn't work easily.
Perhaps may I import this conponent myself in FLEX BUILDER 3
but any informations noware to do that. It seems that it must work
without special manipulation..
Thx
ALEC -
Mx.controls.Alert.show windowHeight
Hello All
I am trying to set windowHeight for my alert component.
Below a snippet but does not seem to work any suggestion
greatly appreciated
Adam
var myAlert;
myAlert = mx.controls.Alert.show("Please
select:\n"+msg+"","Info", {windowHeight: 400});
trace(myAlert.windowHeight); // This comes up undefined
myAlert.windowHeight = 400;
trace(myAlert.windowHeight);// This comes up 400 but does
not change alert sizeIt sounds like you're referencing a NULL object somewhere. Any chance you could provide us with some sample code? I just successfully tried the following out:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
applicationComplete="init()">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.controls.Alert;
public function init():void
Alert.show("This is a test", "My Alert");
]]>
</fx:Script>
</s:WindowedApplication>
Thanks,
Chris -
Grid control alerts with ORA error code
Hi,
Is there any way to include the actual ora error in the email alerts that come out of grid control?
regards
Alan
okey dokey, thats done.
Edited by: alanm on Jul 13, 2009 10:31 AMSee the metalink note:458605.1
-
Grid Control alerting at a later time
Hi All,
We made a no Archive log database into archive log mode. We had this database on one server and the grid control on the server. Both show the same time stamp. But the alert came from OEM Grid came as :
OEM GRID : Timestamp=Mar 19, 2009 9:12:48 PM EST - - ( The Occurrance of the Archive log event )
Time Sent from Mail Server : Friday, March 20, 2009 3:16 AM
What could be the reason for this. Can anyone help me in fixing this please.
Regards,
RajSo grid fired the alert at time x, and time sent from the mail server was much later.
Now, have you investigated the mail server? Was your message queued?
Have you checked out the sysman.MGMT_NOTIFICATION_LOG table for any errors/issues?
I'm guessing its not a critical issue as it taken you a while to get back on this -
HFM process control alerting only while submitting
Hi,
I want to use the email alerting for process management. All settings are done and everything works fine.
But I want to limit the alerting to the submit process. It means, the system should send a mail only if the user submits the process to the admin.
There are no settings in Shared Services or anywhere!!?
Is it possible to manipulate a asp or jsp file to limit this functionality?
Version is 11.1.1.3
Thanks in advance!
Stefan
Edited by: StLanger on Jul 25, 2012 4:59 AMHi,
thanks, but this is not my problem.
The system only should send a message if the status is changing to "Submitted".
Example: User Frank has the roles Reviewer3 and Submitter. Normally he gets 2 mails. The first one if the process switch to RL3 and the second if the process switch to Submitted. But he dont want a mail if the process switch to RL3, only if Submitted.
Is there a way to do this? Can i "hack" a special asp file?
Edited by: StLanger on 25.07.2012 11:32 -
12c Cloud Control Alert Log Purge Error
I'm trying to purge old alert log events in EM 12c, but i'm getting error - The alert(s) could not be purged. Please ensure you have Edit privileges on this target while purging.
What's i'm doing wrong? Cant find anything close to this in EM documentation.
Thank you.Hi,
What privileges do you have on the target? You'll need at least Manage Target Events (a subprivilege of Operator) in order to clear events on the target.
regards,
Ana -
Database Control Alerts ORA-01034
Why am I getting these alerts on email every day (I have Oracle Standard Edition 11.2.0.3 on Linux 64bit) :
Target Name=db.myserver.com
Target Type=Database Instance
Host=srv.myserver.com
Metric=Status
Metric Value=0
Timestamp=Jun 3, 2012 3:10:16 AM EDT
Severity=Critical
Message=Failed to connect to database instance: ORA-01034: ORACLE not available.
Notification Rule Name=Failed Backups
Notification Rule Owner=SYS
Notification Count=1
Target Name=db.myserver.com
Target Type=Database Instance
Host=srv.myserver.com
Metric=Status
Metric Value=0
Timestamp=Jun 3, 2012 3:10:16 AM EDT
Severity=Critical
Message=Failed to connect to database instance: ORA-01034: ORACLE not available.
Notification Rule Name=Database Availability and Critical States
Notification Rule Owner=SYSMAN
Notification Count=1
Edited by: CommitMan on Jun 3, 2012 7:48 PM
Edited by: CommitMan on Jun 3, 2012 7:49 PMThe notification rules,"Failed Backups" and "Database Availability and Critical States", triggered the mail notifications. Verify whether database instance was down around Jun 3, 2012 3:10:16 AM EDT. The database's alert log file should tell you when the database was stopped and started.
To view notification rules: go to Preferences > (Notification) Rules.
Hope this helps.
- Loc -
Have Alerts been moved from mx.controls?
I copy and pasted this import mx.controls.Alert; from: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7da0.html
Why? because everytime I typed inimport mx.controls.Alert give me the error: The import Alert could not be found.
And in fact even copying and pasting that peice of code from the web site I still get the same error....
So I ask, its it not apart of the mx.controls package?I have the same problem :(
I don't know why it doesn't work...
Error 1172: Definition mx.controls:Alert could not be found.
I have Flash Builder 4.5
I solved the problem. I just checked the settings I changed the MX Spark + Spark -
Hi,
Lp is a great tool - thanks!
I've noticed that the application autoUpdate has an Alert in the error handler. However the code generation does not appear to include a:
import mx.controls.Alert;
I can type it in manually, no big problem. Maybe in the dot update...
Thanks,
NiallThanks Niall!
This has been fixed in the update that was posted yesterday, but please let me know if you have any other issues with it. Details on the fixes and changes included in the update can be found here: http://devgirl.wordpress.com/2010/09/07/adobe-air-launchpad-update/.
Thanks much!!
Holly -
Alert Control Popup Message is blank
Hi,
I am using Alert control to display a popup message. For some reason message is blank and the label for Ok button is also blank. Popup does come up
with a blank button. If you click on button then it does go away as it should. Any suggestions?
Thanks in advance!Hi JK2075,
The Alert should be Alert.show and not just Alert....and also import the namespace as well..
import mx.controls.Alert;
Alert.show("test","test");
Thanks,
Bhasker -
Hi,
I like the style and functionality that an Alert box gives
me. I was wondering if it's possible to add button components to
the alert box instead of the usual 'Ok' button?
ThanksA more complete example:
<?xml version="1.0"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.events.CloseEvent;
private function alertListener(eventObj:CloseEvent):void {
switch(eventObj.detail) {
case(Alert.YES):
myText.text = myInput.text;
Alert.show("Text was copied!");
break;
case(Alert.NO):
myText.text = myInput.text;
Alert.show("Text was NOT copied!");
break;
case(Alert.CANCEL):
myText.text = myInput.text;
return
]]>
</mx:Script>
<mx:TextInput id="myInput" width="150" text="" />
<mx:Button id="myButton" label="Copy Text"
click='Alert.show("Do you want to copy the text?", "Alert",
Alert.YES | Alert.NO | Alert.CANCEL, this,
alertListener, null, Alert.OK);'/>
<mx:TextInput id="myText"/>
</mx:Application> -
Dynamic Creation of Objects using Tree Control
I am able to Create Dynamic Objets using List control in
flex,but not able to create objects using TreeControl,currently iam
using switch case to do that iam embedding source code please help
me how to do that
<?xml version="1.0" encoding="utf-8"?>
<!--This Application Deals With How to Create Objects
Dynamically -->
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:XML id="treeDP">
<node label="Controls">
<node label="Button"/>
<node label="ComboBox"/>
<node label="ColorPicker"/>
<node label="Hslider"/>
<node label="Vslider"/>
<node label="Checkbox"/>
</node>
</mx:XML>
<mx:Script>
<![CDATA[
import mx.core.UIComponentGlobals;
import mx.containers.HBox;
import mx.controls.*;
import mx.controls.VSlider;
import mx.controls.Button;
import mx.controls.Alert;
import mx.core.UIComponent;
import mx.controls.Image;
import mx.managers.DragManager;
import mx.events.DragEvent;
import mx.controls.Tree;
import mx.core.DragSource
import mx.core.IFlexDisplayObject;
/*This function accepts the item as on when it is dragged
from tree Component */
private function ondragEnter(event:DragEvent) : void
if (event.dragSource.hasFormat("treeItems"))
DragManager.acceptDragDrop(Canvas(event.currentTarget));
DragManager.showFeedback(DragManager.COPY);
return;
else{
DragManager.acceptDragDrop(Canvas(event.currentTarget));
return;
/*This Function creates objects as the items are Dragged
from the TreeComponent
And Creates Objects as and When They Are Dropped on the
Container */
private function ondragDrop(event:DragEvent) : void
if (event.dragSource.hasFormat("treeItems"))
var items:Array =event.dragSource.dataForFormat("treeItems")
as Array;
for (var i:int = items.length - 1; i >= 0; i--)
switch(items
[email protected]())
case "Button":
var b:Button=new Button();
b.x = event.localX;
b.y = event.localY;
b.addEventListener(MouseEvent.MOUSE_MOVE,mouseMoveHandler);
myCanvas.addChild(b);
break;
case "ComboBox":
var cb:ComboBox=new ComboBox();
myCanvas.addChild(cb);
cb.x = event.localX;
cb.y = event.localY;
cb.addEventListener(MouseEvent.MOUSE_MOVE,mouseMoveHandler);
break;
case "ColorPicker":
var cp:ColorPicker=new ColorPicker();
myCanvas.addChild(cp);
cp.x = event.localX;
cp.y = event.localY;
cp.addEventListener(MouseEvent.MOUSE_MOVE,mouseMoveHandler);
break;
case "Vslider":
var vs:VSlider=new VSlider();
myCanvas.addChild(vs);
vs.x = event.localX;
vs.y = event.localY;
vs.addEventListener(MouseEvent.MOUSE_MOVE,mouseMoveHandler);
break;
case "Hslider":
var hs:HSlider=new HSlider();
myCanvas.addChild(hs);
hs.x = event.localX;
hs.y = event.localY;
hs.addEventListener(MouseEvent.MOUSE_MOVE,mouseMoveHandler);
break;
case "Checkbox":
var check:CheckBox=new CheckBox();
myCanvas.addChild(check);
check.x = event.localX;
check.y = event.localY;
check.addEventListener(MouseEvent.MOUSE_MOVE,mouseMoveHandler);
break;
else {
var Component:UIComponent =
event.dragSource.dataForFormat("items") as UIComponent ;
Component.x = event.localX;
Component.y = event.localY;
Component.addEventListener(MouseEvent.MOUSE_MOVE,mouseMoveHandler);
myCanvas.addChild(Component);
/*How to move the Objects within the Container */
public function mouseMoveHandler(event:MouseEvent):void{
var
dragInitiator:UIComponent=UIComponent(event.currentTarget);
var ds:DragSource = new DragSource();
ds.addData(dragInitiator,"items")
DragManager.doDrag(dragInitiator, ds, event);
]]>
</mx:Script>
<mx:Tree dataProvider="{treeDP}" labelField="@label"
dragEnabled="true" width="313" left="0" bottom="-193" top="0"/>
<mx:Canvas id="myCanvas" dragEnter="ondragEnter(event)"
dragDrop="ondragDrop(event)" backgroundColor="#DDDDDD"
borderStyle="solid" left="321" right="-452" top="0"
bottom="-194"/>
</mx:Application>
iwant to optimize the code in the place of switch case
TextTextAssuming your objects are known and what you need are simply
variable names created by the program, try using objects as
associative arrays:
var asArray:Object = new Object();
for (var n:int = 0; n < 10; n++) {
asArray["obj" + n] = new WHAT_EVER();
Maybe you are looking for
-
Is it possible to change an image while a Build or Action is happening?
Here's what i'm trying to accomplish: I am panning across a large photo, when most of the way across the photo (as the pan still continues) i'd love the photo to fade into a MODIFIED version of the same photo (modified as in, changed in Photoshop). C
-
SGD with RSA Token Authentication - Is it all or nothing?
We are investigating having RSA authentication in SGD, but we only want to force its usage for a subset of users. Based on what I can see in the docs and the screen its not clear if its all or nothing.
-
Need help with backing up problems with Iphone 4
I just recently backed up my iphone because I accidently deleted all content on phone... So when i got home a day later i backed up my phone and everything is back except apps, contacts, and music. so my phone looks almost brand new. and now when i p
-
*How do I install .bundle plugins?
I have some plugins that are .bundle . I tried putting them in library/audio/plugins/vst and nothing appears in logic. Thanks!
-
I cannot activate my Ipad