Enviado por admin el
En esta segunda parte veremos como instalar y configurar Nagios en el mismo servidor donde tenemos instalado Asterisk y como monitorizar Asterisk utilizando los plugin check_snmp y check_asterisk.pl. Nagios es un programa muy potente y versátil para monitorizar servidores, procesos, routers, impresoras, switch y, en general, cualquier tipo de aparato conectado a la red.
Para la instalación de Nagios desde los paquetes precompilados, tendremos que instalar el repositorio rpmforge:
cd /usr/src
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i...
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.i386.rpm
Terminada la operación actualizamos el sistema:
yum upgrade
Ahora podemos controlar los paquetes disponibles para nagios:
yum search nagios
icinga.i386 : Open Source host, service and network monitoring program
nagios.i386 : Open Source host, service and network monitoring program
nagios-devel.i386 : Header files, libraries and development documentation for nagios
nagios-nrpe.i386 : Nagios Remote Plug-ins Execution daemon
nagios-nsca.i386 : Nagios Service Check Acceptor
nagios-nsca-client.i386 : nagios send_nsca
nagios-plugins.i386 : Host/service/network monitoring program plugins for Nagios
nagios-plugins-nrpe.i386 : Nagios plug-in for NRPE
nagios-plugins-setuid.i386 : Host/service/network monitoring program plugins for Nagios requiring setuid
ndoutils.i386 : Nagios plugin to store Nagios data in a relational database
nsc.i386 : Console monitor for Nagios
nsc.noarch : Console monitor for Nagios
perl-Nagios-Object.noarch : Nagios::Object - Nagios object configuration parsing
perl-Nagios-Plugin.noarch : Family of perl modules to streamline writing Nagios
rss4nagios.i386 : Authenticated RSS alerts for nagios
Instalaremos los siguientes paquetes:
yum install nagios nagios-plugins
CentOS se hará cargo de instalar también todas las dependencias necesarias. Se creará el grupo y usuario Nagios, unas carpetas donde se guardarán los registros y los archivo necesarios para que nagios funcione, un archivo para apache. Todos los servicios se controlarán cada cinco minutos.
Una vez terminada la instalación, podemos empezar con la configuración de Nagios.
El archivo principal donde se definen los parámetros para el programa es nagios.cfg y lo encontramos en la carpeta /etc/nagios.
Para la instalación que vamos a hacer no se necesita ningún tipo de modifica.
Los que tenemos que modificar son los siguientes archivos presentes en la carpeta /etc/nagios/objects:
- commands.cfg
- localhost.cfg
- contact.cfg
Empezemos con contact.cfg
nano /etc/nagios/objects/contacts.cfg
En este archivo cambiamos estas líneas:
define contact{
contact_name nagiosadmin
use generic-contact
alias Nagios Admin
email nagios@localhost
}
para que queden:
define contact{
contact_name nagiosadmin
use generic-contact
alias Nagios Administrador
email fulano@gmail.com;
}
fulano@gmai.com será la dirección de correo donde Nagios enviará las notificaciones. nagiosadmin es el nombre del administrador predefinido en Nagios. Cada vez que aparece una línea que empieza con “use”, se hace referencia a un template definido en el archivo templates.cfg. En el caso de generic-contact aparecen estas líneas:
define contact{
name generic-contact
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r,f,s
host_notification_options d,u,r,f,s
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
can_submit_commands 1
register 0
}
Encuentran una explicación de estos parámetros en la documentación oficial de Nagios 3.0
Ahora nos dedicamos al segundo archivo (commands.cfg) donde definimos algunos los comandos que luego utilizaremos para la configuración de nuestro servidor local. Los plugins de Nagios se instalan en /usr/lib/nagios/plugins. Para monitorizar Asterisk, utilizaremos el plugin check_snmp y otro que viene en la carpeta /usr/lib/nagios/plugins/contrib: check_asterisk.pl Con el primero consultamos Asterisk utilizando el protocolo SNMP. Con el segundo nos conectamos al AMI (Asterisk Manager Interface) para ver si Asterisk está corriendo. De esta forma tendremos un control más completo sobre Asterisk. Si por algún motivo se cae el agente SNMP tendremos siempre otra forma de controlar Asterisk.
Para conocer la sintaxis de un plugin de Nagios el comando es siempre el mismo:
cd /usr/lib/nagios/plugins
./check_snmp –h
Para añadir los dos comandos en Nagios modificaremos el archivo commands.cfg
nano /etc/nagios/objects/commands.cfg
al final del archivo añadimos:
define command{
command_name check_snmp
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C public -o $ARG1$ -P 2c -l $ARG2$ -w $ARG3$ -c $ARG4$
}
Command name: nombre del comando
Command line: los parámetros que pasaremos al comando:
- La macro (variable) $USER1$ contiene el valor /usr/lib/nagios/plugins como especificado en el archivo /etc/nagios/resource.cfg
- check_snmp – Nombre del plugin
- -H $HOSTADDRESS$ – la opción –H define el servidor que vamos a interrogar y $HOSTADDRESS$ es una macro (variable) predefinida que contiene el nombre del servidor como lo definiremos luego en localhost.cfg
- -C public – es la comunidad que vamos a utilizar para conectarnos al agente como definido en el archivo /etc/snmp/snmp.conf que hemos visto en el precedente articulo
- -o – la OID que vamos a consultar
- -P 2c – versión de SNMP utilizada para la consulta
- -l la etiqueta que definiremos
- -w – está por Warning
- -c – está por Critical
- $ARG1$ $ARG2$ $ARG3$ ARG4$ son las macros (variables) cuyo valor será asignado desde la configuración de localhost.cfg
Al verificarse el evento Warning y/o Critical, Nagios nos enviará una notificación por correo electrónico.
El segundo plugin lo definimos de la siguiente forma:
define command{
command_name check_asterisk
command_line $USER1$/contrib/check_asterisk.pl -h $HOSTADDRESS$ -m mgr -u admin -p sesamo
}
admin y sesamo indican respectivamente el usuario y la contraseña para conectarse al AMI de Asterisk. Para definirlos tenemos que modificar el manager.conf de Asterisk de la siguiente forma:
nano /etc/asterisk/manager.conf
[general]
displaysystemname = yes
enabled = yes
webenabled = yes
port = 5038
[admin]
secret = sesamo
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.255
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config
Para actualizar la configuración:
/etc/init.d/asterisk reload
Para terminar la configuración modificamos el archivo localhost.cfg. Cambiamos de nombre al que viene con la instalación de Nagios:
mv /etc/nagios/objects/localhost.cfg /etc/nagios/objects/localhost.cfg.old
y creamos uno nuevo
nano /etc/nagios/objects/localhsot.cfg
Añadimos las siguientes líneas:
define host{
use linux-server
host_name VozOrg
alias VozOrg
address 127.0.0.1
}
define service{
use local-service
host_name VozOrg
service_description SIP
check_command check_snmp!ASTERISK-MIB::astChanTypeChannels.10!"Canales SIP Activos"!8!16
notifications_enabled 0
}
define service{
use local-service
host_name VozOrg
service_description IAX2
check_command check_snmp!ASTERISK-MIB::astChanTypeChannels.5!"Canales IAX2 Activos"!4!8
notifications_enabled 0
}
define service{
use local-service
host_name VozOrg
service_description DAHDI
check_command check_snmp!ASTERISK-MIB::astChanTypeChannels.1!"Canales DAHDI Activos"!4!8
notifications_enabled 0
}
define service{
use local-service
host_name VozOrg
service_description Asterisk_check
check_command check_asterisk
notifications_enabled 0
}
Una pequeña explicación. En el primer bloque definimos el nombre del servidor, un alias y la dirección IP (en este caso siendo Nagios y Asterisk instalados en el mismo servidor indicamos 127.0.0.1 o localhost).
En los tres bloques que siguen controlamos, a través del plugin check_snmp, los canales SIP, IAX2 y DAHDI activos. Asignamos a las cuatros macros (variables) que hemos visto al momento de la configuración del comando ($ARG1$ $ARG2$ $ARG3$ ARG4$) los respectivos valores separados por el caracter !
Las OID las tomamos interrogando Asterisk con SNMP como hemos visto en el precedente articulo.
En el ultimo bloque utilizamos el plugin check_asterisk.pl y a través del AMI de Asterisk controlamos que esté corriendo.
Si queremos controlar también algunos servicios básicos del servidor (usuarios, procesos, carga, etc…) añadimos estas líneas:
define service{
use local-service
host_name VozOrg
service_description PING
check_command check_ping!100.0,20%!500.0,60%
}
define service{
use local-service
host_name VozOrg
service_description Current Users
check_command check_local_users!20!50
}
define service{
use local-service
host_name VozOrg
service_description Total Processes
check_command check_local_procs!250!400!RSZDT
}
define service{
use local-service
host_name VozOrg
service_description Current Load
check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
}
define service{
use local-service
host_name VozOrg
service_description SSH
check_command check_ssh
notifications_enabled 0
}
Ahoras estamos listos para arrancar nagios. Antes de hacerlo hay una forma de controlar que todos los archivos de Nagios estén sin errores:
nagios –v /etc/nagios/nagios.cfg
Si la respuesta termina con:
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Significa que todo está bien. En caso contrario Nagios indicará el archivo y la línea donde se encuentra el error.
El acceso a la pagina de Nagios está protegido y para poder acceder tenemos que configurar la contraseña del usuario predefinido nagiosadmin de la siguiente forma:
htpasswd -bc /etc/nagios/htpasswd.users nagiosadmin sesamo
Adding password for user nagiosadmin
Este comando creará una archivo htpasswd.users que contendrá los datos de acceso para el usuario predefinido nagiosadmin (en nuestro caso la contraseña es sesamo)
Configuramos Nagios y Apache para que arranquen en automático:
chkconfig nagios on
chkconfig httpd on
Arrancamos primero apache y luego Nagios:
/etc/init.d/httpd start
/etc/init.d/nagios start
Para entrar en la pagina de Nagios:
Algunas imágenes de mi Nagios:
Utilizando PNP4Nagios algo de gráficos:
Un buen libro para aprender Nagios está disponible en Packt Publishing
Esto es todo.
2 comentarios
intalacion nagios para monitoreo de asterisk
Enviado por jucaen (no verificado) el
buenas muy bueno esta pag para la instalacion de snmp y nagios, pero hay algo que no e podido hacer, en el codigo que pones en la parte que defines los servicios, solo defines los sericios para el monitoreo de sip, iax, dadhi, pero veo que en las figuras de tu nagios hay servicios como el de las yamadas activas y llamdas procesadas, cual es la linea que se coje del snmp para poner en el define service, o si me puedes explicar como haces para adicionar los process de llamadas activas y llamadas procesadas, te agradesco de antemano
esto me bota el snmp
ASTERISK-MIB::astVersionString.0 = STRING: 1.4.36
ASTERISK-MIB::astVersionTag.0 = Gauge32: 10436
ASTERISK-MIB::astConfigUpTime.0 = 327981
ASTERISK-MIB::astConfigReloadTime.0 = 215381
ASTERISK-MIB::astConfigPid.0 = INTEGER: 3479
ASTERISK-MIB::astConfigSocket.0 = STRING: /var/run/asterisk.ctl
ASTERISK-MIB::astNumModules.0 = INTEGER: 154
ASTERISK-MIB::astNumIndications.0 = INTEGER: 40
ASTERISK-MIB::astCurrentIndication.0 = STRING: us
ASTERISK-MIB::astIndIndex.1 = INTEGER: 1
ASTERISK-MIB::astIndIndex.2 = INTEGER: 2
ASTERISK-MIB::astIndIndex.3 = INTEGER: 3
ASTERISK-MIB::astIndIndex.4 = INTEGER: 4
ASTERISK-MIB::astIndIndex.5 = INTEGER: 5
ASTERISK-MIB::astIndIndex.6 = INTEGER: 6
ASTERISK-MIB::astIndIndex.7 = INTEGER: 7
ASTERISK-MIB::astIndIndex.8 = INTEGER: 8
ASTERISK-MIB::astIndIndex.9 = INTEGER: 9
ASTERISK-MIB::astIndIndex.10 = INTEGER: 10
ASTERISK-MIB::astIndIndex.11 = INTEGER: 11
ASTERISK-MIB::astIndIndex.12 = INTEGER: 12
ASTERISK-MIB::astIndIndex.13 = INTEGER: 13
ASTERISK-MIB::astIndIndex.14 = INTEGER: 14
ASTERISK-MIB::astIndIndex.15 = INTEGER: 15
ASTERISK-MIB::astIndIndex.16 = INTEGER: 16
ASTERISK-MIB::astIndIndex.17 = INTEGER: 17
ASTERISK-MIB::astIndIndex.18 = INTEGER: 18
ASTERISK-MIB::astIndIndex.19 = INTEGER: 19
ASTERISK-MIB::astIndIndex.20 = INTEGER: 20
ASTERISK-MIB::astIndIndex.21 = INTEGER: 21
ASTERISK-MIB::astIndIndex.22 = INTEGER: 22
ASTERISK-MIB::astIndIndex.23 = INTEGER: 23
ASTERISK-MIB::astIndIndex.24 = INTEGER: 24
ASTERISK-MIB::astIndIndex.25 = INTEGER: 25
ASTERISK-MIB::astIndIndex.26 = INTEGER: 26
ASTERISK-MIB::astIndIndex.27 = INTEGER: 27
ASTERISK-MIB::astIndIndex.28 = INTEGER: 28
ASTERISK-MIB::astIndIndex.29 = INTEGER: 29
ASTERISK-MIB::astIndIndex.30 = INTEGER: 30
ASTERISK-MIB::astIndIndex.31 = INTEGER: 31
ASTERISK-MIB::astIndIndex.32 = INTEGER: 32
ASTERISK-MIB::astIndIndex.33 = INTEGER: 33
ASTERISK-MIB::astIndIndex.34 = INTEGER: 34
ASTERISK-MIB::astIndIndex.35 = INTEGER: 35
ASTERISK-MIB::astIndIndex.36 = INTEGER: 36
ASTERISK-MIB::astIndIndex.37 = INTEGER: 37
ASTERISK-MIB::astIndIndex.38 = INTEGER: 38
ASTERISK-MIB::astIndIndex.39 = INTEGER: 39
ASTERISK-MIB::astIndIndex.40 = INTEGER: 40
ASTERISK-MIB::astIndCountry.1 = STRING: at
ASTERISK-MIB::astIndCountry.2 = STRING: au
ASTERISK-MIB::astIndCountry.3 = STRING: bg
ASTERISK-MIB::astIndCountry.4 = STRING: br
ASTERISK-MIB::astIndCountry.5 = STRING: be
ASTERISK-MIB::astIndCountry.6 = STRING: ch
ASTERISK-MIB::astIndCountry.7 = STRING: cl
ASTERISK-MIB::astIndCountry.8 = STRING: cn
ASTERISK-MIB::astIndCountry.9 = STRING: cz
ASTERISK-MIB::astIndCountry.10 = STRING: de
ASTERISK-MIB::astIndCountry.11 = STRING: dk
ASTERISK-MIB::astIndCountry.12 = STRING: ee
ASTERISK-MIB::astIndCountry.13 = STRING: es
ASTERISK-MIB::astIndCountry.14 = STRING: fi
ASTERISK-MIB::astIndCountry.15 = STRING: fr
ASTERISK-MIB::astIndCountry.16 = STRING: gr
ASTERISK-MIB::astIndCountry.17 = STRING: hu
ASTERISK-MIB::astIndCountry.18 = STRING: il
ASTERISK-MIB::astIndCountry.19 = STRING: in
ASTERISK-MIB::astIndCountry.20 = STRING: it
ASTERISK-MIB::astIndCountry.21 = STRING: lt
ASTERISK-MIB::astIndCountry.22 = STRING: jp
ASTERISK-MIB::astIndCountry.23 = STRING: mx
ASTERISK-MIB::astIndCountry.24 = STRING: my
ASTERISK-MIB::astIndCountry.25 = STRING: nl
ASTERISK-MIB::astIndCountry.26 = STRING: no
ASTERISK-MIB::astIndCountry.27 = STRING: nz
ASTERISK-MIB::astIndCountry.28 = STRING: ph
ASTERISK-MIB::astIndCountry.29 = STRING: pl
ASTERISK-MIB::astIndCountry.30 = STRING: pt
ASTERISK-MIB::astIndCountry.31 = STRING: ru
ASTERISK-MIB::astIndCountry.32 = STRING: se
ASTERISK-MIB::astIndCountry.33 = STRING: sg
ASTERISK-MIB::astIndCountry.34 = STRING: th
ASTERISK-MIB::astIndCountry.35 = STRING: uk
ASTERISK-MIB::astIndCountry.36 = STRING: us
ASTERISK-MIB::astIndCountry.37 = STRING: us-o
ASTERISK-MIB::astIndCountry.38 = STRING: tw
ASTERISK-MIB::astIndCountry.39 = STRING: ve
ASTERISK-MIB::astIndCountry.40 = STRING: za
ASTERISK-MIB::astIndAlias.1 = STRING:
ASTERISK-MIB::astIndAlias.2 = STRING:
ASTERISK-MIB::astIndAlias.3 = STRING:
ASTERISK-MIB::astIndAlias.4 = STRING:
ASTERISK-MIB::astIndAlias.5 = STRING:
ASTERISK-MIB::astIndAlias.6 = STRING:
ASTERISK-MIB::astIndAlias.7 = STRING:
ASTERISK-MIB::astIndAlias.8 = STRING:
ASTERISK-MIB::astIndAlias.9 = STRING:
ASTERISK-MIB::astIndAlias.10 = STRING:
ASTERISK-MIB::astIndAlias.11 = STRING:
ASTERISK-MIB::astIndAlias.12 = STRING:
ASTERISK-MIB::astIndAlias.13 = STRING:
ASTERISK-MIB::astIndAlias.14 = STRING:
ASTERISK-MIB::astIndAlias.15 = STRING:
ASTERISK-MIB::astIndAlias.16 = STRING:
ASTERISK-MIB::astIndAlias.17 = STRING:
ASTERISK-MIB::astIndAlias.18 = STRING:
ASTERISK-MIB::astIndAlias.19 = STRING:
ASTERISK-MIB::astIndAlias.20 = STRING:
ASTERISK-MIB::astIndAlias.21 = STRING:
ASTERISK-MIB::astIndAlias.22 = STRING:
ASTERISK-MIB::astIndAlias.23 = STRING:
ASTERISK-MIB::astIndAlias.24 = STRING:
ASTERISK-MIB::astIndAlias.25 = STRING:
ASTERISK-MIB::astIndAlias.26 = STRING:
ASTERISK-MIB::astIndAlias.27 = STRING:
ASTERISK-MIB::astIndAlias.28 = STRING:
ASTERISK-MIB::astIndAlias.29 = STRING:
ASTERISK-MIB::astIndAlias.30 = STRING:
ASTERISK-MIB::astIndAlias.31 = STRING:
ASTERISK-MIB::astIndAlias.32 = STRING:
ASTERISK-MIB::astIndAlias.33 = STRING:
ASTERISK-MIB::astIndAlias.34 = STRING:
ASTERISK-MIB::astIndAlias.35 = STRING:
ASTERISK-MIB::astIndAlias.36 = STRING:
ASTERISK-MIB::astIndAlias.37 = STRING:
ASTERISK-MIB::astIndAlias.38 = STRING:
ASTERISK-MIB::astIndAlias.39 = STRING:
ASTERISK-MIB::astIndAlias.40 = STRING:
ASTERISK-MIB::astIndDescription.1 = STRING: Austria
ASTERISK-MIB::astIndDescription.2 = STRING: Australia
ASTERISK-MIB::astIndDescription.3 = STRING: Bulgaria
ASTERISK-MIB::astIndDescription.4 = STRING: Brazil
ASTERISK-MIB::astIndDescription.5 = STRING: Belgium
ASTERISK-MIB::astIndDescription.6 = STRING: Switzerland
ASTERISK-MIB::astIndDescription.7 = STRING: Chile
ASTERISK-MIB::astIndDescription.8 = STRING: China
ASTERISK-MIB::astIndDescription.9 = STRING: Czech Republic
ASTERISK-MIB::astIndDescription.10 = STRING: Germany
ASTERISK-MIB::astIndDescription.11 = STRING: Denmark
ASTERISK-MIB::astIndDescription.12 = STRING: Estonia
ASTERISK-MIB::astIndDescription.13 = STRING: Spain
ASTERISK-MIB::astIndDescription.14 = STRING: Finland
ASTERISK-MIB::astIndDescription.15 = STRING: France
ASTERISK-MIB::astIndDescription.16 = STRING: Greece
ASTERISK-MIB::astIndDescription.17 = STRING: Hungary
ASTERISK-MIB::astIndDescription.18 = STRING: Israel
ASTERISK-MIB::astIndDescription.19 = STRING: India
ASTERISK-MIB::astIndDescription.20 = STRING: Italy
ASTERISK-MIB::astIndDescription.21 = STRING: Lithuania
ASTERISK-MIB::astIndDescription.22 = STRING: Japan
ASTERISK-MIB::astIndDescription.23 = STRING: Mexico
ASTERISK-MIB::astIndDescription.24 = STRING: Malaysia
ASTERISK-MIB::astIndDescription.25 = STRING: Netherlands
ASTERISK-MIB::astIndDescription.26 = STRING: Norway
ASTERISK-MIB::astIndDescription.27 = STRING: New Zealand
ASTERISK-MIB::astIndDescription.28 = STRING: Philippines
ASTERISK-MIB::astIndDescription.29 = STRING: Poland
ASTERISK-MIB::astIndDescription.30 = STRING: Portugal
ASTERISK-MIB::astIndDescription.31 = STRING: Russian Federation / ex Soviet Union
ASTERISK-MIB::astIndDescription.32 = STRING: Sweden
ASTERISK-MIB::astIndDescription.33 = STRING: Singapore
ASTERISK-MIB::astIndDescription.34 = STRING: Thailand
ASTERISK-MIB::astIndDescription.35 = STRING: United Kingdom
ASTERISK-MIB::astIndDescription.36 = STRING: United States / North America
ASTERISK-MIB::astIndDescription.37 = STRING: United States Circa 1950/ North America
ASTERISK-MIB::astIndDescription.38 = STRING: Taiwan
ASTERISK-MIB::astIndDescription.39 = STRING: Venezuela / South America
ASTERISK-MIB::astIndDescription.40 = STRING: South Africa
ASTERISK-MIB::astNumChannels.0 = Wrong Type (should be INTEGER): Gauge32: 0
ASTERISK-MIB::astNumChanTypes.0 = INTEGER: 10
ASTERISK-MIB::astChanTypeIndex.1 = INTEGER: 1
ASTERISK-MIB::astChanTypeIndex.2 = INTEGER: 2
ASTERISK-MIB::astChanTypeIndex.3 = INTEGER: 3
ASTERISK-MIB::astChanTypeIndex.4 = INTEGER: 4
ASTERISK-MIB::astChanTypeIndex.5 = INTEGER: 5
ASTERISK-MIB::astChanTypeIndex.6 = INTEGER: 6
ASTERISK-MIB::astChanTypeIndex.7 = INTEGER: 7
ASTERISK-MIB::astChanTypeIndex.8 = INTEGER: 8
ASTERISK-MIB::astChanTypeIndex.9 = INTEGER: 9
ASTERISK-MIB::astChanTypeIndex.10 = INTEGER: 10
ASTERISK-MIB::astChanTypeName.1 = STRING: Agent
ASTERISK-MIB::astChanTypeName.2 = STRING: Local
ASTERISK-MIB::astChanTypeName.3 = STRING: MGCP
ASTERISK-MIB::astChanTypeName.4 = STRING: SIP
ASTERISK-MIB::astChanTypeName.5 = STRING: IAX2
ASTERISK-MIB::astChanTypeName.6 = STRING: Console
ASTERISK-MIB::astChanTypeName.7 = STRING: Skinny
ASTERISK-MIB::astChanTypeName.8 = STRING: DAHDI
ASTERISK-MIB::astChanTypeName.9 = STRING: OOH323
ASTERISK-MIB::astChanTypeName.10 = STRING: Phone
ASTERISK-MIB::astChanTypeDesc.1 = STRING: Call Agent Proxy Channel
ASTERISK-MIB::astChanTypeDesc.2 = STRING: Local Proxy Channel Driver
ASTERISK-MIB::astChanTypeDesc.3 = STRING: Media Gateway Control Protocol (MGCP)
ASTERISK-MIB::astChanTypeDesc.4 = STRING: Session Initiation Protocol (SIP)
ASTERISK-MIB::astChanTypeDesc.5 = STRING: Inter Asterisk eXchange Driver (Ver 2)
ASTERISK-MIB::astChanTypeDesc.6 = STRING: OSS Console Channel Driver
ASTERISK-MIB::astChanTypeDesc.7 = STRING: Skinny Client Control Protocol (Skinny)
ASTERISK-MIB::astChanTypeDesc.8 = STRING: DAHDI Telephony Driver w/PRI
ASTERISK-MIB::astChanTypeDesc.9 = STRING: Objective Systems H323 Channel Driver
ASTERISK-MIB::astChanTypeDesc.10 = STRING: Standard Linux Telephony API Driver
ASTERISK-MIB::astChanTypeDeviceState.1 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeDeviceState.2 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeDeviceState.3 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeDeviceState.4 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeDeviceState.5 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeDeviceState.6 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeDeviceState.7 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeDeviceState.8 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeDeviceState.9 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeDeviceState.10 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeIndications.1 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeIndications.2 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeIndications.3 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeIndications.4 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeIndications.5 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeIndications.6 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeIndications.7 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeIndications.8 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeIndications.9 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeIndications.10 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeTransfer.1 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeTransfer.2 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeTransfer.3 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeTransfer.4 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeTransfer.5 = INTEGER: true(1)
ASTERISK-MIB::astChanTypeTransfer.6 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeTransfer.7 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeTransfer.8 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeTransfer.9 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeTransfer.10 = INTEGER: false(2)
ASTERISK-MIB::astChanTypeChannels.1 = Gauge32: 0
ASTERISK-MIB::astChanTypeChannels.2 = Gauge32: 0
ASTERISK-MIB::astChanTypeChannels.3 = Gauge32: 0
ASTERISK-MIB::astChanTypeChannels.4 = Gauge32: 0
ASTERISK-MIB::astChanTypeChannels.5 = Gauge32: 0
ASTERISK-MIB::astChanTypeChannels.6 = Gauge32: 0
ASTERISK-MIB::astChanTypeChannels.7 = Gauge32: 0
ASTERISK-MIB::astChanTypeChannels.8 = Gauge32: 0
ASTERISK-MIB::astChanTypeChannels.9 = Gauge32: 0
ASTERISK-MIB::astChanTypeChannels.10 = Gauge32: 0
no me salen los valres qe te salen en tu snmp
ASTERISK-MIB::astConfigCallsActive.0 = Gauge32: 0
ASTERISK-MIB::astConfigCallsProcessed.0 = Counter32: 27
Re: intalacion nagios para monitoreo de asterisk
Enviado por admin el
Hola,
creo que se debe a la versión de Asterisk. La tuya es la 1.4.36 mientras que la mia es la 1.6.0.28
Saludos