Q1. When Situation Represents A Metric Error In The Metrics And How This Can Be Eliminated?
When the non-zero value is displayed on the screen or when the STDOUT and STDERR message are not available on the exact location, this indicates the error. Users either need to execute the task again or there is a need for them to reconcile the activities which are considered to eliminate the same.
Q2. What Are The Values Associated With The Em_results And Em_messages Indicates?
This generally contains the information related to the formatted information that the script returns to the enterprise manager. This states that the same has been allocated to the metrics and further operations can now be accomplished. In case of any error, there is a warning sign which appears on the screen. These values can also be provided custom tags or the information for the purpose of using them for other purposes than the ones they are actually meant for.
Q3. What You Need To Do To Make The Features Available In A Metrics After Creating The Same?
Well, in Oracle TM, users need not to worry about the same. This is because once the metrics get created, all the required features become available automatically. This is one of the best things about creating metrics that can be deployed for any purpose under the defined conditions.
Q4. What Do You Know About The User-defined Metrics In Oracle?
When it comes to enterprise manager monitoring, the reach and strength of the same can easily be extended up to a great extent. You might have no idea but the fact is this enables organizations to derive certain benefits. Almost all the conditions which are specific or which seem to be specific for a task can simply be meet.
Q5. How Administrators Can Add Custom Features In A Metrics?
Well, this approach is simple. For this, administrators can simply add their custom monitoring scripts library by integrating the same with the enterprise manager. A user-defined metric can be considered for the effective integration and the good thing is users can simply make sure of quality results. The SQL based metric is common considered for this purpose.
Q6. Does Sql Based Metrics Support External Scripts?
No, they don’t support the same. Users need to enter the SQL in the enterprise manager directly and this is done at the time of creation of metric. It can even be done at a later stage. However, there are problems with the time and storage allocation which even make simple tasks very complex and users have to adopt other paths to keep up the pace in this matter.
Q7. What Do You Mean By Rac?
It stands for Real Application Cluster and is basically a single instance database.
Q8. On A Particular File System, Is It Possible That The Exact Amount Of Free Space Can Be Calculated?
Yes, this is possible and is generally done with the help of defined logic that is responsible for running the code. Users are free to access the same anytime they want and the good thing is it can be customized for extending its capabilities. If the scripts contain a lot of sections or the files, there are chances that the displayed information regarding the memory could be wrong and thus appropriate actions are required for the same.
Q9. Name One Interpreter That Scripts Generally Require? Where Should It Be Installed?
Perl is the interpreter that scripts generally need. It must be installed on the host system.
Q10. Is It Possible To Define New Metrics With The Help Of Custom Operating System In Oracle Tm?
Yes, this is possible. Generally, the operating system based approach is considered for this purpose and users can always make sure of authenticity in this task.
Q11. What Is The Significance Of Configuring The Script Runtime Environment?
This actually makes sure that all the scripts can simply be adopted by the management agent for the considered purpose. In case it is not confirmed, scripts always have a limit on their functionality. There are also chances that a few of them doesn’t work in the way they have to be. In addition to this, configuring the script runtime always make sure that multiple metrics can be created at the same time without the use of maximum features or tools.
Q12. Are Users Free To Consider The Scripting Language Of Their Choice For Creating A Script?
When it comes to creating a script that is having the information or commands for the purpose of checking the condition under monitoring, users are always free to use the scripting language of their choice. This is one of the best things about metrics that are available with the Oracle TM.
Q13. What Do You Mean By Scheduling A Script?
It is nothing but specifying the start time, as well as the frequency at which the script has been created to run. It is necessary to use the agent time zone on the script.
Q14. Name The Two Steps Which Are Common In Creating The Operating System Based User Defined Metrics?
These are:
- First creating the Operating system monitoring script
- Registering the script as a user define metric
- It is also possible in some cases to use it without registration. However, its capabilities remain limited under such a condition.
Q15. Tell One Common Mistake That Users Can Make While Registering The Scripts As User-defined Metrics?
Well, the fact is its necessary that the agent is present on the machine where the monitoring script resides. A higher residue function is required for performing the function smoothly. A few users forget to keep it on the same machine and this creates runtime error.
Q16. From Where You Can Access The Sql Based Metrics?
Basically, it is accessed through the target home pages of the databases. When it comes to custom database management, they are generally called for the deployment purposes. In case the time saving approach is to be considered, the functions can also be called in a very easy manner to fulfillment of the similar or the parallel tasks without deriving the extra time.
Q17. Can User Submit Multiple Em_message Tags To The Metrics?
Yes, users can do so. However, the next message always remains under queue until the first one is completely executed. Also, it is not possible in all the cases. In a few cases, users are not allowed to do so. This is common with the scripts that have multiple tags already with them by default.
Q18. Can You Name A Few Important Features That Are Available In A Metrics?
These are:
- Notifications related to the current tasks
- System alerts
- Corrective actions taken by the users
- Historical collections
- Metric monitoring
- Allocation related features
Q19. Tell Something About The Script Runtime Environment?
Upon the evaluation of user-defined metrics, the script also gets executed and is generally specified under at the same time when the script is registered in the EM console. Users need to make sure that the information provided for the authentication purpose must belong to a valid or an active account.
Q20. Which Value Is To Be Returned By The Script After Monitoring The Object? What Does This Indicate?
The script should return the value which is associated with the monitoring object. This indicates that there is nothing wrong with the object and the same can executed further. Returning of this value also states that the all the warnings which are related with the object have also been considered. Sometimes it takes extra time for returning this value and under such conditions, users can manually fetch the same with the metric allocation tools.
Q21. What Is The Role Of Custom Scripts Of Sql Queries In Metrics?
SQL queries, custom calls as well as custom scripts are deployed for the same purpose and i.e. for the purpose of monitoring metrics and triggering the alerts. This makes sure of the smooth flow of the operations in the shortest possible manner and without calling any extra functions for the same.
Q22. What Is The First Step For The Execution Of A Script After It Is Created?
It is necessary that the scripts must have the starting point as em_results for a new line wherever it is mentioned. If this condition is not fulfilled, there is always a runtime error on the screen and users have to pay attention to a number of facts for the clearance of the same. Thus it must be considered on priority.
Q23. What Are The Types Of User-defined Metrics That Can Be Used For Extending The Monitoring Capabilities?
These are:
- Operating system based user Defined metrics
- SQL based user defined metrics
Q24. What Information About The Metric You Need To Provide When You Create A New User-defined Metric On The Metric Page?
The information to be provided are Metric name, type, number, command line where it is used, Operating system type, comparison operator, threshold settings, authentication related information, Notifications and alert information and so on.
Q25. Is There Any Condition On The Location Of Scripts Which Generally Run With User-defined Metrics?
Yes, there is a basic condition and i.e. they all should be placed in a directory which the agent must have complete access. Any script outside the directory is generally ignored and users will not be able to use the same unless it is specified in the directory. In case the directory is full, users have the provision to create a new directory and assign the name as per their wish.
Q26. What Should You Define In The Script Along With Itself?
Rather than the summary or other useful information, it is necessary that you define the various parameters which are related to the environment and operation of the script. This makes sure it can be used easily with different range metrics without the violation of anything.
Q27. Can You Register Your Script In The Console? When It Is Generally Done?
Yes, it’s possible for the users to perform this task. However, under normal conditions it is not done. When there are some critical warnings or a specific threshold is reached, registration in the console is then done. The fact is there are restrictions for registrations at the other locations and console can be used as the last option for this task.
Q28. For What Purpose You Can Use An Os Based Metrics?
These are generally considered when it comes to monitoring a specific condition. A custom script can easily be written with the help of which this task can easily be accomplished. The script will be specified each time when the enterprise manager is evaluated. However, it depends largely on the script for returning its value.
Q29. Do You Think There Is Anything Which Is Common In All The Monitoring Scripts Used In The Metrics?
Yes, they all must contain the code for performing some basic functions. The two very important ones are Code for the purpose of checking the status of objects monitored. The second is the code to return the script outcomes to the enterprise manager. Users are free to keep the similar information in them if they are meant to perform the similar tasks.
Q30. What Do You Know About The Script Location In Oracle Tm?
Well, it is recommended that the OS scripts which are user-defined must remain at a location which should be outside the agent home. Actually it makes sure that no harm is caused to the script when the agent is updated. This always makes sure that the script remains operational under all the conditions. When you have to register it in the control console, the full path must be specified to the script. In some cases, users are not allowed to use the default properties.