GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GSNMP(1) FreeBSD General Commands Manual GSNMP(1)

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//1.3.6.1.2.1.1.*

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

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

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

<https://trac.eecs.iu-bremen.de/projects/gsnmp/>

RFC4088

Juergen Schoenwaelder <j.schoenwaelder@iu-bremen.de>.
January 2, 2007

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.