Swap Usage reporting critical

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Maengun
Posts: 5
Joined: Thu Apr 04, 2013 4:01 pm

Swap Usage reporting critical

Post 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)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Swap Usage reporting critical

Post 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
Maengun
Posts: 5
Joined: Thu Apr 04, 2013 4:01 pm

Re: Swap Usage reporting critical

Post by Maengun »

It's empty, nothing to display
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Swap Usage reporting critical

Post by slansing »

What does:

Code: Select all

free -m
Return? This will give us an overview of your available and allocated memory.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Swap Usage reporting critical

Post by lmiltchev »

Run in terminal:

Code: Select all

swapon -a
then try your check again. Did this help?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Maengun
Posts: 5
Joined: Thu Apr 04, 2013 4:01 pm

Re: Swap Usage reporting critical

Post 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.
Maengun
Posts: 5
Joined: Thu Apr 04, 2013 4:01 pm

Re: Swap Usage reporting critical

Post by Maengun »

No change after running the swap -a command
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Swap Usage reporting critical

Post by lmiltchev »

Is this the 32- or 64-bit version?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Maengun
Posts: 5
Joined: Thu Apr 04, 2013 4:01 pm

Re: Swap Usage reporting critical

Post by Maengun »

64-bit
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Swap Usage reporting critical

Post by lmiltchev »

We are working on the issue as we speak and will have a new VM uploaded by tomorrow.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked