Update 1.1: nginx Check Plugin for Nagios
Binary Talks | (1)
Last week I've got an E-Mail by Jordi, who's blogging at terraquis.net, with a few suggestions to the nginx check plugin I've recently released. He made two significant changes to the plugin:
His version runs with bash only, but except bc all external calls have been replaced by bash built-ins
There's no temporary file anymore which has to be written to a temporary directory, nginx_status page output is saved into a variable
The plugin therefore runs much faster than my initial version of the plugin: 14-16ms plus the 1 second sleep interval between the two nginx_status checks.
And then I realized that writing output ...