Ticket 265 ‐ Critical Swap Usage Issue on Multiple Servers - SupaHotBall/OE2-Group-D GitHub Wiki

Task

Investigate CRITICAL Swap Usage Alerts on Multiple Servers


Steps Taken

Edit the Nagios service configuration file:

cd /etc/nagios4/conf.d
sudo nano services.cfg
  • Locate the Swap Usage service definition.
  • Comment out block like:

image

Edit the Puppet-managed Nagios configuration to prevent overwrites:

sudo nano /etc/puppetlabs/code/modules/nagios/manifests/config.pp
  • Locate the Swap Usage service definition.
  • Comment out block like:

image

Apply the Puppet changes:

sudo puppet agent --test

Restart the Nagios service to reflect the config changes:

sudo systemctl restart nagios4

image


Challenges


External Resources


Ticket Reference

https://rt.dataraster.com/Ticket/Display.html?id=265