Ad Widget

Collapse

offline Discs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Susi
    Junior Member
    • Feb 2015
    • 2

    #1

    offline Discs

    Which Trigger can i use to check if the drive (for example D is online or not?
    Tried it with {Host_1:vfs.fs.size[D:,free].nodata(30)}<5G but it still is ok even if the drive is offline.
  • coreychristian
    Senior Member
    Zabbix Certified Specialist
    • Jun 2012
    • 159

    #2
    I don't think there is a default item for that, you will need find a command that will show the status (I googled a few but don't have an offline drive to verify) then either run that command with system.run or create a UserParameter for it.

    Comment

    • Susi
      Junior Member
      • Feb 2015
      • 2

      #3
      for what is this Trigger "nodata"?
      i thought it triggers when nothing received?

      Comment

      • coreychristian
        Senior Member
        Zabbix Certified Specialist
        • Jun 2012
        • 159

        #4
        Does your system actually receive no data when the drive goes offline and not just zero's? If it receives no data then you can use a no data trigger, though the formatting isn't correct.


        To alert if you haven't recieved data for 30 minutes it should look like the following.

        {Host_1:vfs.fs.size[D:,free].nodata(30m)}=1

        You would then need a second trigger if the space dropped below 5GB

        {Host_1:vfs.fs.size[D:,free].last()}<5G

        Comment

        Working...