Base module for Nagios check plugins written in Python