1.用下面的语句生成清除警告信息的脚本
select 'exec em_severity.delete_current_severity(''' || target_guid ||
''',''' || metric_guid || ''',''' || key_value || ''');'
from sysman.MGMT_CURRENT_SEVERITY
2.以sysman用户login SQLPLUS 后执行上一步生成的脚本:
exec em_severity.delete_current_severity('17696B0D5947DFBD901DF7DA48706029','6E65075DA52ACA744B4B8C3FCB018289','/ftp');
exec em_severity.delete_current_severity('17696B0D5947DFBD901DF7DA48706029','6E65075DA52ACA744B4B8C3FCB018289','/opt');
exec em_severity.delete_current_severity('17696B0D5947DFBD901DF7DA48706029','6E65075DA52ACA744B4B8C3FCB018289','/spaceadm');
exec em_severity.delete_current_severity('17696B0D5947DFBD901DF7DA48706029','6E65075DA52ACA744B4B8C3FCB018289','/tmp');
3.相关信息可以查看下面的两个表:
sysman.mgmt_severity --历史信息
sysman.MGMT_CURRENT_SEVERITY量 --当前信息
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29987/viewspace-52037/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29987/viewspace-52037/