getsnmp project is a scheduler for collect snmp values from any network equipment and store it into a rrdtool database.
global config section:
COMMAND LINE
-h help
Comma separated network interfaces listen to.
-f config_file
Specify the config file.
-D log level required
-d run as daemon
-v version
CONFIG FILE
directorydb < directory >
store rrdtool db files into this directory
lockfile < pidfile >
file used for store pid number and lock the process
daemon (yes|no)
run in daemon mode (fork) ?
umask umask
mask creation file
user user
user running application
chrootdir < path >
directory to chroot application
loglevel (0|1|2|3|4|5|6|7)
log with this level
0: emergency
1: alert
2: critical
3: error
4: warning
5: notice
6: info
7: debug
usesyslog (yes|no)
use syslog
logfile < logfile >
log in this file
retrieve data section:
global community community
set the default community
the default unsetted is 'public'
global inter seconds
set the default interval among two snmp get
the default unsetted is '300'
global retry number
set the default number of retry
the default unsetted is '0'
global timeout seconds
set the default request timeout (in seconds)
the default unsetted is '3'
global version (v1|v2|v2c)
set the default snmp protocol version
the default value unsetted is 'v1'
set
the keyword "set" set a snmp host server:
example:
set version v2c ip 192.168.10.4 timeout 3 retry 2 community public
the option are:
* ip server ip (must informed)
inter interval among two snmp get (default: "global inter")
version snmp protocol version (default: "global version")
timeout request timeout (default: "global timeout")
retry number of retry (default: "global retry")
community community (default: "global community")
( * ) must informed
get
the "get" keyword is used for declaring one snmp value:
example:
get oid IF-MIB::ifInOctets.3 inter 5 file toto type gauge
the option are:
* oid SNMPv2-MIB::sysDescr.0 the oid (must informed)
inter interval among two snmp get (default: inherited from the last set)
file the db rrdtool file (default: automaticaly generated)
type gauge type of rrdtool data (gauge, counter) (default: gauge)
timeout request timeout (default: inherited from the last set)
retry number of retry (default: inherited from the last set)
( * ) must informed
Product's homepage
Requirements:
· Net-SNMP
· RRDTool
What's New in This Release: [ read full changelog ]
· Support for 64-bit counters, the ability to specify a global data filename, increased error log verbosity, improved error handling, and warnings if negative timeouts are encountered.