[collectd] [PATCH] Added "snmp" and "xmms" plugins to README and src/collectd.conf.in.

Sebastian Harl sh at tokkee.org
Sun Sep 2 17:23:53 CEST 2007


Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 README               |    8 ++++++++
 src/collectd.conf.in |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/README b/README
index d9e076c..1048ea8 100644
--- a/README
+++ b/README
@@ -134,6 +134,11 @@ Features
     - serial
       RX and TX of serial interfaces. Linux only; needs root privileges.
 
+    - snmp
+      Read values from SNMP (Simple Network Management Protocol) enabled
+      network devices such as switches, routers, thermometers, rack monitoring
+      servers, etc. See collectd-snmp(5).
+
     - swap
       Pages swapped out onto harddisk or whatever is called `swap' by the OS..
 
@@ -150,6 +155,9 @@ Features
     - wireless
       Link quality of wireless cards. Linux only.
 
+    - xmms
+      Bitrate and frequency of music played with XMMS.
+
   * Output can be written or send to various destinations by the following
     plugins:
 
diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index 292110a..313fd91 100644
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
@@ -46,6 +46,7 @@
 @BUILD_PLUGIN_RRDTOOL_TRUE at LoadPlugin rrdtool
 @BUILD_PLUGIN_SENSORS_TRUE at LoadPlugin sensors
 @BUILD_PLUGIN_SERIAL_TRUE at LoadPlugin serial
+ at BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
 @BUILD_PLUGIN_SWAP_TRUE at LoadPlugin swap
 @BUILD_PLUGIN_SYSLOG_TRUE at LoadPlugin syslog
 @BUILD_PLUGIN_TAPE_TRUE at LoadPlugin tape
@@ -53,6 +54,7 @@
 @BUILD_PLUGIN_USERS_TRUE at LoadPlugin users
 @BUILD_PLUGIN_VSERVER_TRUE at LoadPlugin vserver
 @BUILD_PLUGIN_WIRELESS_TRUE at LoadPlugin wireless
+ at BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
 
 #<Plugin apache>
 #	URL "http://localhost/status?auto"
@@ -190,6 +192,48 @@
 #	IgnoreSelected false
 #</Plugin>
 
+#<Plugin snmp>
+#   <Data "powerplus_voltge_input">
+#       Type "voltage"
+#       Table false
+#       Instance "input_line1"
+#       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
+#   </Data>
+#   <Data "hr_users">
+#       Type "users"
+#       Table false
+#       Instance ""
+#       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
+#   </Data>
+#   <Data "std_traffic">
+#       Type "if_octets"
+#       Table true
+#       Instance "IF-MIB::ifDescr"
+#       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
+#   </Data>
+#   
+#   <Host "some.switch.mydomain.org">
+#       Address "192.168.0.2"
+#       Version 1
+#       Community "community_string"
+#       Collect "std_traffic"
+#       Inverval 120
+#   </Host>
+#   <Host "some.server.mydomain.org">
+#       Address "192.168.0.42"
+#       Version 2
+#       Community "another_string"
+#       Collect "std_traffic" "hr_users"
+#   </Host>
+#   <Host "some.ups.mydomain.org">
+#       Address "192.168.0.3"
+#       Version 1
+#       Community "more_communities"
+#       Collect "powerplus_voltge_input"
+#       Interval 300
+#   </Host>
+#</Plugin>
+
 #<Plugin syslog>
 #	LogLevel info
 #</Plugin>
-- 
1.5.2.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070902/4e32d132/attachment-0001.pgp 


More information about the collectd mailing list