Ad Widget

Collapse

Monitoring Paging in Linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pmurtey
    Member
    • Mar 2020
    • 91

    #1

    Monitoring Paging in Linux

    Hi All, Still new to all of this. We have a situation where our Linux support Staff has told us they do not want us monitoring Memory, because Linux usually runs at close to 100% anyway because the OS handles the memory management on the servers. Instead they have asked that we monitor for Paging activity, they said that 2000 pps or higher threshold indicates an issue with the system doing to much paging and could cause system performance issues. I dont see anywhere in zabbix where paging for a Linux system is an option. Can someone please shed some light on this? TIA
  • mwildam
    Member
    • Feb 2021
    • 72

    #2
    Do you really want to monitor paging? Or is it sufficient to monitor swapping (memory put to disk because running out of memory)?
    For swapping there are the item keys system.swap.size, system.swap.in and system.swap.out.

    See also https://stackoverflow.com/questions/...ing-and-paging

    Comment

    • pmurtey
      Member
      • Mar 2020
      • 91

      #3
      Thanks Cyber, I guess I have.Still new at this. I just looked through multiple templates trying to find these two metrics, can you tell me where they can be found? I dont see a graph for these settings either, so Im guessing that one has to be created.

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        They most probably are not in any template. These are things that agent knows how to use. You should make your own items/templates. Out-of-the-box templates are OK for starters... But in the end you should still tune them, make them suite your environment.

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          I guess you looked badly
          https://www.zabbix.com/documentation...s/zabbix_agent

          system.swap.in[<device>,<type>]
          Swap in (from device into memory) statistics. Integer device - device used for swapping (default is all)
          type - possible values:
          count (number of swapins), sectors (sectors swapped in), pages (pages swapped in).
          See also platform-specific details for this parameter.
          Example:
          ⇒ system.swap.in[,pages]

          The source of this information is:
          /proc/swaps, /proc/partitions, /proc/stat (Linux 2.4)
          /proc/swaps, /proc/diskstats, /proc/vmstat (Linux 2.6)
          system.swap.out[<device>,<type>]
          Swap out (from memory onto device) statistics. Integer device - device used for swapping (default is all)
          type - possible values:
          count (number of swapouts), sectors (sectors swapped out), pages (pages swapped out).
          See also platform-specific details for this parameter.
          Example:
          ⇒ system.swap.out[,pages]

          The source of this information is:
          /proc/swaps, /proc/partitions, /proc/stat (Linux 2.4)
          /proc/swaps, /proc/diskstats, /proc/vmstat (Linux 2.6)

          Comment

          Working...