[ZBXNEXT-2006] LLD Macro for Windows Drive Type Created: 2013 Nov 08 Updated: 2014 Nov 11 Resolved: 2014 Nov 11 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G) |
Affects Version/s: | 2.2.0 |
Fix Version/s: | 2.5.0 |
Type: | Change Request | Priority: | Blocker |
Reporter: | Philipp Wiesner | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | lld, patch, windows | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Minimum supported client: Windows XP [desktop apps only] Header: FileAPI.h (include Windows.h); WinBase.h on Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP (include Windows.h) Library: Kernel32.lib DLL: Kernel32.dll |
Attachments: | drive_type_diskspace.patch | ||||
Issue Links: |
|
Description |
Actual Status: Target State: DRIVE_UNKNOWN 0 The drive type cannot be determined. DRIVE_NO_ROOT_DIR 1 The root path is invalid; for example, there is no volume mounted at the specified path. DRIVE_REMOVABLE 2 The drive has removable media; for example, a floppy drive, thumb drive, or flash card reader. DRIVE_FIXED 3 The drive has fixed media; for example, a hard disk drive or flash drive. DRIVE_REMOTE 4 The drive is a remote (network) drive. DRIVE_CDROM 5 The drive is a CD-ROM drive. DRIVE_RAMDISK 6 The drive is a RAM disk. This functionality can be implemented by applying the attached patch. For the future the functionality of this and other macros can be expanded by implementing a multiple macro filtering. |
Comments |
Comment by richlv [ 2014 Nov 06 ] |
(1) documentation
asaveljevs Documented at the following locations:
A note regarding discovered entities being ignored for older agents was added to the first two links above, the rest was left for RESOLVED wiper CLOSED |
Comment by Aleksandrs Saveljevs [ 2014 Nov 07 ] |
Specification available at https://www.zabbix.org/wiki/Docs/specs/ZBXNEXT-2006 . |
Comment by Aleksandrs Saveljevs [ 2014 Nov 07 ] |
Available in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-2006 . |
Comment by Andris Zeila [ 2014 Nov 10 ] |
Successfully tested |
Comment by Aleksandrs Saveljevs [ 2014 Nov 10 ] |
Available in pre-2.5.0 (trunk) r50530. |