Ad Widget

Collapse

File System discovery - include volume label/name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • registration_is_lame
    Senior Member
    • Nov 2007
    • 148

    #1

    File System discovery - include volume label/name

    Is it possible to include FileSystem name/label such as "New Volume"? It seems {#FSNAME} shows only the drive letter.

    Maybe something like {#IFDESCR} we could have {#FSDESCR} for filesystems.

  • Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    #2
    I think it isn't possible with standard LLD vfs.fs.discovery. For Linux it returns macros {#FSNAME} and {#FSTYPE} only, for Windows - {#FSNAME}, {#FSTYPE} and {#FSDRIVETYPE}.

    Comment

    • registration_is_lame
      Senior Member
      • Nov 2007
      • 148

      #3
      I meant the volume name. {#FSDRIVETYPE} returns only if its fixed or cdrom etc., But Volume name means "Local disk" or any custom names you might have assigned.
      Anyway we figured out a way to do this. Need to edit the source code and then compile custom zabbix agent. Then we could use "{#FSDESCR}". Default value is "Local Disk" if no name is assigned instead of blank.

      File: src/libs/zbxsysinfo/win32/diskspace.c
      Attachement: Source code edit.
      Last edited by registration_is_lame; 29-10-2018, 05:52.

      Comment

      Working...