Funciones SNMP

CXL. Funciones SNMP

Para usar las funciones SNMP en Unix necesita instalar el paquete UCD SNMP. En Windows estas funciones est谩n solamente disponibles en NT y no en Win95/98.

Importante: Para usar el paquete UCD SNMP, necesita definir NO_ZEROLENGTH_COMMUNITY a 1 antes de compilarlo. Despues de configurar UCD SNMP, edite config.h y busque NO_ZEROLENGTH_COMMUNITY. Descomente la l铆nea #define. Deber铆a de verse como sigue:

#define NO_ZEROLENGTH_COMMUNITY 1

Si ve faltas de segmentaci贸n desconocidas en combinaci贸n con los comandos SNMP, no siga las siguientes instrucciones. Si no desea recompilar UCD SNMP, puede compilar PHP con la opci贸n --enable-ucd-snmp-hack la cual trabajar谩 entorno a las mismas caracter铆sticas.

Tabla de contenidos
snmp_get_quick_print -- Va a buscar el valor actual de la biblioteca UCD estableciendo quick_print
snmp_get_valueretrieval --  Return the method how the SNMP values will be returned
snmp_read_mib --  Reads and parses a MIB file into the active MIB tree
snmp_set_enum_print --  Return all values that are enums with their enum value instead of the raw integer
snmp_set_oid_numeric_print --  Return all objects including their respective object id within the specified one
snmp_set_quick_print -- Establece el valor de quick_print con el de la biblioteca UCD SNMP.
snmp_set_valueretrieval --  Specify the method how the SNMP values will be returned
snmpget -- Va a buscar un objeto SNMP
snmpgetnext --  Fetch a SNMP object
snmprealwalk --  Return all objects including their respective object ID within the specified one
snmpset -- Va a buscar un objeto SNMP
snmpwalk -- Busqueda por un arbol de informaci贸n acerca de un entidad de red
snmpwalkoid -- Busqueda por un arbol de informaci贸n acerca de un entidad de red