AXIOMTEK DSA-132 Series Información técnica Pagina 166

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 189
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 165
Manual:API
163
OID
print command can return OID values for properties that are available in SNMP. This feature appeared in 3.23
version.
In console, OID values can be seen by running 'print oid' command. In API, these properties have name that ends
with ".oid", and can be retrieved by adding their name to the value of '.proplist'. An example:
/system/resource/print
=.proplist=uptime,cpu-load,uptime.oid,cpu-load.oid
!re
=uptime=01:22:53
=cpu-load=0
=uptime.oid=.1.3.6.1.2.1.1.3.0
=cpu-load.oid=.1.3.6.1.2.1.25.3.3.1.2.1
!done
!trap
When for some reason API sentence fails trap is sent in return accompanied with message attribute and on some
occasions category argument.
message
When API sentence fails some generic message or message from used internal process is return to give more details
about failure
<<< /ip/address/add
<<< =address=192.168.88.1
<<< =interface=asdf
<<<
>>> !trap
>>> =category=1
>>> =message=input does not match any value of interface
category
if it is a general error, it is categorized and error category is returned. possible values for this attribute are
0 - missing item or command
1 - argument value failure
2 - execution of command interrupted
3 - scripting related failure
4 - general failure
5 - API related failure
6 - TTY related failure
7 - value generated with :return command
Vista de pagina 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 188 189

Comentarios a estos manuales

Sin comentarios