Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: Jan 2, 2007 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)


gsnmp-get - retrieve data from an SNMP agent


gsnmp-get [options] uri


gsnmp-get retrieves information from network devices using the Simple Network Management Protocol (SNMP). The data to be retrieved is specified using the Uniform Resource Identifier (URI) syntax for SNMP defined in RFC 4088.

The uri argument identifies the SNMP agent to talk to and which data should be retrieved.

It should be noted that gsnmp-get is not aware of MIB definitions and thus is only able to output raw data (no nice formatting or translation of OIDs into a more human friendly syntax). A simple way to work around this limitation is to pipe the output through the smixlate program, which is part of the libsmi package.


scli accepts the following options:
-s, --silent
Keep silent and produce no output.
-r N, --repeats=N
Executes the data retrieval N times.


Retrieve the SNMPv2-MIB::system subtree:
gsnmp-get snmp://public@device//*

Retrieve the SNMPv2-MIB::system subtree, piping through smixlate:

gsnmp-get snmp://public@device//* | smixlate SNMPv2-MIB


More information can be found on the gsnmp web page which is available at:





Juergen Schoenwaelder <>.
Trivial, tout le monde s'en fout, on a pas besoin de preuve (ex : j'ai
un kilo de plomb dans mon labo)
Étonnant, demande une preuve (ex : j'ai un kilo d'or dans mon labo, j'ai
vu la foudre en boule)
Foutaise, je veux une méga-preuve (ex : j'ai un kilo d'einsteinium dans
mon labo, j'ai vu la vierge)
-+- Martin Gardner -+-