SWAP CRITICAL

Having issues? Post them here, and help other users.
experimenter
Junior Member
Posts: 11
Joined: Thu Oct 04, 2018 11:17 am

RE: SWAP CRITICAL

Post by experimenter »

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.
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

RE: SWAP CRITICAL

Post by Robbie Ferguson »

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:
experimenter
Junior Member
Posts: 11
Joined: Thu Oct 04, 2018 11:17 am

RE: SWAP CRITICAL

Post by experimenter »

OK, I turned it off.

thanks!
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

RE: SWAP CRITICAL

Post by Robbie Ferguson »

My pleasure! Enjoy a restful sleep tonight  :P

Robbie
Robbie Ferguson // The Bald Nerd

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