Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Berteaud e30dcda6da Better compat with 4.4 vfs.dev.discovery (and use lsblk to get the list of dev if available) 2019-11-27 09:29:10 +01:00
Daniel Berteaud 85c1cbc105 Add DEVNAME macro for vfs.dev.discovery to ease transition to 4.4
4.4 includes vfs.dev.discovery but with different macro names (DEVNAME instead of BLOCKDEV)
2019-11-26 18:13:29 +01:00
Daniel Berteaud 6f52ff1fab New Zabbix::Agent::Addons::Disks module 2015-07-20 10:44:46 +02:00
Daniel Berteaud 1e991ce9e2 Do not skip 'removable' devices in disco_block_device, some real disks show a removable flag 2013-10-28 18:30:34 +01:00
Daniel Berteaud 54ffe7c67c initialize an empty array in disco_block_devices 2013-04-19 18:16:28 +02:00
Daniel Berteaud f3ca95b83f do not prepend /dev to block device names 2013-04-17 17:07:25 +02:00
Daniel Berteaud 3ce2c063d9 Skip block devices with a 0 size, and return the size for each block device 2013-04-16 13:38:33 +02:00
Daniel Berteaud f88be7264b Fix a typo in disco_block_device so that removable devices are excluded 2013-04-16 13:33:57 +02:00
Daniel Berteaud 2c286311a5 Rename conf and scripts dir 2013-04-15 10:22:37 +02:00