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
rrdbot-get(1) FreeBSD General Commands Manual rrdbot-get(1)

rddbot-get
retrieves an SNMP value from an SNMP uri

rddbot-get [-Mnr] [-m mibdir] [-s srcaddr] [-t timeout] snmp://community@host/oid

rddbot-get -V

rddbot-get retrieves an SNMP value from an SNMP URI. The format is the same as is used by rrdbotd(8). You can use rddbot-get for testing SNMP polling while configuring rrdbotd(8).

The options are as follows.
mibdir
The directory in which to look for MIB files. The default directory is usually sufficient.
Display MIB parsing warnings.
Display numeric OIDs.
Recursively walk the SNMP values under the given OID.
srcaddr
Source address to send SNMP packets from.
timeout
The amount of time (in seconds) to wait for an SNMP response. Defaults to 5 seconds.
Prints the version of rddbot-get and the locations of the configuration files, RRD files etc.

rddbot-get supports failover between multiple agents. If an SNMP query fails on one agent or a value is not found when querying an agent, then it will switch to another configured agent.

When combined with a query (see TABLE QUERIES) you can use this feature to search for a given value in a table on one of multiple agents.

To use failover, simply use multiple host names with commas (without a space) separating them. For example:

snmp://public@two.example.com,one.example.com/sysUptime.0

rddbot-get can query a value that corresponds to a certain row in an SNMP table. On many SNMP agents the indexes of rows in tables are not fixed, and this allows you to retrieve a certain value no matter what row of the table it is on.

Add the OID and value you want to search for in the table to the end of the SNMP URL. Only one query value is supported.

For example to get the outbound packet count on the 'eth0' interface, you would use:

snmp://public@example.com/ifInUcastPkts?ifDescr=eth0

rrdbotd(8), rrdbot.conf(5), rrdbot-create(8)

Stefan Walter ⟨stef@memberwebs.com⟩
August, 2006 rrdbot

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.