Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-644

Add ability to read /proc, /sys, any file by line and field number

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Agent (G)

      It would be very nice to be able to read /proc /sys values via the agent, actually any file, by row and field number.

      Something like: file.read(/proc/meminfo, 10, 2) to get line 10, field 2 of meminfo.

      This way we can get lots of stats the agent can't get, including memory, kernel, disk, etc.

      A more advanced version would include the ability to use a macro or key such as hda for things like /sys/block/$drive/queue or even add up using /sys/block/*/queue. Have to think more about how that could be used.

      For now we use a custom script to get this, but it would provide a powerful way to extend the agent.

            Unassigned Unassigned
            mushero Steve mushero
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: