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

SWAP CRITICAL

#11
Hi Robbie - thanks for the time and attention.  I'm anxious to resolve this, as the NEMS sent warnings several times during the night to my mobile phone...

I did SSH in and ran nems-update.  All went well [albeit slowly....., makes me wonder if the R-Pi Model 3 is really up to this], and in the end I got the following messages. 

...........
     Reading package lists... Done
     Building dependency tree
     Reading state information... Done
     97 packages can be upgraded. Run 'apt list --upgradable' to see them.
     userdel: nemsadmin mail spool (/var/mail/nemsadmin) not found
     Done.
 Reply
#12
Alright, that's good news.

What you need to do is edit the "Linux Servers" Service Group in NConf and remove the Swap check (move it out of active). Then deploy your Nagios config.

The reason you're seeing this is simply that the Pi 3 only has 1 GB RAM. So yes, it will swap, and yes this will cause notifications - but don't fear. NEMS uses ZRAM (it isn't actually swapping!) - just that you get an alert when you're over the threshold. Just turn off that check to disable the alerts, and NEMS will continue to manage the "swap" (ZRAM) without you needing to wake up to unnecessary alarms.

I thought this was disabled by default in 1.4.1 - so I'll double check before I release 1.5 - thanks!

Robbie
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
 Reply
#13
OK, I turned it off.

thanks!
 Reply
#14
My pleasure! Enjoy a restful sleep tonight  Tongue

Robbie
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
 Reply
 
Forum Jump:

Users browsing this thread: 1 Guest(s)