Toggle navigation
Toggle navigation
This project
Loading...
Sign in
guizhou-monitorV2.0.1
/
agent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangmingm
8 years ago
Commit
2e7c828f93dab9389ac24ad161f92b464b5ea8ea
1 parent
30473d46
修改 getStatus 方法。
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
src/com/sitech/ismp/coll/CollOracleBySql.java
src/com/sitech/ismp/coll/CollOracleBySql.java
View file @
2e7c828
...
...
@@ -763,12 +763,17 @@ public class CollOracleBySql {
collectiondbbase
.
addKPI
(
KBP_ID
,
"CM-00-03-001-05"
,
collectiondbbase
.
getSQLKPIInfo
(
"select LOG_MODE from v$database"
));
String
logDir
=
collectiondbbase
/*
String logDir = collectiondbbase
.getSQLKPISetInfo("select value from v$parameter where name = 'log_archive_dest'");
logDir = logDir == null ? "" : logDir;
logDir = logDir.replaceAll("\r", " ").replaceAll("\n", " ").replaceAll("\t", " ");
collectiondbbase.addKPI(KBP_ID, "CM-00-03-001-06", logDir);*/
collectiondbbase
.
addKPI
(
KBP_ID
,
"CM-00-03-001-06"
,
logDir
);
collectiondbbase
.
addKPI
(
KBP_ID
,
"CM-00-03-001-06"
,
collectiondbbase
.
getSQLKPIInfo
(
"select value from v$parameter where name = 'db_recovery_file_dest'"
));
collectiondbbase
.
addKPI
(
...
...
Please
register
or
login
to post a comment