[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3master/usr/share/se3/scripts-alertes/ -> utils.sh (source)

   1  #! /bin/sh
   2  
   3  STATE_OK=0
   4  STATE_WARNING=1
   5  STATE_CRITICAL=2
   6  STATE_UNKNOWN=3
   7  STATE_DEPENDENT=4
   8  
   9  if test -x /usr/bin/printf; then
  10      ECHO=/usr/bin/printf
  11  else
  12      ECHO=echo
  13  fi
  14  
  15  print_revision() {
  16      echo "$1 (nagios-plugins 1.4) $2"
  17      $ECHO "The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\ncopies of the plugins under the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING.\n" | /bin/sed -e 's/\n/ /g'
  18  }
  19  
  20  support() {
  21      $ECHO "Send email to nagios-users@lists.sourceforge.net if you have questions\nregarding use of this software. To submit patches or suggest improvements,\nsend email to nagiosplug-devel@lists.sourceforge.net.\nPlease include version information with all correspondence (when possible,\nuse output from the --version option of the plugin itself).\n" | /bin/sed -e 's/\n/ /g'
  22  }
  23  


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1