この例では、Windows 上のファイル システムをモニタします。この例は、sysedge.cf ファイルの以下の 3 つのグループのエントリで構成されています。
注:デフォルトでオブジェクト インスタンスに追加されるプレフィックス //./(localhost を表します)は、この例では省略されています。
# Derives a state for file system C: (System). # Creates an aggregate ‘FSys’ ‘System’ ‘PercentUsed’, which can be in state ok, minor, major, or fatal. monitor devTableEntry 'C:' devCapacity 51 0x0 120 absolute > 90 'Description' '' 'FSys' 'System' 'PercentUsed' minor monitor devTableEntry 'C:' devCapacity 52 0x0 120 absolute > 95 'Description' '' 'FSys' 'System' 'PercentUsed' major monitor devTableEntry 'C:' devCapacity 53 0x0 120 absolute > 99 'Description' '' 'FSys' 'System' 'PercentUsed' fatal # Derives warning state if three conditions are met simultaneously, that is, only if all three Backup file systems E:, F:, and G: are above 95%. # Creates an aggregate ‘FSys’ ‘Backup’ ‘PercentUsed’, which can be in state ok or warning. monitor devTableEntry 'E:' devCapacity 54 0x800 120 absolute > 95 'Description' '' 'FSys' 'Backup' 'PercentUsed' warning monitor devTableEntry 'F:' devCapacity 55 0x800 120 absolute > 95 'Description' '' 'FSys' 'Backup' 'PercentUsed' warning monitor devTableEntry 'G:' devCapacity 56 0x800 120 absolute > 95 'Description' '' 'FSys' 'Backup' 'PercentUsed' warning # Derives worst state of all file systems. # Creates a super aggregate ‘FSys’ ‘*’ ‘PercentUsed’, which can be in state ok, warning, minor, major, or fatal. aggregate_level 0x0002
| Copyright © 2011 CA. All rights reserved. | このトピックについて CA Technologies に電子メールを送信する |