Ad Widget

Collapse

file system monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yngvith
    Member
    • Nov 2015
    • 34

    #1

    file system monitoring

    Hi, I'm new to zabbix. So, I've just installed a zabbix server vesion:
    zabbix_server --version
    Zabbix server v2.4.7 (revision 56694) (12 November 2015)
    Compilation time: Nov 13 2015 11:41:19
    the server is ubuntu 14.04 LTS, kernel 3.13.0-68-generic

    I've installed agent on several nodes (also ubuntu 14.04 LTS, kernel 3.13)

    But, I'm not seeing zabbix report correctly on full file systems. i.e.
    when I test this by creating files on file system /var/log
    os it's 98% full, zabbix only tells me:
    "free disk space is less than 20% on volume /var/log ( the colour is orange)

    Also, when this volume is 100% full ( /var/log ) zabbix is only reporting :
    "free disk space is less than 20% on volume /var/log" ( the colour is orange)

    why is'nt this reported as 'high' with a Red colour?

    best regards
    Yngvi
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    I suggest to get familiar with concepts of Zabbix first. The online documentation is a very good starting point.
    Regarding your question take a look at Items and Trigger in particular.

    The short answer to your question is that your Trigger likely has 20% statically defined in its name.

    E.g.: Free disk space is less than 20% on volume {#FSNAME}

    and the expression of the Trigger just checks the last value of the respective Item being below a certain threshold.

    E.g.: {Template OS Linux:vfs.fs.size[{#FSNAME},pfree].last(0)}<20

    Note that Items and Triggers related to file systems in the Template distributed with Zabbix are managed by so called Low-Level discovery.

    As being new to Zabbix, you might possibly also be interested in Some principles and practices I consider useful (not only) when using Zabbix at larger scale.

    Comment

    • yngvith
      Member
      • Nov 2015
      • 34

      #3
      file system monitoring

      thanks for the reply I'll read the this documentation and figure how to alter this!
      Yngvi

      Comment

      • yngvith
        Member
        • Nov 2015
        • 34

        #4
        file system monitoring

        OK, so I've created a new 'trigger prototype' under the relevant template->discovry ...
        and it works
        thanks a lot for your help
        best regards
        Yngvi

        Comment

        • tibo51
          Junior Member
          • Jan 2016
          • 17

          #5
          Or u can juste write a powershell script (for instance) and then with the zabbix trapper you retrieve all the informations. I did this, I think it's the easiest way to do it !

          Comment

          Working...