getsnmp is a scheduler for collect snmp values from any network equipment and store it into a rrdtool database.
* 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") |
backend_rrd | default rrd backend (default: "global backends") |
backend_file | default file backend (default: "global backends") |
rotate | set rotation system time ("no" for disabled) (default: "global rotate") |
prefix | set prefix for data file (default: "global prefix") |
filename | the snmp values file (default: "global filename") |
* oid SNMPv2-MIB::sysDescr.0 | the oid name. For making configuration easy, the OID name can be extended. Ex: IF-MIB::if{In,Out}{Octets,Errors}.{1-24}. the parameters filaname, dataname and file can be match this variables with this syntax , , ... (this parameter must informed) |
inter | interval among two snmp get (default: inherited from the last set) |
file | the db rrdtool file (default: automaticaly generated from OID) |
filename | the snmp values file (default: automaticaly generated from OID) |
dataname | the name of the data getted (default: automaticaly generated from OID) |
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) |
backend_rrd | default rrd backend (default: inherited from the last set) |
backend_file | default file backend (default: inherited from the last set) |
rotate | set rotation system time ("no" for disabled) (default: inherited from the last set) |
prefix | set prefix for data file (default: inherited from the last set) |
filename | the snmp values file (default: inherited from the last set if no filename inherited, is automaticaly generated) |
################################################### # router ################################################### set ip 192.168.10.1 # vlan0 get oid IF-MIB::ifInOctets.3 type counter get oid IF-MIB::ifOutOctets.3 type counter # vlan1 get oid IF-MIB::ifInOctets.4 type counter get oid IF-MIB::ifOutOctets.4 type counter # vlan2 get oid IF-MIB::ifInOctets.5 type counter get oid IF-MIB::ifOutOctets.5 type counter # tun0 get oid IF-MIB::ifInOctets.7 type counter get oid IF-MIB::ifOutOctets.7 type counter # tun1 get oid IF-MIB::ifInOctets.6 type counter get oid IF-MIB::ifOutOctets.6 type counter # cpu user / nice / system get oid UCD-SNMP-MIB::ssCpuRawUser.0 type counter get oid UCD-SNMP-MIB::ssCpuRawNice.0 type counter get oid UCD-SNMP-MIB::ssCpuRawSystem.0 type counter get oid UCD-SNMP-MIB::ssCpuRawIdle.0 type counter get oid UCD-SNMP-MIB::ssCpuRawKernel.0 type counter # mem get oid UCD-SNMP-MIB::memTotalReal.0 type gauge get oid UCD-SNMP-MIB::memAvailReal.0 type gauge get oid UCD-SNMP-MIB::memCached.0 type gauge ################################################### # server ################################################### set ip 192.168.10.2 get oid IF-MIB::ifInOctets.2 type counter get oid IF-MIB::ifOutOctets.2 type counter # cpu user / nice / system get oid UCD-SNMP-MIB::ssCpuRawUser.0 type counter get oid UCD-SNMP-MIB::ssCpuRawNice.0 type counter get oid UCD-SNMP-MIB::ssCpuRawSystem.0 type counter get oid UCD-SNMP-MIB::ssCpuRawIdle.0 type counter get oid UCD-SNMP-MIB::ssCpuRawKernel.0 type counter # mem get oid UCD-SNMP-MIB::memTotalReal.0 type gauge get oid UCD-SNMP-MIB::memAvailReal.0 type gauge get oid UCD-SNMP-MIB::memCached.0 type gauge # disque get oid HOST-RESOURCES-MIB::hrStorageUsed.7 type gauge
File | MD5Sum |
---|---|
getsnmp-0.11.tar.gz | 2b28cab1a112bf884c003a12c756dd9f |
getsnmp-0.10.tar.gz | - Availaible on demand - |
getsnmp-0.9.tar.gz | - Availaible on demand - |
getsnmp-0.8.tar.gz | - Availaible on demand - |
getsnmp-0.7.tar.gz | - Availaible on demand - |
getsnmp-0.6.tar.gz | - Availaible on demand - |
getsnmp-0.5.tar.gz | - Availaible on demand - |
getsnmp-0.4.tar.gz | - Availaible on demand - |
getsnmp-0.3.tar.gz | - Availaible on demand - |
getsnmp-0.2.tar.gz | - Availaible on demand - |
getsnmp-0.1b.tar.gz | - Availaible on demand - |
getsnmp-0.0b.tar.gz | - Availaible on demand - |
Author: Thierry FOURNIER
EMail: