- put modules configs into separate files and start using collectd.d dir
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 30 Oct 2008 17:11:54 +0000 (17:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    collectd-apache.conf -> 1.1
    collectd-ascent.conf -> 1.1
    collectd-dns.conf -> 1.1
    collectd-hddtemp.conf -> 1.1
    collectd-ipmi.conf -> 1.1
    collectd-mysql.conf -> 1.1
    collectd-nginx.conf -> 1.1
    collectd-notify_desktop.conf -> 1.1
    collectd-notify_email.conf -> 1.1
    collectd-nut.conf -> 1.1
    collectd-ping.conf -> 1.1
    collectd-postgresql.conf -> 1.1
    collectd-powerdns.conf -> 1.1
    collectd-rrdtool.conf -> 1.1
    collectd-sensors.conf -> 1.1
    collectd-snmp.conf -> 1.1
    collectd-uuid.conf -> 1.1
    collectd-xmms.conf -> 1.1
    collectd.conf -> 1.2
    collectd.spec -> 1.42

20 files changed:
collectd-apache.conf [new file with mode: 0644]
collectd-ascent.conf [new file with mode: 0644]
collectd-dns.conf [new file with mode: 0644]
collectd-hddtemp.conf [new file with mode: 0644]
collectd-ipmi.conf [new file with mode: 0644]
collectd-mysql.conf [new file with mode: 0644]
collectd-nginx.conf [new file with mode: 0644]
collectd-notify_desktop.conf [new file with mode: 0644]
collectd-notify_email.conf [new file with mode: 0644]
collectd-nut.conf [new file with mode: 0644]
collectd-ping.conf [new file with mode: 0644]
collectd-postgresql.conf [new file with mode: 0644]
collectd-powerdns.conf [new file with mode: 0644]
collectd-rrdtool.conf [new file with mode: 0644]
collectd-sensors.conf [new file with mode: 0644]
collectd-snmp.conf [new file with mode: 0644]
collectd-uuid.conf [new file with mode: 0644]
collectd-xmms.conf [new file with mode: 0644]
collectd.conf
collectd.spec

diff --git a/collectd-apache.conf b/collectd-apache.conf
new file mode 100644 (file)
index 0000000..48ed29c
--- /dev/null
@@ -0,0 +1,9 @@
+LoadPlugin apache
+
+<Plugin apache>
+       URL "http://localhost/status?auto"
+       User "www-user"
+       Password "secret"
+       CACert "/etc/ssl/ca.crt"
+</Plugin>
+
diff --git a/collectd-ascent.conf b/collectd-ascent.conf
new file mode 100644 (file)
index 0000000..7883ade
--- /dev/null
@@ -0,0 +1,9 @@
+LoadPlugin ascent
+
+<Plugin ascent>
+       URL "http://localhost/ascent/status/"
+       User "www-user"
+       Password "secret"
+       CACert "/etc/ssl/ca.crt"
+</Plugin>
+
diff --git a/collectd-dns.conf b/collectd-dns.conf
new file mode 100644 (file)
index 0000000..20245fc
--- /dev/null
@@ -0,0 +1,7 @@
+LoadPlugin dns
+
+<Plugin dns>
+       Interface "eth0"
+#       IgnoreSource "192.168.0.1"
+</Plugin>
+
diff --git a/collectd-hddtemp.conf b/collectd-hddtemp.conf
new file mode 100644 (file)
index 0000000..1f7119f
--- /dev/null
@@ -0,0 +1,8 @@
+LoadPlugin hddtemp
+
+<Plugin hddtemp>
+#       Host "127.0.0.1"
+#       Port "7634"
+        TranslateDevicename false
+</Plugin>
+
diff --git a/collectd-ipmi.conf b/collectd-ipmi.conf
new file mode 100644 (file)
index 0000000..8b4ea05
--- /dev/null
@@ -0,0 +1,4 @@
+LoadPlugin ipmi
+
+#<Plugin ipmi>
+#</Plugin>
diff --git a/collectd-mysql.conf b/collectd-mysql.conf
new file mode 100644 (file)
index 0000000..f41258f
--- /dev/null
@@ -0,0 +1,8 @@
+LoadPlugin mysql
+
+#<Plugin mysql>
+#       Host "database.serv.er"
+#       User "db_user"
+#       Password "secret"
+#       Database "db_name"
+#</Plugin>
diff --git a/collectd-nginx.conf b/collectd-nginx.conf
new file mode 100644 (file)
index 0000000..9e3fe90
--- /dev/null
@@ -0,0 +1,8 @@
+LoadPlugin nginx
+
+#<Plugin nginx>
+#       URL "http://localhost/status?auto"
+#       User "www-user"
+#       Password "secret"
+#       CACert "/etc/ssl/ca.crt"
+#</Plugin>
diff --git a/collectd-notify_desktop.conf b/collectd-notify_desktop.conf
new file mode 100644 (file)
index 0000000..c9bfc6c
--- /dev/null
@@ -0,0 +1,7 @@
+LoadPlugin notify_desktop
+
+#<Plugin notify_desktop>
+#       OkayTimeout 1000
+#       WarningTimeout 5000
+#       FailureTimeout 0
+#</Plugin>
diff --git a/collectd-notify_email.conf b/collectd-notify_email.conf
new file mode 100644 (file)
index 0000000..9c8b78d
--- /dev/null
@@ -0,0 +1,13 @@
+LoadPlugin notify_email
+
+#<Plugin notify_email>
+#       SMTPServer "localhost"
+#       SMTPPort 25
+#       SMTPUser "my-username"
+#       SMTPPassword "my-password"
+#       From "collectd@main0server.com"
+#       # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
+#       Subject "Aaaaaa!! %s on %s!!!!!"
+#       Recipient "email1@domain1.net"
+#       Recipient "email2@domain2.com"
+#</Plugin>
diff --git a/collectd-nut.conf b/collectd-nut.conf
new file mode 100644 (file)
index 0000000..fc2df4e
--- /dev/null
@@ -0,0 +1,5 @@
+LoadPlugin nut
+
+#<Plugin nut>
+#       UPS "upsname@hostname:port"
+#</Plugin>
diff --git a/collectd-ping.conf b/collectd-ping.conf
new file mode 100644 (file)
index 0000000..3ca3fa3
--- /dev/null
@@ -0,0 +1,6 @@
+LoadPlugin ping
+
+#<Plugin ping>
+#       Host "host.foo.bar"
+#       TTL 255
+#</Plugin>
diff --git a/collectd-postgresql.conf b/collectd-postgresql.conf
new file mode 100644 (file)
index 0000000..1194a44
--- /dev/null
@@ -0,0 +1,26 @@
+LoadPlugin postgresql
+
+#<Plugin postgresql>
+#       <Query magic>
+#               Query "SELECT magic, spells FROM wizard WHERE host = $1;"
+#               Param hostname
+#               Column gauge magic
+#               Column counter spells
+#       </Query>
+#
+#       <Database foo>
+#               Host "hostname"
+#               Port 5432
+#               User "username"
+#               Password "secret"
+#
+#               SSLMode "prefer"
+#               KRBSrvName "kerberos_service_name"
+#
+#               Query magic
+#       </Database>
+#
+#       <Database bar>
+#               Service "service_name"
+#       </Database>
+#</Plugin>
diff --git a/collectd-powerdns.conf b/collectd-powerdns.conf
new file mode 100644 (file)
index 0000000..39d3b48
--- /dev/null
@@ -0,0 +1,15 @@
+LoadPlugin powerdns
+
+#<Plugin powerdns>
+#  <Server "server_name">
+#    Collect "latency"
+#    Collect "udp-answers" "udp-queries"
+#    Socket "/var/run/pdns.controlsocket"
+#  </Server>
+#  <Recursor "recursor_name">
+#    Collect "questions"
+#    Collect "cache-hits" "cache-misses"
+#    Socket "/var/run/pdns_recursor.controlsocket"
+#  </Recursor>
+#  LocalSocket "/var/run/collectd-powerdns"
+#</Plugin>
diff --git a/collectd-rrdtool.conf b/collectd-rrdtool.conf
new file mode 100644 (file)
index 0000000..b3606c5
--- /dev/null
@@ -0,0 +1,7 @@
+LoadPlugin rrdtool
+
+#<Plugin rrdtool>
+#       DataDir "/usr/var/lib/collectd/rrd"
+#       CacheTimeout 120
+#       CacheFlush   900
+#</Plugin>
diff --git a/collectd-sensors.conf b/collectd-sensors.conf
new file mode 100644 (file)
index 0000000..80c7415
--- /dev/null
@@ -0,0 +1,8 @@
+LoadPlugin sensors
+
+#<Plugin sensors>
+#       Sensor "it8712-isa-0290/temperature-temp1"
+#       Sensor "it8712-isa-0290/fanspeed-fan3"
+#       Sensor "it8712-isa-0290/voltage-in8"
+#       IgnoreSelected false
+#</Plugin>
diff --git a/collectd-snmp.conf b/collectd-snmp.conf
new file mode 100644 (file)
index 0000000..d11568a
--- /dev/null
@@ -0,0 +1,43 @@
+LoadPlugin snmp
+
+#<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>
diff --git a/collectd-uuid.conf b/collectd-uuid.conf
new file mode 100644 (file)
index 0000000..b3078b6
--- /dev/null
@@ -0,0 +1,5 @@
+LoadPlugin uuid
+
+#<Plugin uuid>
+#       UUIDFile "/etc/uuid"
+#</Plugin>
diff --git a/collectd-xmms.conf b/collectd-xmms.conf
new file mode 100644 (file)
index 0000000..5cff3db
--- /dev/null
@@ -0,0 +1,2 @@
+LoadPlugin xmms
+
index ea569bb61f29cfcb1d807a352869d9041b2ba2ab..a1ebbd8f7daf4b43ca05799c031c1f960a8bdfed 100644 (file)
 #
 # Config file for collectd(1).
 # Please read collectd.conf(5) for a list of options.
-# http://verplant.org/collectd/
+# http://collectd.org/
 #
 
+#Hostname    "localhost"
+FQDNLookup   true
+#BaseDir     "/usr/var/lib/collectd"
+#PIDFile     "/usr/var/run/collectd.pid"
+#PluginDir   "/usr/lib/collectd"
+#TypesDB     "/usr/lib/collectd/types.db"
+#Interval     10
+#ReadThreads  5
+
+LoadPlugin logfile
+LoadPlugin syslog
+
+#<Plugin logfile>
+#      LogLevel info
+#      File STDOUT
+#      Timestamp true
+#</Plugin>
+
+#<Plugin syslog>
+#      LogLevel info
+#</Plugin>
+
+LoadPlugin apcups
+#LoadPlugin apple_sensors
 LoadPlugin battery
 LoadPlugin cpu
 LoadPlugin cpufreq
+LoadPlugin csv
 LoadPlugin df
 LoadPlugin disk
-#LoadPlugin hddtemp
-#<Plugin hddtemp>
-#      Host 127.0.0.1
-#      Port 7634
-#</Plugin>
+LoadPlugin email
+LoadPlugin entropy
+LoadPlugin exec
+LoadPlugin filecount
+LoadPlugin interface
+LoadPlugin iptables
+#LoadPlugin ipvs
+LoadPlugin irq
+#LoadPlugin libvirt
 LoadPlugin load
+LoadPlugin mbmon
+LoadPlugin memcached
 LoadPlugin memory
-#LoadPlugin mysql
-#<Plugin mysql>
-#      Host database.serv.er
-#      User db_user
-#      Password secret
-##     Database db_name
-#</Plugin>
+#LoadPlugin multimeter
+LoadPlugin netlink
+LoadPlugin network
 LoadPlugin nfs
-#LoadPlugin ping
-#<Plugin ping>
-#      Host host.foo.bar
-#      Host host2.foo.bar
-#</Plugin>
+LoadPlugin ntpd
+#LoadPlugin onewire
+#LoadPlugin perl
 LoadPlugin processes
-#LoadPlugin sensors
 LoadPlugin serial
 LoadPlugin swap
-LoadPlugin tape
-LoadPlugin traffic
+LoadPlugin tail
+#LoadPlugin tape
+LoadPlugin tcpconns
+LoadPlugin teamspeak2
+LoadPlugin thermal
+LoadPlugin unixsock
 LoadPlugin users
+LoadPlugin vmem
+LoadPlugin vserver
+LoadPlugin wireless
+
+#<Plugin apcups>
+#      Host "localhost"
+#      Port "3551"
+#</Plugin>
+
+#<Plugin csv>
+#      DataDir "/usr/var/lib/collectd/csv"
+#      StoreRates false
+#</Plugin>
+
+#<Plugin df>
+#      Device "/dev/hda1"
+#      Device "192.168.0.2:/mnt/nfs"
+#      MountPoint "/home"
+#      FSType "ext3"
+#      IgnoreSelected false
+#</Plugin>
+
+#<Plugin disk>
+#      Disk "/^[hs]d[a-f][0-9]?$/"
+#      IgnoreSelected false
+#</Plugin>
+
+#<Plugin email>
+#      SocketFile "/usr/var/run/collectd-email"
+#      SocketGroup "collectd"
+#      SocketPerms "0770"
+#      MaxConns 5
+#</Plugin>
+
+#<Plugin exec>
+#      Exec "user:group" "/path/to/exec"
+#      NotificationExec "user:group" "/path/to/exec"
+#</Plugin>
+
+#<Plugin filecount>
+#      <Directory "/path/to/dir">
+#              Instance "foodir"
+#              Name "*.conf"
+#              MTime "-5m"
+#              Size "+10k"
+#      </Directory>
+#</Plugin>
+
+#<Plugin interface>
+#      Interface "eth0"
+#      IgnoreSelected false
+#</Plugin>
+
+#<Plugin iptables>
+#      Chain table chain
+#</Plugin>
+
+#<Plugin irq>
+#      Irq 7
+#      Irq 8
+#      Irq 9
+#      IgnoreSelected true
+#</Plugin>
+
+#<Plugin libvirt>
+#      Connection "xen:///"
+#      RefreshInterval 60
+#      Domain "name"
+#      BlockDevice "name:device"
+#      InterfaceDevice "name:device"
+#      IgnoreSelected false
+#      HostnameFormat name
+#</Plugin>
+
+#<Plugin mbmon>
+#      Host "127.0.0.1"
+#      Port "411"
+#</Plugin>
+
+#<Plugin memcached>
+#      Host "127.0.0.1"
+#      Port "11211"
+#</Plugin>
+
+#<Plugin netlink>
+#      Interface "All"
+#      VerboseInterface "All"
+#      QDisc "eth0" "pfifo_fast-1:0"
+#      Class "ppp0" "htb-1:10"
+#      Filter "ppp0" "u32-1:0"
+#      IgnoreSelected false
+#</Plugin>
+
+#<Plugin network>
+#      Server "ff18::efc0:4a42" "25826"
+#      Server "239.192.74.66" "25826"
+#      Listen "ff18::efc0:4a42" "25826"
+#      Listen "239.192.74.66" "25826"
+#      TimeToLive "128"
+#      Forward false
+#      CacheFlush 1800
+#</Plugin>
+
+#<Plugin ntpd>
+#      Host "localhost"
+#      Port 123
+#      ReverseLookups false
+#</Plugin>
+
+#<Plugin onewire>
+#      Device "-s localhost:4304"
+#      Sensor "F10FCA000800"
+#      IgnoreSelected false
+#</Plugin>
+
+#<Plugin perl>
+#      IncludeDir "/my/include/path"
+#      BaseName "Collectd::Plugin"
+#      EnableDebugger ""
+#      LoadPlugin foo
+#</Plugin>
+
+#<Plugin processes>
+#      Process "name"
+#</Plugin>
+
+#<Plugin "tail">
+#  <File "/var/log/exim4/mainlog">
+#    Instance "exim"
+#    <Match>
+#      Regex "S=([1-9][0-9]*)"
+#      DSType "CounterAdd"
+#      Type "ipt_bytes"
+#      Instance "total"
+#    </Match>
+#    <Match>
+#      Regex "\\<R=local_user\\>"
+#      DSType "CounterInc"
+#      Type "email_count"
+#      Instance "local_user"
+#    </Match>
+#  </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 a74ec15c3445ebc9d39b583ae8ae8236b11bf1fe..685860feca3373742d8ca69c60136e3a15572a49 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
+Release:       5.1
 License:       GPL v2
 Group:         Daemons
 Source0:       http://collectd.org/files/%{name}-%{version}.tar.gz
@@ -83,6 +83,24 @@ Source0:     http://collectd.org/files/%{name}-%{version}.tar.gz
 Source1:       %{name}.conf
 Source2:       %{name}.init
 Source3:       %{name}-http.conf
+Source10:      %{name}-ascent.conf
+Source11:      %{name}-apache.conf
+Source12:      %{name}-dns.conf
+Source13:      %{name}-hddtemp.conf
+Source14:      %{name}-ipmi.conf
+Source15:      %{name}-mysql.conf
+Source16:      %{name}-nginx.conf
+Source17:      %{name}-notify_desktop.conf
+Source18:      %{name}-notify_email.conf
+Source19:      %{name}-nut.conf
+Source20:      %{name}-ping.conf
+Source21:      %{name}-postgresql.conf
+Source22:      %{name}-powerdns.conf
+Source23:      %{name}-rrdtool.conf
+Source24:      %{name}-sensors.conf
+Source25:      %{name}-snmp.conf
+Source26:      %{name}-uuid.conf
+Source27:      %{name}-xmms.conf
 URL:           http://collectd.org/
 BuildRequires: OpenIPMI-devel
 BuildRequires: autoconf
@@ -359,15 +377,13 @@ EOF
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/rc.d/init.d/} \
+install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
        $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-#install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
