|
NAMErddbot-get —
retrieves an SNMP value from an SNMP uri
SYNOPSIS
DESCRIPTIONrddbot-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).
OPTIONSThe options are as follows.
MULTIPLE AGENTSrddbot-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 TABLE QUERIESrddbot-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 SEE ALSOrrdbotd(8), rrdbot.conf(5), rrdbot-create(8)AUTHORStefan Walter ⟨stef@memberwebs.com⟩
Visit the GSP FreeBSD Man Page Interface. |