Ad Widget

Collapse

disk_free_%

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • michu
    Junior Member
    • Nov 2004
    • 20

    #1

    disk_free_%

    hey...

    just a idea.. it is possible to enhance the simple checks, that you can check the % of free disk space (via snmp)

    the command could look like this:

    simplecheck_diskfree_proc[1]

    means, i check the % of free disk space on disk 1.

    i think this would help a lot

    cheers
  • cooper
    Senior Member
    • Sep 2004
    • 110

    #2
    Originally posted by michu
    hey...

    just a idea.. it is possible to enhance the simple checks, that you can check the % of free disk space (via snmp)

    the command could look like this:

    simplecheck_diskfree_proc[1]

    means, i check the % of free disk space on disk 1.

    i think this would help a lot

    cheers

    If you are querying via snmp, its not a "simple check". If your system supports a disk free % variable, then all you need is the OID and zabbix will happily do the snmp query for you.

    Comment

    • michu
      Junior Member
      • Nov 2004
      • 20

      #3
      yes i know... but i mean instead of getting the snmp value of thee whole disk space and the snmp value of the used disk space and calculate the % of free space, it would nice, to define something like a makro .. thats what i meant.. youre right, simple check is not the right expression...

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        FYI ZABBIX v1.1 alphas already support diskused_perc[*] and diskfree_perc[*]. See http://www.zabbix.com/manual/v1.1/config_items.php for more details.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • michu
          Junior Member
          • Nov 2004
          • 20

          #5
          but this function needs the zabbix agent... it would be possible without, just via snmp. you know what i mean?

          cheers

          Comment

          • cooper
            Senior Member
            • Sep 2004
            • 110

            #6
            You could accomplish this by writing a script that would run the snmp query of the OIDs in question and then preform the necessary calculations to get % free or % used. Then use zabbix_sender to feed the data to the zabbix_trapperd (or zabbix_serverd if you are at 1.1alpha3) process. This script could be placed on the Zabbix server or on the monitored host and called from cron.

            Comment

            Working...