...
Indexed Objects like interfaces
- $ifAlias
- $Description
- $ifDescr
- $ifType
- $ifSpeed
- $ifMaxOctets
- $maxBytes
- $maxPackets
$entPhysicalDescr
Newly added indexed objects in NMIS 8.6G
$hrStorageDescr
$hrStorageType
$hrStorageUnits (disk block size)
$hrStorageSize (disk size in blocks)
$hrStorageUsed (disk used in blocks)
$hrDiskSize (disk size in bytes, hrStorageSize * hrStorageUnits)
$hrDiskUsed (disk used in bytes, hrStorageUsed * hrStorageUnits)
$hrDiskFree (disk free in bytes)
Sample Controls
The crontrols controls are little pieces of code which will be evaluated when needed, so you might want to do the following sorts of things
Result | Control |
---|---|
Apply the threshold to all devices in the group "Sales" | $group eq "Sales" |
Apply the threshold to all devices starting with the IP address 192.168 | $host =~ /192\.168/ |
Apply the threshold to all Cisco IOS devices | $sysDescr =~ /Cisco IOS/ |
Use this threshold if the interface speed is between 1 and 5 megabits/second | $ifSpeed <= 5000000 and $ifSpeed >= 1000000 |
Use this threshold if the interface speed is 10 megabits | $ifSpeed == 10000000 |
Use this threshold if the interface speed is 100 megabits | $ifSpeed == 100000000 |
Use this threshold if the interface speed is 1 gigabits | $ifSpeed == 1000000000 |
Use this threshold if the disk is larger than 100 gigabytes | $hrDiskSize >= 104857600000 |
Threshold Dampening in NMIS
...