The following examples specify generic autowatchers for the sysedge.cf file:
# Device Table - Monitor capacity on all discovered devices # (minor at 50%, major at 75%) autowatcher -watchtype=generic -index=11 -table=devTableEntry -name='Device Table Autowatcher' -criteria='.*' -attribute=devCapacity -op=ge -value=50 -severity=minor -desc='Device capacity (percentage)' -monflags=0x0 -limit=10 -interval=60 -objclass='Disk' -objattr='Capacity' autowatcher -watchtype=generic -index=12 -table=devTableEntry -name='Device Table Autowatcher' -criteria='.*' -attribute=devCapacity -op=ge -value=75 -severity=major -desc='Device capacity (percentage)' -monflags=0x0 -limit=10 -interval=60 -objclass='Disk' -objattr='Capacity' # Disk Statistics Table - Monitor disk service time on all discovered disks autowatcher -watchtype=generic -index=101 -table=diskStatsEntry -name='Disk Stats Autowatcher' -criteria='.*' -attribute=diskStatsServiceTime -op=ge -value=100 -severity=major -desc='Disk service time' -interval=60 -objclass='DiskStats' -objattr='ServiceTime' # Process Table - Monitor the resident set size on all cmd processes # lossAction example autowatcher -watchtype=generic -index=202 -table=processEntry -name='Process Table Autowatcher' -criteria='cmd' -attribute=processRSS -op=ge -value=10000 -severity=major -desc='cmd process RSS (KB)' -interval=30 -objclass='Process' -objattr='process RSS' -scaninterval=30 # MIB-2 Interface Table - Monitor the operating status of all tunneled network # interfaces - multiple criteria example autowatcher -watchtype=generic -index=303 -table=ifEntry -name='WiFi Interface Autowatcher' -criteria='.*' -criteria2=ifType -criteria2regex='131' -attribute=ifOperStatus -op=eq -value=2 -desc='tunnel interface operating status' -severity=critical -objclass=Network -objattr=OperatingStatus # Host Resource Device Table - Monitor the device status of all devices # dual-column instance example autowatcher -watchtype=generic -index=404 -table=hrDeviceEntry -name='HR Device Autowatcher' -criteria='.*' -attribute=hrDeviceStatus -op=ne -value=2 -desc='HR device status' -severity=fatal -objclass=Hardware -objattr=OperatingStatus
Copyright © 2013 CA. All rights reserved. |
|