Ticket #252: Apply the Nagios NRPE Puppet Module to apps‐d and backup‐d Servers - SupaHotBall/OE2-Group-D GitHub Wiki
Task
Apply the same module to the remaining servers: apps-d and backup-d. This will enable NRPE-based monitoring and prepare these servers for additional health and performance checks managed via Nagios.
Success Criteria:
- The nagios_nrpe module is applied to both apps-d and backup-d without errors
- NRPE is installed, configured, and actively running on both servers
- Disk checks (check_sdb1) are returning results from mgmt
- Both servers are visible in the Nagios web UI with working NRPE disk checks
- Configuration remains consistent with what was implemented on db-d
Steps Taken
Edit the site.pp file to include the nagios_nrpe module for apps-d and backup-d
include nagios_nrpe
Then run sudo puppet agent --test
to apply the module to the servers
After the module has been applied, check that the check commands work by running them from the management server
/usr/lib/nagios/plugins/check_nrpe -H apps-d -c check_sdb1
/usr/lib/nagios/plugins/check_nrpe -H apps-d -c check_users
/usr/lib/nagios/plugins/check_nrpe -H apps-d -c check_load
/usr/lib/nagios/plugins/check_nrpe -H apps-d -c check_swap
/usr/lib/nagios/plugins/check_nrpe -H apps-d -c check_total_procs
/usr/lib/nagios/plugins/check_nrpe -H apps-d -c check_zombie_procs
The check commands work so just repeat the same process for the remaining backup server
Challenges
N/A
External Resources
N/A
Ticket Reference
https://rt.dataraster.com/Ticket/Display.html?id=252