Answer: b) To provide an interface for creating custom plugins
Reason::The purpose of the Nagios Plugin API is to provide an interface for creating custom plugins that can be used to monitor hosts and services.