HOWTO configure nagios to supervised platform status
Why do that¶
When a punchplatform runs in production, it is crucial to build a strong monitoring system. The Punchplatform Admin is the official Administration and Monitoring component. Behind the IHM, a REST API is provided to ask the status of each component.
Punchplatform provides also a nagios plugin in open source to perform a recurrent check to this REST API.
What to do¶
- Download the nagios plugin
- Install prerequisites
- Check the correct functioning
./nagios-pp-platform.sh [PUNCHPLATFORM_ADMIN_HOSTNAME] [FIELD_TO_MONITOR]
- Add the service to hosts
- make sure the firewall rules are updated to access from the nagios to the Punchplatform Admin
- make sure prerequisites are installed