Hello world plugin for Nagios in Python
Nagios looks at 1) return codes and 2) output to stdout. This is the hello world of Nagios plugins, written in Python: check_helloworld.py: #!/usr/bin/env python # optparse is Python 2.3 – 2.6, deprecated in 2.7 # For 2.7+ use …