-install src/collectd.conf $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
 # Web frontend:
@@ -376,6 +392,28 @@ install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
 
+### Configs instalation ###
+# Example config in sources: src/collectd.conf
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
+install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ascent.conf
+install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/apache.conf
+install %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/dns.conf
+install %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/hddtemp.conf
+install %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ipmi.conf
+install %{SOURCE15} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/mysql.conf
+install %{SOURCE16} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/nginx.conf
+install %{SOURCE17} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/notify_desktop.conf
+install %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/notify_email.conf
+install %{SOURCE19} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/nut.conf
+install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ping.conf
+install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/postgresql.conf
+install %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/powerdns.conf
+install %{SOURCE23} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
+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
+
 # Cleanups:
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
 
@@ -465,6 +503,7 @@ fi
 %{_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}
 
@@ -484,10 +523,12 @@ fi
 ########## PLUGINS:
 %files ascent
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
 
 %files apache
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
 %attr(755,root,root) %{_libdir}/%{name}/apache.so
 
 %files collection
@@ -502,66 +543,82 @@ fi
 
 %files dns
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
 %attr(755,root,root) %{_libdir}/%{name}/dns.so
 
 %files hddtemp
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
 
 %if %{with ipmi}
 %files ipmi
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
 %endif
 
 %files mysql
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
 
 %files nginx
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
 
 %files notify_desktop
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
 
 %files notify_email
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
 
 %files nut
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
 %attr(755,root,root) %{_libdir}/%{name}/nut.so
 
 %files ping
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
 %attr(755,root,root) %{_libdir}/%{name}/ping.so
 
 %files postgresql
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
 
 %files powerdns
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
 
 %files rrdtool
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
 
 %files sensors
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
 
 %files snmp
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
 
 %files uuid
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
 
 %files xmms
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
This page took 0.0695 seconds and 4 git commands to generate.