Forum und email

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.

Table of Contents

  • 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_oid_output_format — Set the OID output format
  • 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