3 Replies Latest reply on Jun 27, 2014 6:06 AM by syncopix

    Monitored disk status not changing the status of a node

    ouberlord

      Hello,

       

      Per a post I found elsewhere on Thwack (Re: Monitoring Disk Space change the status of a node) the status of a node's interfaces and volumes should affect the node's status.  However, I have a node (lets call it FileServer1) that has a 100% full F: drive, and yet the node shows green status.  Is there some sort of configuration setting that I may be missing?

        • Re: Monitored disk status not changing the status of a node
          bmeyers@sfwmd.gov

          Does anyone have a simple global workaround for this?  An application monitor template for disk space?

            • Re: Re: Monitored disk status not changing the status of a node
              HolyGuacamole

              Here is a quick script adapted from

              Windows Script Monitor - Free DIsk Space

              to create a SAM component monitor

              I don't think the node status changes when a volume is full.

               

              option explicit

              ' Purpose: Orion Component Monitor script to check free disk space.

              on error resume next

               

              const DRIVE_LOCAL = 3

               

              dim WMI, Disks, Disk

              dim fullDiskCount

              dim fullDiskNames

               

              fullDiskCount = 0

              fullDiskNames = ""

              Set WMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & wscript.arguments.item(0) & "\root\cimv2")

              Set Disks = WMI.ExecQuery ("Select * from Win32_LogicalDisk Where DriveType = " & DRIVE_LOCAL)

               

               

              For Each Disk in Disks

                  with disk

                      if (.FreeSpace = 0) then

                      fullDiskCount = fullDiskCount + 1

                      fullDiskNames = fullDiskNames + .DeviceID + " , "

                      end if

                  end with

              Next

               

               

              If (fullDiskCount >0) Then

              fullDiskNames = "List of disks that are full " & fullDiskNames

              End If

               

               

              Wscript.Echo ("Statistic: " & fullDiskCount)

              Wscript.Echo ("Message: " & fullDiskNames)

               

              Simply pass ${IP} as the script argument, and set a Critical threshold for any value greater than or equal to 1

               

              This hasn't been thoroughly tested but it should work

            • Re: Monitored disk status not changing the status of a node
              syncopix

              Have a look at this idea and comment to make sure it gets attention: http://thwack.solarwinds.com/ideas/1573

               

              NPM only changes the node status if the node is down or there's some packet loss (some form of connectivity issue). What we really need is via alerts (Basic or Advanced Alerts) is to be able to influence the nodes status. e.g. create an alert that says for nodes with <1GB volume space, set the node status to Warning.