Bug 193939 - net-mgmt/collectd5: Disk plugin only writes octets
Summary: net-mgmt/collectd5: Disk plugin only writes octets
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-26 08:59 UTC by Karli Sjöberg
Modified: 2014-09-29 06:07 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karli Sjöberg 2014-09-26 08:59:05 UTC
Actually don´t know if it´s supposed to work or not, just checking. But reading about the Disk plugin at:
https://collectd.org/wiki/index.php/Plugin:Disk

Says that it´s supposed to write rrd´s for "octets", "operations", "merged" and "time", but my systems only get the "octets" written:
# ls -lah disk-da* | egrep -v 'total |\.$|\.\.$|^$'
disk-da0:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da1:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da10:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da11:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da12:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da13:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da14:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da15:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da2:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da3:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da4:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da5:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da6:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da7:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da8:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd
disk-da9:
-rw-r--r--   1 root  www   288k Sep 15 08:27 disk_octets.rrd

Am I missing something or is this expected?

# pkg info -d collectd5
collectd5-5.4.1_12:
        libstatgrab-0.91
        libltdl-2.4.2_3
        rrdtool-1.4.8_4

Packages built on a poudriere build server with these options:
# This file is auto-generated by 'make config'.
# Options for collectd5-5.4.1_1
_OPTIONS_READ=collectd5-5.4.1_1
_FILE_COMPLETE_OPTIONS_LIST=CGI DEBUG GCRYPT VIRT CURL DBI JSON MEMCACHEC MODBUS MONGODB MYSQL  NUTUPS PGSQL PING PYTHON RABBITMQ REDIS  ROUTEROS SIGROK SNMP STATGRAB TOKYOTYRANT XML XMMS RRDTOOL NOTIFYEMAIL NOTIFYDESKTOP RIEMANN
OPTIONS_FILE_UNSET+=CGI
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_UNSET+=GCRYPT
OPTIONS_FILE_UNSET+=VIRT
OPTIONS_FILE_UNSET+=CURL
OPTIONS_FILE_UNSET+=DBI
OPTIONS_FILE_UNSET+=JSON
OPTIONS_FILE_UNSET+=MEMCACHEC
OPTIONS_FILE_UNSET+=MODBUS
OPTIONS_FILE_UNSET+=MONGODB
OPTIONS_FILE_UNSET+=MYSQL
OPTIONS_FILE_UNSET+=NUTUPS
OPTIONS_FILE_UNSET+=PGSQL
OPTIONS_FILE_UNSET+=PING
OPTIONS_FILE_UNSET+=PYTHON
OPTIONS_FILE_UNSET+=RABBITMQ
OPTIONS_FILE_UNSET+=REDIS
OPTIONS_FILE_UNSET+=ROUTEROS
OPTIONS_FILE_UNSET+=SIGROK
OPTIONS_FILE_UNSET+=SNMP
OPTIONS_FILE_SET+=STATGRAB
OPTIONS_FILE_UNSET+=TOKYOTYRANT
OPTIONS_FILE_UNSET+=XML
OPTIONS_FILE_UNSET+=XMMS
OPTIONS_FILE_SET+=RRDTOOL
OPTIONS_FILE_UNSET+=NOTIFYEMAIL
OPTIONS_FILE_UNSET+=NOTIFYDESKTOP
OPTIONS_FILE_UNSET+=RIEMANN

Slight difference in versions on what´s installed and the latest version built but the options have always been the same.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-26 08:59:05 UTC
Maintainer CC'd
Comment 2 Krzysztof 2014-09-26 20:22:17 UTC
Hi,

Yes for FreeBSD it is normal behaviour. If you check libstatgrab man pages (http://www.i-scream.org/libstatgrab/docs/sg_get_disk_io_stats.3.html) you will see that only disk octects can be collected.

So I think this bug should be closed.

Greetings,
Comment 3 Karli Sjöberg 2014-09-29 06:07:07 UTC
Aw, shame. Well, at least I know I haven´t done anything wrong. I agree it can be closed. Thank you for your time!