Custom NRPE Configuration File/ Changing output of alarm
Posted: Tue Apr 30, 2013 11:24 am
Hi,
I have been trying to research if there is a sample custom NRPE configuration file that would allow to change the outputs of alerts.
Example:
command[check_disk1]=/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -p /dev/sda1
If you were to get a warning from this check_disk1, it would send the output of df -h, showing the complete output of df -h. This would allow the administrator to quickly identify and t-shoot because it provided a snapshot of df -h and provided this details of the triggered alarm with in the email alert.
Let me know if more details are required..
I have been trying to research if there is a sample custom NRPE configuration file that would allow to change the outputs of alerts.
Example:
command[check_disk1]=/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -p /dev/sda1
If you were to get a warning from this check_disk1, it would send the output of df -h, showing the complete output of df -h. This would allow the administrator to quickly identify and t-shoot because it provided a snapshot of df -h and provided this details of the triggered alarm with in the email alert.
Let me know if more details are required..