Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ASG 220 RAM/SNMP error

Hello,

We are currently using a ASG 220 Firmware 7.513. I setup network monitoring on it via Nagios/Check_mk using SNMP. We started to notice strange behavior with the reported memory results. For example Nagios reports that the memory is at 150%, because the SWAP is being used fully, when in reality it is not. I put down this error to the possibility that our ASG 220 maybe be using different OIDs, so I used OidView to get the Physical and SWAP information about how much memory was in use. I was surprised to see that 972376 KB out of 1028204 KB were being used (Physical Memory). That is over 90% of the memory being consistently used! I thought that this couldn't be right, because the Physical RAM was reported as being 59-60% in used in the web interface. I then SSHd into the astaro and used the ‘top’ command to see what was being reported there, and again I saw that over 90% of the memory was in use consistently. My question is why? Is it suppose to work that way or is there something wrong with the web interface? If I monitor the OID for physical memory it will report 90%+  the whole time, which is fine if it is correct. 

Regards,

Shawn


This thread was automatically locked due to age.
Parents
  • Hi, 
    Modern OS' do a lot of buffering and caching.

    If you want to see the actual memory usage, run 'free' or 'free -m', and look at the middle row for RAM, and the last row for SWAP.

    I don't know why swap would be reported differently via SNMP though.

    Barry
Reply
  • Hi, 
    Modern OS' do a lot of buffering and caching.

    If you want to see the actual memory usage, run 'free' or 'free -m', and look at the middle row for RAM, and the last row for SWAP.

    I don't know why swap would be reported differently via SNMP though.

    Barry
Children
  • Hello,

    Attached is the Memory/Swap Usage (Weekly). I also used the 'free -m' command and it returnted:

               total       used       free     shared    buffers     cached
    Mem:    1004        973         30          0         81        349
    -/+ buffers/cache:        543        461
    Swap:         1027         26       1001

    Watch Top the amount of mem being used is pretty steady, so it does not seems like this is a spike of activity. It remains pretty consistent the whole time while monitoring it.  

    Regards,

    Shawn