missing utils.sh

You can find missing utils.sh there: http://n2rrd-wiki.diglinks.com/display/n2rrd/utils.sh

#! /bin/sh

STATE_OK=0
STATE_WARNING=1
STATE_CRITICAL=2
STATE_UNKNOWN=3
STATE_DEPENDENT=4

if test -x /usr/bin/printf; then
ECHO=/usr/bin/printf
else
ECHO=echo
fi

print_revision() {
echo “$1 v$2 (nagios-plugins 1.4.13)”
$ECHO “The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistributencopies of the plugins under the terms of the GNU General Public License.nFor more information about these matters, see the file named COPYING.n” | sed -e ‘s/n/ /g’
}

support() {
$ECHO “Send email to [email protected] if you have questionsnregarding use of this software. To submit patches or suggest improvements,nsend email to [email protected] include version information with all correspondence (when possible,nuse output from the –version option of the plugin itself).n” | sed -e ‘s/n/ /g’
}