Ad Widget

Collapse

Can zabbix monitor windows mount points?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattrk
    Junior Member
    • Mar 2014
    • 18

    #1

    Can zabbix monitor windows mount points?

    I have several LUNs attached to a server. These are mounted using mount points rather drive letters. For example:
    C:\MountPoints\ExchangeLogs
    C:\MountPoints\ExchangeDBs

    The built-in Windows OS Template mounted filesystem discovery rule (vfs.fs.discovery) doesn't pick these up. It only picks up the C:\ drive.

    How do i monitor the above mount points as you would with any other drive letter? Is there a different key i should use? I don't mind creating these items manually either. Can i specify a patch such as C:\MountPoints\ExchangeLogs?

    Thanks
  • mattrk
    Junior Member
    • Mar 2014
    • 18

    #2
    Answering my own questions.

    So, it turns out you can use the vfs.fs.size[fs,<mode>] key to do this. I was unsure of how to format the fs part so i just tried several ways. The correct way to do this is like such: "vfs.fs.size[c:\MountPoints\ExchangeLogs,free]". This will give you the free space left on that mount point.

    That said, there doesn't appear to be a way to discover these mount points. The current vfs.fs.discovery key only gives drive letter mounts in windows. It looks like someone else has started a feature request found here that would either improve vfs.fs.discovery to include windows mount points or to create a new discovery key such as vfs.fs.win.mountpoints.discovery specifically for mount points.

    Comment

    • valerio minetti
      Junior Member
      • Jul 2017
      • 1

      #3
      workaround

      i 've recently discovered that windows can map volumes as mount points AND give them a drive letter too. this is possibile via disk management mmc snapin.
      having a drive letter now zabbix agent llc discovery can see them and zabbix will create the appropriate items.

      Comment

      Working...