...
Acerca de los controles de umbral
Umbrales simples
En el NMIS, un umbral simple se define de la siguiente manera:
...
En el archivo /usr/local/nmis8nmis9/models-custom/Common-threshold.nmis esto se ve así:
...
Los controles son pequeños fragmentos de código que se evaluarán cuando sea necesario, por lo que es posible que desees hacer los siguientes tipos de cosasevaluaciones.
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 |
...
Hay dos opciones: reducir la configuración de amortiguación a un nivel inferior, por ejemplo, al 1 %, que debería ser suficiente, o desactivar la función. Puede editar esto en la interfaz gráfica de usuario (en la sección "globales") o modificar directamente la configuración en nmis8nmis9/conf/Config.nmis.
Para reducirlo al 1%, cambie los valores de configuración a:
...