GitHub

How should a plugin be written?

The Nagios Plugin Development Guidelines provide the specifications for writing a plugin.