Ad Widget

Collapse

Monitor the specific mount points

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thumma532
    Junior Member
    • Jul 2021
    • 1

    #1

    Monitor the specific mount points

    Hi guys,
    I am new to Zabbix. I was not able to figure it out to monitor the specific mount points. Could you please help me
  • Zdenek_OMNISENSUIT
    Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Nov 2020
    • 55

    #2
    Hello.

    Try use UserParameter file and item to make this check.
    (or direct system.run if you have this option enabled)
    It can be something like this:
    UserParameter=nfs.check.key,findmnt -nr -o source -T /nameofmountpoint -R | grep somestringintarget > /dev/null && echo 1 || echo 0
    This check will return 1 or 0 depends on result if the specific target is mounted to the mount point.
    For example, NFS case.
    See zabbix documentation for UserParameter or system.run


    -------------------------
    omnisensuit.com

    Comment

    Working...