From collectd Wiki
Revision as of 09:15, 4 March 2009 by Octo (talk | contribs) (Added "List of Plugins" template.)

Jump to: navigation, search

Template:List of Plugins


The SNMP plugin uses the Net-SNMP library to read values from network devices using the Simple Network Management Protocol (SNMP). SNMP is a widespread standard to provide management data from devices such as switches, routers, rack monitoring systems, uninterruptible power supplies (UPS), etc. While theoretically possible, collecting values from other computers via this protocol is discouraged in favor of collectd's own protocol, implemented by the Network plugin.

This plugin is a generic plugin, i.e. it cannot work without configuration, because there is no reasonable default behavior. Please read the Plugin snmp section of the collectd.conf(5) manual page for an in-depth description of the plugin's configuration. The majority of documentation for this plugin has been moved to the collectd-snmp(5) manual page.

Some data definitions for the SNMP plugin can be find in the contrib/snmp-data.conf file in the source tarball. If you have additions to this file, feel free to send them to the mailing list, see Contact.


LoadPlugin snmp
# ...
<Plugin snmp>
    Type "voltage"
    Table false
    Instance "input_line1"
    Scale 0.1
    Values "SNMPv2-SMI::enterprises.6050."
    Type "users" 
    Table false
    Instance ""
    Shift -1
    Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
    Type "if_octets"
    Table true
    Instance "IF-MIB::ifDescr"
    Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"

  <Host "">
    Address ""
    Version 1
    Community "community_string"
    Collect "std_traffic"
    Interval 120
  <Host "">
    Address ""
    Version 2
    Community "another_string"
    Collect "std_traffic" "hr_users"
  <Host "">
    Address ""
    Version 1
    Community "more_communities"
    Collect "powerplus_voltge_input"
    Interval 300

Example graphs

None yet. Add one now!