Ad Widget

Collapse

Disk space % on windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oliverm
    Senior Member
    • May 2006
    • 155

    #1

    Disk space % on windows

    Hi gang,

    Does anyone know how i should structure an item so that it returns the % of space available on a disk on a windows box ?

    I see the PFREE item isn't supported under windows. What options does that leave me ?

    Olly
    --
    Managed online backup services
    G2 Support


    Get a free trial today
  • swaterhouse
    Senior Member
    • Apr 2006
    • 268

    #2
    You cannot do it as an item because items dont allow you to do mathn but you can base triggers off of a percentage because triggers do allow you to do math:

    {t_WindowsServer:vfs.fs.size[c:,free].last(0)}/{t_WindowsServer:vfs.fs.size[c:,total].last(0)}<0.1

    To me it looks like this would be super simple to fix in the windows agent but I dont know C at all and every time I look at the source I get dizzy pretty fast.

    Comment

    • trikke
      Senior Member
      • Aug 2007
      • 140

      #3
      I do use vfs.fs.size[c:,pfree] on all Windows Server. And it works!

      Using Zabbix 1.4.2

      Comment

      Working...