- more plugin configuration into separate configs
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 30 Oct 2008 17:39:03 +0000 (17:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    collectd-tcpconns.conf -> 1.1
    collectd-teamspeak2.conf -> 1.1
    collectd-thermal.conf -> 1.1
    collectd-unixsock.conf -> 1.1
    collectd-users.conf -> 1.1
    collectd-vmem.conf -> 1.1
    collectd-vserver.conf -> 1.1
    collectd-wireless.conf -> 1.1
    collectd.conf -> 1.3
    collectd.spec -> 1.43

collectd-tcpconns.conf [new file with mode: 0644]
collectd-teamspeak2.conf [new file with mode: 0644]
collectd-thermal.conf [new file with mode: 0644]
collectd-unixsock.conf [new file with mode: 0644]
collectd-users.conf [new file with mode: 0644]
collectd-vmem.conf [new file with mode: 0644]
collectd-vserver.conf [new file with mode: 0644]
collectd-wireless.conf [new file with mode: 0644]
collectd.conf
collectd.spec

diff --git a/collectd-tcpconns.conf b/collectd-tcpconns.conf
new file mode 100644 (file)
index 0000000..dfb7fdf
--- /dev/null
@@ -0,0 +1,7 @@
+LoadPlugin tcpconns
+
+#<Plugin tcpconns>
+#       ListeningPorts false
+#       LocalPort "25"
+#       RemotePort "25"
+#</Plugin>
diff --git a/collectd-teamspeak2.conf b/collectd-teamspeak2.conf
new file mode 100644 (file)
index 0000000..9105086
--- /dev/null
@@ -0,0 +1,7 @@
+LoadPlugin teamspeak2
+
+#<Plugin teamspeak2>
+#       Host "127.0.0.1"
+#       Port "51234"
+#       Server "8767"
+#</Plugin>
diff --git a/collectd-thermal.conf b/collectd-thermal.conf
new file mode 100644 (file)
index 0000000..11aba86
--- /dev/null
@@ -0,0 +1,7 @@
+LoadPlugin thermal
+
+#<Plugin thermal>
+#       ForceUseProcfs false
+#       Device "THRM"
+#       IgnoreSelected false
+#</Plugin>
diff --git a/collectd-unixsock.conf b/collectd-unixsock.conf
new file mode 100644 (file)
index 0000000..2b705b8
--- /dev/null
@@ -0,0 +1,7 @@
+LoadPlugin unixsock
+
+#<Plugin unixsock>
+#       SocketFile "/usr/var/run/collectd-unixsock"
+#       SocketGroup "collectd"
+#       SocketPerms "0660"
+#</Plugin>
diff --git a/collectd-users.conf b/collectd-users.conf
new file mode 100644 (file)
index 0000000..0a2c4c2
--- /dev/null
@@ -0,0 +1,2 @@
+LoadPlugin users
+
diff --git a/collectd-vmem.conf b/collectd-vmem.conf
new file mode 100644 (file)
index 0000000..29b1444
--- /dev/null
@@ -0,0 +1,5 @@
+LoadPlugin vmem
+
+#<Plugin vmem>
+#       Verbose false
+#</Plugin>
diff --git a/collectd-vserver.conf b/collectd-vserver.conf
new file mode 100644 (file)
index 0000000..8b6b684
--- /dev/null
@@ -0,0 +1,2 @@
+LoadPlugin vserver
+
diff --git a/collectd-wireless.conf b/collectd-wireless.conf
new file mode 100644 (file)
index 0000000..cf301eb
--- /dev/null
@@ -0,0 +1,2 @@
+LoadPlugin wireless
+
index a1ebbd8f7daf4b43ca05799c031c1f960a8bdfed..1c64a383769007fea53f41a3b6bfe16c669d8a66 100644 (file)
@@ -59,14 +59,6 @@ LoadPlugin serial
 LoadPlugin swap
 LoadPlugin tail
 #LoadPlugin tape
-LoadPlugin tcpconns
-LoadPlugin teamspeak2
-LoadPlugin thermal
-LoadPlugin unixsock
-LoadPlugin users
-LoadPlugin vmem
-LoadPlugin vserver
-LoadPlugin wireless
 
 #<Plugin apcups>
 #      Host "localhost"
@@ -208,35 +200,6 @@ LoadPlugin wireless
 #  </File>
 #</Plugin>
 
-#<Plugin tcpconns>
-#      ListeningPorts false
-#      LocalPort "25"
-#      RemotePort "25"
-#</Plugin>
-
-#<Plugin teamspeak2>
-#      Host "127.0.0.1"
-#      Port "51234"
-#      Server "8767"
-#</Plugin>
-
-#<Plugin thermal>
-#      ForceUseProcfs false
-#      Device "THRM"
-#      IgnoreSelected false
-#</Plugin>
-
-#<Plugin unixsock>
-#      SocketFile "/usr/var/run/collectd-unixsock"
-#      SocketGroup "collectd"
-#      SocketPerms "0660"
-#</Plugin>
-
-#<Plugin vmem>
-#      Verbose false
-#</Plugin>
-
-
 
 ### Include all files from /etc/collectd.d/*.conf
 Include "/etc/collectd.d/*.conf"
index 685860feca3373742d8ca69c60136e3a15572a49..9a86551daaddc562e82a9676d2c0143c41505aab 100644 (file)
@@ -75,7 +75,7 @@ Summary:      Collects system information in RRD files
 Summary(pl.UTF-8):     Zbieranie informacji o systemie w plikach RRD
 Name:          collectd
 Version:       4.5.0
-Release:       5.1
+Release:       5.2
 License:       GPL v2
 Group:         Daemons
 Source0:       http://collectd.org/files/%{name}-%{version}.tar.gz
@@ -101,6 +101,14 @@ Source24:  %{name}-sensors.conf
 Source25:      %{name}-snmp.conf
 Source26:      %{name}-uuid.conf
 Source27:      %{name}-xmms.conf
+Source28:      %{name}-tcpconns.conf
+Source29:      %{name}-teamspeak2.conf
+Source30:      %{name}-thermal.conf
+Source31:      %{name}-unixsock.conf
+Source32:      %{name}-users.conf
+Source33:      %{name}-vmem.conf
+Source34:      %{name}-vserver.conf
+Source35:      %{name}-wireless.conf
 URL:           http://collectd.org/
 BuildRequires: OpenIPMI-devel
 BuildRequires: autoconf
@@ -413,6 +421,14 @@ install %{SOURCE24} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/sensors.conf
 install %{SOURCE25} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/snmp.conf
 install %{SOURCE26} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/uuid.conf
 install %{SOURCE27} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/xmms.conf
+install %{SOURCE28} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/tcpconns.conf
+install %{SOURCE29} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/teamspeak2.conf
+install %{SOURCE30} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/thermal.conf
+install %{SOURCE31} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/unixsock.conf
+install %{SOURCE32} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/users.conf
+install %{SOURCE33} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/vmem.conf
+install %{SOURCE34} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/vserver.conf
+install %{SOURCE35} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/wireless.conf
 
 # Cleanups:
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
@@ -445,10 +461,20 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO contrib
-
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
+%dir %{_sysconfdir}/%{name}.d
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
 %attr(755,root,root) %{_sbindir}/collectd
 %attr(755,root,root) %{_sbindir}/collectdmon
 %attr(755,root,root) %{_bindir}/collectd-nagios
+
 %dir %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
 #%attr(755,root,root) %{_libdir}/%{name}/apple_sensors.so
@@ -491,8 +517,8 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
 %attr(755,root,root) %{_libdir}/%{name}/tail.so
 #%attr(755,root,root) %{_libdir}/%{name}/tape.so
-%attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
+%attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
 #%attr(755,root,root) %{_libdir}/%{name}/traffic.so
 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
@@ -502,9 +528,6 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
 %{_libdir}/%{name}/types.db
 
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
-%dir %{_sysconfdir}/%{name}.d
-
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 
 %{_mandir}/man1/collectd.1*
This page took 0.953834 seconds and 4 git commands to generate.