...
...
Table of Contents |
---|
Modelado básico
Arquitectura de NMIS 8
...
NMIS incluye un conjunto de thresholds estándar que se asocian comúnmente a algunos proveedores. Este es un resumen de estos thresholds.
Nombre del Threshold | Evento | Proveedor |
---|---|---|
available | Proactive Interface Availability | Common for all Vendors |
calls_util | Proactive Calls Utilisation | Cisco |
ccpu | Proactive CPU | Cisco |
cpu | Proactive CPU | Cisco (the most common for Cisco devices) |
cpuUtil | Proactive CPU | Alcatel, Zyxel |
cpu_cpm | Proactive CPU | Cisco |
env_temp | Proactive Temp | Cisco, Zyxel |
hrsmpcpu | Proactive CPU | Microsoft |
jnx_buffer | Proactive Buffer Utilisation | Juniper |
jnx_cpu | Proactive CPU | Juniper |
jnx_heap | Proactive Heap Utilisation | Juniper |
jnx_temp | Proactive Temp | Juniper |
mem-proc | Proactive Memory Free | Cisco |
memUtil | Proactive Memory Utilisation | Alcatel, Zyxel |
modem_dead | Proactive Dead Modem | Cisco |
modem_unav | Proactive Modem Utilisation | Cisco |
pkt_discards_in | Proactive Interface Discards Input Packets | Common for all Vendors |
pkt_discards_out | Proactive Interface Discards Output Packets | Common for all Vendors |
pkt_errors_in | Proactive Interface Error Input Packets | Common for all Vendors |
pkt_errors_out | Proactive Interface Error Output Packets | Common for all Vendors |
reachable | Proactive Reachability | Common for all Vendors |
response | Proactive Response Time | Common for all Vendors |
ssCpuRawIdle | Proactive CPU IO Idle | net-snmp (Linux, Solaris, etc) |
ssCpuRawSystem | Proactive CPU IO System | net-snmp (Linux, Solaris, etc) |
ssCpuRawUser | Proactive CPU IO User | net-snmp (Linux, Solaris, etc) |
ssCpuRawWait | Proactive CPU IO Wait | net-snmp (Linux, Solaris, etc) |
util_in | Proactive Interface Input Utilisation | Common for all Vendors |
util_out | Proactive Interface Output Utilisation | Common for all Vendors |
Crear Thresholds (Detallado)
...
echo - Esta variable se establece en el archivo Common-stats.nmis. Se utiliza para realizar cálculos sobre la variable "zebra" en el lenguaje RRD. Esta variable luego se pasa al archivo Common-threshold.nmis para activar y enviar el evento correspondiente.
|
|
| |
|
|
Controles en los Thresholds
...
Los controles son pequeñas piezas de código que se evaluarán cuando sea necesario, por lo que es posible que desee hacer alguno de los siguientes.
Resultado | Control |
---|---|
Usar este threshold si la velocidad de la interface se encuentra entre 1 y 5 megabits/segundo | $ifSpeed <= 50000 and $ifSpeed >= 10000 |
Usar este threshold si la velocidad de la interface es de 100 megabits | $ifSpeed == 100000000 |
Usar este threshold si la velocidad de la interface es de 10 megabits | $ifSpeed == 10000000 |
Usar este threshold si la velocidad de la interface es de 1 gigabits | $ifSpeed == 1000000000 |
Usar este threshold si el tamaño del disco es mayor a 100 gigaytes | $hrDiskSize >= 104857600000 |
Usar este threshold para todos los dispositivos con dirección IP 192.168 | $host =~ /192\.168/ |
Usar este threshold para todos los dispositivos en el grupo "Sales" | $group eq "Sales" |
Usar este threshold para todos los dispositivos Cisco IOS | $sysDescr =~ /Cisco IOS/ |
Alertas
Alertas Basicas
An alert is a custom event generated by testing the value of an OID or custom variable and producing a boolean result (true or false). If the test returns true, an event is raised and it will run through the escalation system, false will not raise an alert. Later on, when the test that was returning true once again returns false the event will be cleared.
...
Depuración de modelado de dispositivos
Herramientas para trabajar con modelos: Tools for Working with NMIS Models
Opciones de modelado avanzado
...
A continuación se indica cómo se comportará NMIS cuando se le brinden varias opciones de configuración, esto se refiere específicamente a activo, ping y recopilación.
Descripción del poleo | active | ping | collect | plugins | services |
---|---|---|---|---|---|
Poleo de nodos regulares el nodo utilizara ICMP y obtendrá datos SNMP y WMI (si se configuraron las credenciales) | si | si | si | Se ejecutara | se colectara si está configurado |
Nodos con "SNMP Only", se colecta SNMP pero no ICMP. | si | no | si | Se ejecutara | se colectara si está configurado |
Ping Only Node, el nodo sera colectado usando solamente ICMP | si | si | no | Se ejecutara | se colectara si está configurado |
Service Only Node, el nodo solo tendrá servicios recopilados si están configurados. | si | no | no | Se ejecutara | se colectara si está configurado |
El nodo NO está activo y NMIS ignorará principalmente el nodo. | no | N/A | N/A | N/A | N/A |
Versiones NMIS posteriores e incluidas NMIS 8.6.8G
...
A continuación se indica cómo se comportará NMIS cuando se le brinden varias opciones de configuración, esto se refiere específicamente a activo, ping y recopilación.
Polling Description | active | ping | collect | collect_snmp | collect_wmi | services |
---|---|---|---|---|---|---|
Regular node polling, the node will be ICMP polled and will have SNMP and WMI (if credentials configured) data collected | true | true | true | true | true | will be polled if configured |
SNMP or WMI Only Node, the not will have SNMP collected but ICMP polling will not be performed. | true | false | true | true | true | will be polled if configured |
Ping Only Node, the node will only be polled using ICMP. | true | true | false | false | false | will be polled if configured |
Service Only Node, the node will only have services collected if they are configured. | true | false | false | false | false | will be polled if configured |
API Only Node, the node will use plugins to collect data, no other polling will be done, except services if configured. | true | false | false | false | false | will be polled if configured |
Node is NOT active and NMIS will mostly ignore the node. | false | N/A | N/A | N/A | N/A | N/A |
Model Policy
NMIS 8.6 introduced a new mechanism for adjusting a model's behaviour for particular nodes: the Model Policy system. In version 8.6.0G it allows you to specify flexible rules for adding or removing systemHealth model sections for specific nodes (or groups of nodes).
...