Grid Control monitoring a particular logfile
Hi all,
I have a doubt, is it possible to Grid Control monitor a specific log file?
I have a log file where a register a script execution status, is it possible to raise an alert on Grid control just keeping the eyes on this file ?
Thanks in advance,
Regards,
Emerson
Yes.
Create an external table for that logfile, then create a user defined metric that queries the table to retrieve the execution status results, and define key values in that metric to raise warning or critical alerts based on the execution status.
For example, checking for success on a data pump job (admittedly contrived and inefficient) with a logfile called 'impdp.log' sitting in /tmp:
sqlplus / as sysdba
create or replace directory TEST_EXTERN_DIR as '/tmp';
grant read on directory TEST_EXTERN_DIR to someuser;
exit;
sqlplus someuser/somepassword
create table myextern ( string varchar(255) )
organization external ( default directory TEST_EXTERN_DIR
access parameters ( records delimited by newline ) location ( 'impdp.log' ) );
select * from myextern where string like 'Job%completed%';Then create the user-defined metric, in this case as a string metric run by someuser with a comparison operator of CONTAINS with a warning value of 'error' and a critical value of 'fail', set the metric to run as frequently as necessary along with any response actions necessary if desired.
Similar Messages
-
Question: Does Grid Control monitor Hyperion products?
Question: Does Grid Control monitor Hyperion products? If yes, can you direct me to the proper notes or documentation.
user814333 wrote:
Question: Does Grid Control monitor Hyperion products? If yes, can you direct me to the proper notes or documentation.Yes ..
Please check :
http://www.oracle.com/technetwork/middleware/bi-foundation/sys9-oem-integration-1-129287.pdf
Regards
Rajesh -
Hi Everyone,
We are planning to deploy 11g Grid Control on our Environment. Before that i was asked to document list of all the default items that are monitored with Grid Control and list of all the default items that are not monitored. I know some of the default items that are monitored like space, alert log, high avaliability, process capacity.
Can i get any document that specifically explains the default items monitored and items that re not monitored by Grid Control?In GRID you can configure multiple targets.
GRID can be used for montoring,
to track the status of performance,
I/o's ,
RMAN backup job reports,
Tablespace administration,
Threshold settings
Online reorganization, rebuild indexex, gather stats.
& so on
http://www.globleat.com/articles/Gridnew_db_features.pdf -
Grid Control Monitoring Solutions
What are the Good solutions of Grid control/Plug Inns for monitoring solutions of DB?
Grid control is the best way to monitor your
grid computing infrastructure.
You can monitor OS level statistics, application level , and database in a RAC or grid environment or standalone. You can do end to end moitoring and easily view how much time is spent in the database, applicaiton server amd set events and threshholds for applicaiton server database and even network latencies.
Grid control is the way forward for cluster computing environments as well -
Configuring DG's Standby database in 10g Grid Control monitoring.
Hi.
I am facing issues to configure "for monitoring" the standby instance of a 10g database. If someone on this forum have experience, please share, will be greatly appreciated.
Thanks
/SKHFYI we have a tar open on this "standby databases not monitored correctly" ie grid is trying to collect metric from a sb db when it can not b/c its only mounted. The fix will be in 10.2.0.4. We are pushing for a back port to 10.2.0.3 b/c we missed a corruption in our sb db b/c we could not monitor the values and apply different templates.
-
Can grid control monitor Databases on different operating systems?
I have a GC on LINUX REDHAT AS 3/4. Can I use that to monitor and administer Databases created on a SUN OS?. Can agents running on different OS talk to GC that is running on a different OS?.
If so, any limitations?. Pointers to a doc would be appreciated.
ThanksYes,
-
How to monitor RAC services and nodeapps in Grid Control
Hi,
I have created a number of RAC service names such as GL on a 2-node RAC and would like to use Grid control 10.2.0.2 to monitor the availability of those services and nodeapps. I was not able to find anything in Grid Control that would allow me to configure that. What are being monitored now are the listeners, database instances and nodes. Would it be possible to monitor more than just the RAC listeners, instances and nodes?
thanks.I don´t think that there is an out-of-the-box metric. However, CRS monitors your services and Grid Control monitors CRS errors. If you need more granular monitoring, I have 2 suggestions:
1) user callouts:
[http://download.oracle.com/docs/cd/B28359_01/rac.111/b28254/hafeats.htm#RACAD7133]
2) extending oracle enterprise manager
I have written a paper on how to extend oem at [http://www.ora-solutions.net/web/papers/]
"Extending Oracle Enterprise Manager to collect HP-UX glance data"
You can follow the instructions to build a new target type called "RAC_SERVICE" and add your serivces as targets, e.g. S_BATCH, S_ONLINE, S_HR.
Best regards,
Martin Decker
www.ora-solutions.net
Edited by: mdecker on Jan 2, 2009 10:57 AM
Edited by: mdecker on Jan 2, 2009 10:59 AM -
Figures in Grid Control and Enterprise Manager Console don't match!
Hi,
I have just installed Oracle 10g Grid Control and it is managing an existing database on another server. It appears to gather information as expected in most areas (I can look at the alert log through grid control and it is up to date to the nearest 60 seconds as I expect) but today I looked at how full my undo tablespace is and the figures seemed completely wrong. When looking through grid control it showed me that Undo was 20% full. When I looked in the old java console, it showed it was 30% full!
Is there any reason why figures in Grid Control would not be accurate or up to date? I have no error messages and it seems to be gathering data fine.
Is it more likely the old java console is not accurate? (I've always found it accurate in the past I think!).
These are Solaris Sparc servers, Oracle 10.2.0.3 Grid Control monitoring an Oracle 10.2.0.3 database on a remote server via management agent.
Thanks,
PaulaAnd this morning my old console says 21%, and the new Grid Control says 14%. So they both seem to be gathering the info and putting it out but they have completely different opinions on how much space is used. I think that makes the whole thing fairly useless. Not so glad I spent an age trying to get grid control set up now!!!
Any thoughts much appreciated!!!!
Thanks,
Paula -
Grid control Installation.
Hello Everybody,
I have to immplement the 10g grid control and the scenario's goes like this.
I have database installed on HP-UX 11.11i and a Windows server.
Now can I install the grid agent on HP-UX(database server) and a OMS(repository) on Windows server 2003.
Is there any compatibility issues.
Eagarly waiting for your responses?
Thanks in advance.Hi,
What I understood out of the description is ...
You have 2 servers
1) HP UX ====> Already one database is running which you want to monitor after implementing grid control
2) Windows server =====> Here you are planning to install grid control 10g mean OMS repository as per your quote
First,
You can install Grid Control in any of the 2 servers it is available for HPUX as well as Windows.
Grid control monitors targets (i.e. databases, hosts, listeners etc.) through Agent software which is available for all the
flavours of unix and windows. So, you can install grid control on any of the box and monitor both the boxes. There will
be no compatibility issues.
Let me know if you have any questions or concerns.
Best Regards,
Nirav -
Grid Control Perl Scripts Causing 100% CPU
I have a Grid installation on a cluster of three databases. It periodically shows that the CPU is at 100%. When I check, it is a number of Perl scripts that are executed by the agent.
Killing the Perl scripts returns CPU usage back to normal. The operating system is Red Hat, and the databases and clusterware Oracle 10.2.0.4.
Anyone have experience with this. I've looked on Metalink, but haven't seen anything.
Thanks,
JohnI nearly fell off my chair laughing at the ludicrous suggestion of bouncing the box!!!
When you say: Grid installation on a cluster of three databases
What do you mean?!
Grid control monitoring 3 rac databases?
Grid control with a rac database as its repository?
Version of Grid control?! -
Need some low level help/info on Grid Control / Data Guard
I need to get some info concerning the set up and administration of Grid Control. In particular, I need to know why Grid Control needs to have the Oracle OS-Level username and password stored in Grid Control in order for GC to set up and manage a Data Guard database.
Is it because when the database is being created, GC issues commands like RMAN and SCP to put files onto the standby host?
Also, for accountability purposes, can I not use a named user account (with the same privs as the oracle user) saved as the preferred credential and still perform the necessary functions to use DG and GC together effectively.
Probably a lot of info and variables, and I've not explained much, but happy to explain further if needed.
Thanks!
Edited by: joe.bednarz on Oct 14, 2009 9:38 AMThanks for the input... we need to use another account other the "oracle" account so there is some accountability for who does what. If I create an account that has similar privileges as the oracle user, I can still run all things Oracle, while still having a log of my log in time and actions.
More of security issue...
Thanks again. Appreciate it! -
How to monitor ODI in Grid Control
Hello
We are using Grid Control 11.1.0.1.0 and ODI 11.1.1.5.0.
We were previously using a grep command on the server that ODI was running from to monitor if it was up or not.
Since the (OEM) upgrade we have lost this metric and would like to take a more elegant approach to monitoring the state of ODI.
(We didn't install ODI as part of a WebLogic Server install, it is stand alone and therefore the plugins or usual way to monitor are not relevant to us.)
Is there a way I can have Grid (via a UDM for instance) go into the database and query for a process?
If the process is found then no alert is sent. This also means that we will only have to blackout the database during cold backups instead of the whole server.
Hopefully this makes sense and hopefully someone can give me a few hints / tips on how to achieve this?
Thanks.You can find info about the backups in sysman.mgmt$ha_backup. But only one entry per database can be seen. So only for the latest rman job you will find info here.
You could also start using a rman catalog that will contain all backup info (example http://oracleinstall.wordpress.com/2011/06/03/oracle-11g-rman-catalog-setup/). You can create reports/queries on the rman repository to get the info you need.
Or even better: create a rman repository and schedule the rman jobs using Grid/Cloud Control.
Eric -
Create A New Monitoring Profile In Grid Control
Hi All,
We need to set up a monitoring user in grid control to monitor only a few limited metrics i.e FRA area filled , Shared Pool usage, Archiver hung,cpu usage & memory usage..
This account would be provided to a monitoring team to view only these metrics and of course wont have rights to modify anything in the database so only read only access...
I managed to create a read only account from Setup----Administrators---Create...
So doing the above i have created the read only user from the appropriate options, now my only question is that i do not want to give read only access for any other metrics apart from the ones i mentioned above..
Is it possible to set only the above five metrics.
Thanks...Hi;
For your issue i suggest close your thread here as changing thread status to answered and move your issue to Forum Home » Enterprise Manager » Enterprise Manager Grid Control
Regard
Helios -
Monitoring with Grid Control : Default thresholds
Hi,
I have installed Grid Control 10GR2, and have been struggling with the monitoring the health of Enterprise databases. Previously, any critical health problem seemed to have been reported promptly..
The default time interval in Grid Control is too long for certain health issues.. like
database up-down, tablespace full...
I just wanted to get idea from others, what have they done with the time intervals?
Any suggestions/experiences??
- JayantI've kept the defaults on most things, I have changed a few things, notably a metric on the agent itself. But all databases self manage their space anyway. tablespace full you can just change to 5 minutes or something if you are concerned about it.Just experiment, everybodys requirements are different.
And for the other chap to change a time interval on grid control 10.2:
Go to Targets-->All Targets
Click on the name of the target you want to change (be it host/database or agent etc)
Scroll down the page and click on 'Metric and Policy Settings'
There you will see the collection schedule for each metric, this a clickable link from where you can then edit.
Alternatively use a monitoring template and do it that way, especially if you got lots to change.
Bazza -
Alert Log File Monitoring of 8i and 9i Databases with EM Grid Control 10g
Is it possible to monitor alert log errors in Oracle 8i/9i Databases with EM Grid Control 10g and EM 10g agents? If yes, is it possible to get some kind of notification?
I know that in 10g Database, it is possible to use server generated alerts, but what about 8i/9i?
Regards,
MartinHello
i am interested in a very special feature: is it possible to get notified if alerts occur in alert logs in an 8i/9i database when using Grid control and the 10g agent on the 8i/9i systems?
Moreover, the 10g agent should be able to get Performance Data using the v$ views or direct sga access without using statspack, right?
Do you know where I can find documentation about the supported features when using Grid Control with 8i/9i databases?
Maybe you are looking for
-
Clicking on web link in Mail does not open web page in Safari
Can I set up so that clicking on web page or e-mail address in mail message will automatically open the web page - I think I was able to do this before but maybe it was with Firefox ?
-
Error Message with multiple line
Hi How to display a error message with multiple line? Example Goods movement not possible for material 101 Goods movement not possible for material 102 Goods movement not possible for material 103 is it possible is ABAP? If so please a
-
Problem with a particular stock under default stock app
When i add a particular stock in the default stock app it does not show the stock details! Stock name is L&T Finance Holdings!! All other stock details are displayed other than the above mentioned one. Please let me know how to sort this out!!
-
I am trying to apply background shading to alternate lines of text by creating two paragraph styles and naming each as the "next style". This works when manually entering text - but I can't figure out if it is possible to apply it to existing copy wi
-
I just tried to reset factory settings on my i phone 4 s it still downloading from 5 hours
i just tried to reset factory settings on my i phone 4 s it still downloading from 5 hours..i dont know what to do