9 Replies Latest reply: Apr 16, 2012 9:22 AM by byrona RSS

MIB for CPU Utilization - Linux Server

mkocsis

Our server team has three Linux servers.   On one, NPM is showing high CPU utilization (100%).  The other two are showing more reasonable CPU utilizations (under 10%).

Our server team wants to know which MIB is NPM looking at to see these values.  Does anyone know this?

Thank you.

Michael K

 
  • Re: MIB for CPU Utilization - Linux Server
    ecklerwr1

    I believe theyare using:

    For servers (Windows, Unix, Linux, etc.), they use HOST-RESOURCES-MIB::hrProcessorLoad (1.3.6.1.2.1.25.3.3.1.2).

  • Re: MIB for CPU Utilization - Linux Server
    lchance
    2
    hrProcessorLoad
    INTEGER32
    Legal values: 0 .. 100
    ReadOnly
    The average, over the last minute, of the percentage
    of time that this processor was not idle.
    Implementations may approximate this one minute
    smoothing period if necessary.
    

    hrProcessorLoad  INTEGER32


    Legal values: 0 .. 100 

    ReadOnly The average, over the last minute, of the percentage
    of time that this processor was not idle.
    Implementations may approximate this one minute
    smoothing period if necessary.

    Do you have APM to where you could discover the processes on that system and see how the CPU load is being used?

    • Re: MIB for CPU Utilization - Linux Server
      byrona

      How does this work for multi-processor systems? 

      I did a MibWalk on one of my systems and see an hrProcessorLoad for each CPU in the system and would like to know if and how this is taken into consideration?

      • Re: MIB for CPU Utilization - Linux Server
        ctopaloglu

        If I am not mistaken NPM is doing pretty bad job on linux (net-snmp). NPM dosen't understand which unix/linux version? It doesn't understand it's CPU/DISK/Memory accurately. We need an urgent solution if possible?

        • Re: MIB for CPU Utilization - Linux Server
          byrona

          If you use SAM you can get a lot more of this information.  Also with more recent versions NPM & SAM have become much better at handling Linux.  NPM still doesn't see the Linux version but that is less a failure of NPM and more a failure of the net-snmp agent which is terribly maintained.  Since NPM talks to the SNMP agent on a system it relies on the data that agent provides.  SAM gives you a lot more options when it comes to collecting data from a system so I would suggest you give that a try since it's more designed to do Server monitoring.

           

          I have a UnDP that will do Load Average for net-snmp systems such as Linux and Unix, you can find that HERE.

          • Re: MIB for CPU Utilization - Linux Server
            ctopaloglu

            Hi Byron,

             

            If I am not mistaken you need an agent on the server side for SAM. And nobody wants to install a large sized agent on their servers. Also there are other NMS's (especially free ones) that will show the true information on linux boxes like OS information/CPU/Memory/Disk. So I think the real problem is Orion linux support. Is it too much to ask? Not all systems are windows these days. But thanks for your help anyway.

             

            I still need a workaround for all these information.

            • Re: MIB for CPU Utilization - Linux Server
              byrona

              SAM doesn't use agents.

               

              I realize not all systems are Windows.  We are a cloud hosting provider and have many Linux and even some Unix systems that we support and I have been able to get CPU, Disk, and Memory information for those systems just as easily as I can for our Windows systems.  In my experience Orion fully supports Linux, if you aren't receiving this information you may not have things configured correctly.