How to Create Own Nagios Plugin using Bash Shell Script
- Step 1 – Understand Return Codes. Every Nagios plugin must return with a status code which is called return code. ...
- Step 2 – Install NRPE Client. Let's install the NRPE client on your system using the following commands. ...
- Step 3 – Write A Shell Script. ...
- Step 4 – Update NRPE Configuration. ...
- Step 5 – Test with Check_Nrpe Command.