Plugin for HD Sentinel

  • I think you went into a internet time machine.... ;)
    Don't know if sentinel is worth the time, but today standards you use smart data monitoring which is included in Omv.

    I think you don't know HD Sentinel.
    HD Sentinel uses SMART data, gives predictions based on SMART data.


    You should read about it:
    About the Windows version:
    http://www.hdsentinel.com/hard…sentinel_professional.php
    http://www.hdsentinel.com/hard…ssional.php?page=features
    http://www.hdsentinel.com/hard…onal.php?page=screenshots
    About the Linux command line version:
    http://www.hdsentinel.com/hard_disk_sentinel_linux.php


    Here is a detailed description about the Health & Performance & Predicted lifetime calculation
    http://www.hdsentinel.com/help/en/52_cond.html
    http://www.hdsentinel.com/help/en/53_perf.html
    http://www.hdsentinel.com/help/en/54_pot.html


    Here is a basic manual for doing plugins


    DIY Plugin Guide for 3.x Beta

    Is there a DIY Plugin Guide for 2.x ?
    I don't use 3.x, yet.

    • Offizieller Beitrag

    I think you don't know HD Sentinel.
    HD Sentinel uses SMART data, gives predictions based on SMART data.

    Well the comment was based on how the website looked. OMV also can sends notifications on critical smart data attribute change. In omv 3 (i think it was backported to 2.0) also based on some critical smart data values there is alert display per disk. The backend of this service is based on smartmontools.
    As i see know that you mention they use some prediction weighting some of the attributes, some more critical than others.
    For me one event in reallocated event count, and is the beginning of the end of the disk, time to go the HD shop.




    Is there a DIY Plugin Guide for 2.x ?
    I don't use 3.x, yet.

    Yes, here DIY Plugin Development


    you should focus on omv3, the main developer introduced a feature called datamodels which reduces the php code a lot.
    For doing a plugin you should know php, javascript (for the UI) and bash/sh for the mkconf scripts.
    You can always grab any plugin and start modifying it.

  • HDSentinel has much more data, health prediction , and it is much more reliable than let's say smartmontools. They just issued new version,with a lot of ssd support drives.


    Great program.

  • Well, I just bought some bad 500 Gb hard disks to reallocate bad sectors on them, refreshing the surface with HD Sentinel, then using them in RAID 6. So having some cheap storage space.
    Thinking, if I can further increase the safety with a SnapRAID parity drive.



    As for plugin development, I'm PHP developer, so PHP is not problem, I don't really develop in Javascript so I will hate it, and finally I have some bash/shell experience, so bash will work.
    I will only have problems with Javascript development :)


    Grabbing a plugin, and start modifying it, seems to be a good starting point, thanks!

  • HDSentinel has much more data, health prediction , and it is much more reliable than let's say smartmontools. They just issued new version,with a lot of ssd support drives.


    Great program.

    Yes, the HD Sentinel 5.0.1 recognized the Chinese external USB 3.0 All in one HDD docker, which was not recognized by 4.x.
    So I can also confirm, that the new release increased hw compatibility a lot.

  • @klorinczi, how are you proceeding the plugin? i'd also love to see this in OMV, especially with the new html report feauture. in the meantime i used cronjob to run hdsentinel periodically and generate a report, which I am reaching over a dedicated port via the nginx plugin. not the most elegant way, and also does not give me proactive alerts but serves the purpose.

    SuperMicro CSE-825, X11SSH-F, Xeon E3-1240v6, 32 GB ECC RAM, LSI 9211-8i HBA controller, 2x 8 TB, 1x 4 TB, 1x3TB, MergerFS+SnapRAID

    Powered by Proxmox VE

  • @klorinczi, how are you proceeding the plugin? i'd also love to see this in OMV, especially with the new html report feauture. in the meantime i used cronjob to run hdsentinel periodically and generate a report, which I am reaching over a dedicated port via the nginx plugin. not the most elegant way, and also does not give me proactive alerts but serves the purpose.

    molnart: I had no time to work on it.


    I would be interested in your solution.
    Is it a shell script, which executes HD Sentinel?




    Sent with Tapatalk from my Samsung Galaxy Note 3 N9005.

  • it's a dead simple cronjob that creates a html report by running the command hdsentinel -r /srv/dev-disk-by-label-OMV-data/OMV-data/index.html -html


    afterwards i have set up the nginx plugin to open the index.html generated by hdsentinel over a dedicated port, so the report is not integrated into the OMV interface but has to be opened via another address

    SuperMicro CSE-825, X11SSH-F, Xeon E3-1240v6, 32 GB ECC RAM, LSI 9211-8i HBA controller, 2x 8 TB, 1x 4 TB, 1x3TB, MergerFS+SnapRAID

    Powered by Proxmox VE

    • Offizieller Beitrag

    To create a plugin that download/extracted the hdsentinel package, added a cronjob, and had a listview showing reports with a button to view would be pretty easy to make. If you want to look at other plugins that do similar things:


    download/extract is done by calibre plugin
    cronjob is done by mysql plugin
    listview showing reports is done by nginx plugin

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!