Ad Widget

Collapse

iostat

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • djinn_fr22
    Member
    • Jan 2007
    • 54

    #1

    iostat

    Hi,

    Just would like to know if somebody suceeded to use the vfs.dev.read or write key on a linux box with /dev/sda disk.

    I tried that:
    vfs.dev.read[sda,,avg15] and vfs.dev.read[sda1,,avg15], but it doesn't seem to be supported.

    It's a server where the bottleneck is i/o, so I would like to be able to monitor it.

    Before going to use an userparameter with iostat and awk commands, I would like to know if somebody experience the same problem.

    Thank you

    Jean
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    On Linux avg{1,5,15} modes are do not supported (IIRC avg modes are supported only on *BSD).
    You can only use vfs.dev.{read,write}[sda1,sectors] or vfs.dev.{read,write}[sda1,operations].
    Dist Unix_t template is IMO unusable on Linux.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • djinn_fr22
      Member
      • Jan 2007
      • 54

      #3
      Thank you for your help.

      I agree with you about the fact that zabbix agent "out of the box" is not able to get a lot of interresting metrics for disk monitoring.

      I am going to be obliged to do some UserParameter script, with iostat...

      Comment

      Working...