Page 1 of 1

Swap Usage reporting critical

Posted: Thu Apr 04, 2013 4:04 pm
by Maengun
Ok I installed Nagios XI for the first time from the OVF template into my VMWare envirnoment. It seems to be running fine, except the VM itself is reporting a swap critical issue. How do I fix this?

SWAP CRITICAL - 100% free (0 MB out of 0 MB)

Re: Swap Usage reporting critical

Posted: Thu Apr 04, 2013 4:12 pm
by slansing
Swap is dynamically added to and subtracted to depending on your systems needs, here is a good definition:

http://www.linfo.org/swap_space.html

What is the output of the following:

Code: Select all

cat /proc/swaps

Re: Swap Usage reporting critical

Posted: Thu Apr 04, 2013 4:47 pm
by Maengun
It's empty, nothing to display

Re: Swap Usage reporting critical

Posted: Thu Apr 04, 2013 4:54 pm
by slansing
What does:

Code: Select all

free -m
Return? This will give us an overview of your available and allocated memory.

Re: Swap Usage reporting critical

Posted: Thu Apr 04, 2013 5:01 pm
by lmiltchev
Run in terminal:

Code: Select all

swapon -a
then try your check again. Did this help?

Re: Swap Usage reporting critical

Posted: Fri Apr 05, 2013 8:26 am
by Maengun
[root@numbers ~]# free -m
total used free shared buffers cached
Mem: 995 535 460 0 13 98
-/+ buffers/cache: 423 571
Swap: 0 0 0


Remember this wasn't something I created, I used the premade OVF file so this was created and setup in the download. But fo course I do want to fix it.

Re: Swap Usage reporting critical

Posted: Fri Apr 05, 2013 8:27 am
by Maengun
No change after running the swap -a command

Re: Swap Usage reporting critical

Posted: Fri Apr 05, 2013 9:10 am
by lmiltchev
Is this the 32- or 64-bit version?

Re: Swap Usage reporting critical

Posted: Fri Apr 05, 2013 9:23 am
by Maengun
64-bit

Re: Swap Usage reporting critical

Posted: Fri Apr 05, 2013 1:47 pm
by lmiltchev
We are working on the issue as we speak and will have a new VM uploaded by tomorrow.