Ad Widget

Collapse

disk status notification Zabbix 3.4 on Ubunto 18.04

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zied
    Junior Member
    • Aug 2019
    • 1

    #1

    disk status notification Zabbix 3.4 on Ubunto 18.04

    Does Zabbix have the ability to identify defective disks?
    I'm not looking for the state of disk space but rather the disk state itself (defective disk)
    and if it is possible which template to use for the notification by mail?
  • the.monitor
    Junior Member
    Zabbix Certified Specialist
    • Aug 2019
    • 22

    #2
    I'm not certain that zabbix alone can do this. Zabbix does however support writing your own custom keys if you have a way to access the data yourself.

    If you use DRAC on your servers then this can be queried by zabbix and alert when a disk turns faulty or falls out of raid.

    Comment

    • 1berto
      Senior Member
      • Sep 2018
      • 182

      #3
      By default not...
      There are some ways to do this.
      You can use crontab to execute a comand (smartctl ?) log the result and them use the agent to read the result with UserParameter (local) or system.run( from zabbix server or proxy ).

      You can also configure zabbix agent to run as sudo/root, add the permission fo zabbix agent user to execute the command on /etc/sudoers and create an UserParameter to test the disk, returning the result. This is more flexible (you can change the frequency anywhere you want on the zabbix item) but less secure.

      Note that a 'full' test with smartctl take some time, so you (probably) will need to execute a command and get the result only after some time.



      Comment


      • zied
        zied commented
        Editing a comment
        thank you very much
        I'm going to try...
    Working...