Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Monitoring swap space

#1
I have NEMS 1.5 running on my Raspberry Pi and all of a sudden I am getting critical errors to due to lack of swap space from my other raspberry pi's (running both raspian and DietPi). If I run the command on my NEMS server:

 /usr/local/nagios/libexec/check_swap -w 20 -c 10 pihole

I get:

SWAP OK - 1% free (0 MB out of 99 MB) |swap=0MB;0;0;0;99


i.e. swap space is OK but there isn't much free! However if I log in to the raspberry pi server and type

free

I get:
              total        used        free      shared  buff/cache   available
Mem:         949448      135012      562460       36684      251976      727408
Swap:        102396           0      102396

i.e. there is 100% free!

Any idea what is wrong?

  Andrew

PS The other odd thing is that when I get critical errors, they occur at exactly the same time for both raspberry pis
 Reply
 
Messages In This Thread
Monitoring swap space - by arohl - 05-05-2019, 09:04 AM
RE: Monitoring swap space - by Marshman - 05-05-2019, 09:48 AM
RE: Monitoring swap space - by arohl - 05-05-2019, 07:45 PM
RE: Monitoring swap space - by ronjohntaylor - 06-29-2019, 07:31 PM
 
Forum Jump:

Users browsing this thread: 2 Guest(s)