rrdbot-get man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

rrdbot-get(1)		  BSD General Commands Manual		 rrdbot-get(1)

NAME
     rddbot-get — retrieves an SNMP value from an SNMP uri

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

DESCRIPTION
     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).

OPTIONS
     The options are as follows.

     -m mibdir	 The directory in which to look for MIB files. The default
		 directory is usually sufficient.

     -M		 Display MIB parsing warnings.

     -n		 Display numeric OIDs.

     -r		 Recursively walk the SNMP values under the given OID.

     -s srcaddr	 Source address to send SNMP packets from.

     -t timeout	 The amount of time (in seconds) to wait for an SNMP response.
		 Defaults to 5 seconds.

     -V		 Prints the version of rddbot-get and the locations of the
		 configuration files, RRD files etc.

MULTIPLE AGENTS
     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

TABLE QUERIES
     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

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

AUTHOR
     Stefan Walter ⟨stef@memberwebs.com⟩

rrdbot				April 29, 2024				rrdbot
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net