I have one question about the odbc test method (HMON 7.78) :
I use it to check DB oracle on SAN to see with SQL query.
All it's ok, but I want to know if it's possible to check more than one result of this query with this method.
Here is my query :
Result :SELECT fs.tablespace_name "Tablespace", (df.totalspace - fs.freespace) "Used MB", mx.maxspace "Max size MB",
DECODE(mx.maxspace, 0, ROUND(100 * (df.totalspace - fs.freespace) / df.totalspace), ROUND(100 *(df.totalspace - fs.freespace) / mx.maxspace)) "Pct. Used Max" FROM
(SELECT tablespace_name, ROUND(SUM(bytes) / 1048576) TotalSpace FROM dba_data_files GROUP BY tablespace_name) df,
(SELECT tablespace_name, ROUND(SUM(DECODE(maxbytes, 0, bytes, maxbytes)) / 1048576) MaxSpace FROM dba_data_files GROUP BY tablespace_name) mx,
(SELECT tablespace_name, ROUND(SUM(bytes) / 1048576) FreeSpace FROM dba_free_space GROUP BY tablespace_name) fs WHERE df.tablespace_name = fs.tablespace_name AND df.tablespace_name = mx.tablespace_name ORDER BY "Pct. Used Max" DESC ;
My request is :
Is it possible, via only this request, to control more than one value of this board ? Because I need to return values, for monitoring, of "Tablespace value" and "used MB" and "Max size MB"and "Pct. Used Max"
Thx.
Gilali