Monitoring Oracle
Moderators: Developers, Moderators
Monitoring Oracle
Hi,
Here are the first XML Files I made to monitor our Oracle Server (8.1.7.2 under Solaris).
To be able to use those template you will have to have the following agent working on the Oracle server :
- Oracle peer Master agent
- Oracle peer encapsulator
- An standard snmp agent, net-snmp for instance.
(I might post a procedure if someone is interested)
The list of template is the following :
The first two of them are based on the infos found here :
http://www-rohan.sdsu.edu/doc/oracle/se ... 01/ch3.htm
* cacti_graph_template_application_oracle_physical_access.xml
This template gives the physical access (block/sec read and write) for each database. This is an overview of the I/O activity of the database. This is not an absolute measurement because of possible OS disk cache.
(see graph 1)
* cacti_graph_template_application_oracle_cache_hit_ratio.xml
This template gives the cache hit ratio for each database. No need to explain this one, on our server it is always above 95% because of the large amount of RAM.
(see graph 2)
* cacti_graph_template_application_oracle_filetable_tablespace_size.xml
This template gives for each TableSpace of each Database, the space used/space allocated in octets. Useful to see if the space allocated is still enough.
(see graph3)
* cacti_graph_template_application_oracle_file_table_physical_access.xml
This template gives for each File (.dbf) of each Database, the block read/sec and block write/sec. This could be useful to optimize the location of files accross the different file systems.
(see graph4)
After you import the templates, you will have 3 more Data queries available for your host :
SNMP - ORACLE - DbSysTable : For graph 1 and 2 (this query gathers infos about the Databases)
SNMP - ORACLE- TableSpace : For graph 3 (this query gathers infos about the tablespaces of the Databases)
SNMP - ORACLE - DbDataFileTable : For the Graph 4 (this query will gather infos about the dbf files)
I am still working on other monitors I will post later on.
I think those informations could still be relevant to other version of Oracle server, but the OID may (or not, I didn't check) have changed.
Feedback appreciated.
Olivier
Here are the first XML Files I made to monitor our Oracle Server (8.1.7.2 under Solaris).
To be able to use those template you will have to have the following agent working on the Oracle server :
- Oracle peer Master agent
- Oracle peer encapsulator
- An standard snmp agent, net-snmp for instance.
(I might post a procedure if someone is interested)
The list of template is the following :
The first two of them are based on the infos found here :
http://www-rohan.sdsu.edu/doc/oracle/se ... 01/ch3.htm
* cacti_graph_template_application_oracle_physical_access.xml
This template gives the physical access (block/sec read and write) for each database. This is an overview of the I/O activity of the database. This is not an absolute measurement because of possible OS disk cache.
(see graph 1)
* cacti_graph_template_application_oracle_cache_hit_ratio.xml
This template gives the cache hit ratio for each database. No need to explain this one, on our server it is always above 95% because of the large amount of RAM.
(see graph 2)
* cacti_graph_template_application_oracle_filetable_tablespace_size.xml
This template gives for each TableSpace of each Database, the space used/space allocated in octets. Useful to see if the space allocated is still enough.
(see graph3)
* cacti_graph_template_application_oracle_file_table_physical_access.xml
This template gives for each File (.dbf) of each Database, the block read/sec and block write/sec. This could be useful to optimize the location of files accross the different file systems.
(see graph4)
After you import the templates, you will have 3 more Data queries available for your host :
SNMP - ORACLE - DbSysTable : For graph 1 and 2 (this query gathers infos about the Databases)
SNMP - ORACLE- TableSpace : For graph 3 (this query gathers infos about the tablespaces of the Databases)
SNMP - ORACLE - DbDataFileTable : For the Graph 4 (this query will gather infos about the dbf files)
I am still working on other monitors I will post later on.
I think those informations could still be relevant to other version of Oracle server, but the OID may (or not, I didn't check) have changed.
Feedback appreciated.
Olivier
- Attachments
-
- graph 1 - Database Physical Accesses (Block/sec)
- graph1 - Database Physical Accesses.JPG (75.45 KiB) Viewed 94619 times
-
- graph 2 - Database Cache Hit Ratio (%)
- graph2 - Database Cache Hit Ratio.JPG (62.27 KiB) Viewed 94619 times
-
- graph 3 - TableSpace used vs allocated
- graph3 - TableSpace size used vs allocated.JPG (40.19 KiB) Viewed 94619 times
Last edited by o_dupuis on Thu May 12, 2005 8:23 am, edited 1 time in total.
The last graph
Here is the graph 4.
- Attachments
-
- graph 4 - dbf File Block accesses (read/write)
- graph4 - dbf_File_Block_Accesses.JPG (73.72 KiB) Viewed 94621 times
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Thanks for the templates
Some how-to have been posted here in the past : http://forums.cacti.net/viewtopic.php?t=829 and http://forums.cacti.net/viewtopic.php?t=6209
Some how-to have been posted here in the past : http://forums.cacti.net/viewtopic.php?t=829 and http://forums.cacti.net/viewtopic.php?t=6209
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Templates
Oops, I forgot the most important, silly me...
- Attachments
-
- cacti_graph_template_application_oracle_physical_access.xml
- This template gives the physical access (block/sec read and write) for each database
- (20.81 KiB) Downloaded 4777 times
-
- cacti_graph_template_application_oracle_cache_hit_ratio.xml
- This template gives the cache hit ratio for each database
- (21.05 KiB) Downloaded 4517 times
-
- cacti_graph_template_application_oracle_filetable_tablespace_size.xml
- This template gives for each TableSpace of each Database, the space used/space allocated in octets.
- (16.57 KiB) Downloaded 6579 times
And last but not least
The last template.
Thanks Suzumushi
Thanks Suzumushi
- Attachments
-
- cacti_graph_template_application_oracle_file_table_physical_access.xml
- This template gives for each File (.dbf) of each Database, the block read/sec and block write/sec
- (13.32 KiB) Downloaded 4378 times
-
- Posts: 5
- Joined: Wed Jan 26, 2005 10:31 pm
Please, post Data queries
Hi!
Can you post de Data queries for Oracle templates¿¿
Thanks.
Can you post de Data queries for Oracle templates¿¿
Thanks.
Thanks naska
Yes, of course without the data queries, it won't work . Sorry I thought it was exported via the Export command.
Here they are :
1st :
oracle_DataFileTable.xml
associated with graph : Application - Oracle - File Table - Physical Access
2nd :
oracle_Table.xml
associated with graph :
Application - Oracle - Block Get Rate
Application - Oracle - Block Visit per transaction
Application - Oracle - Cache Hit Ratio
Application - Oracle - Physical Access
Application - Oracle - Redo Logs Wait Ratio
3rd :
oracle_TableSpaceTable.xml
associated with graph :
Application - Oracle - TableSpace Size
Sorry, it must have been confusing for people who tried to use the graph templates.
Here they are :
1st :
oracle_DataFileTable.xml
associated with graph : Application - Oracle - File Table - Physical Access
2nd :
oracle_Table.xml
associated with graph :
Application - Oracle - Block Get Rate
Application - Oracle - Block Visit per transaction
Application - Oracle - Cache Hit Ratio
Application - Oracle - Physical Access
Application - Oracle - Redo Logs Wait Ratio
3rd :
oracle_TableSpaceTable.xml
associated with graph :
Application - Oracle - TableSpace Size
Sorry, it must have been confusing for people who tried to use the graph templates.
- Attachments
-
- oracle_DataFileTable.xml
- (3.21 KiB) Downloaded 3694 times
-
- oracle_Table.xml
- (4.65 KiB) Downloaded 4016 times
-
- oracle_TableSpaceTable.xml
- (2.68 KiB) Downloaded 4451 times
Hi,
I have no time at the moment to make a procedure (sorry), the links fmangeant posted are very well documented :
http://forums.cacti.net/viewtopic.php?t=829
http://forums.cacti.net/viewtopic.php?t=6209
I think you will find all the infos to make oracle agent work.
About working under Win32, these templates are based on SNMP, not scripts run by the "cacti server" so it should work without problem.
Olivier
I have no time at the moment to make a procedure (sorry), the links fmangeant posted are very well documented :
http://forums.cacti.net/viewtopic.php?t=829
http://forums.cacti.net/viewtopic.php?t=6209
I think you will find all the infos to make oracle agent work.
About working under Win32, these templates are based on SNMP, not scripts run by the "cacti server" so it should work without problem.
Olivier
Hi Pierre,
Do you use the Create->New Graph menu on the left handside of the screen ? If not, have a try. This Cache Hit Ratio template works exactly the same way the others do, so if you get "Application - Oracle - Block Get Rate", or "Application - Oracle - Physical Access" working, you 'should' also get the cache hit ratio.
Olivier
Do you use the Create->New Graph menu on the left handside of the screen ? If not, have a try. This Cache Hit Ratio template works exactly the same way the others do, so if you get "Application - Oracle - Block Get Rate", or "Application - Oracle - Physical Access" working, you 'should' also get the cache hit ratio.
Olivier
Who is online
Users browsing this forum: No registered users and 3 guests