[Pkg-nagios-changes] [pkg-nagios] r1646 - nagios-nsca/trunk/debian

Alexander Wirt formorer at alioth.debian.org
Sat Mar 21 21:26:57 UTC 2009


Author: formorer
Date: 2009-03-21 21:26:57 +0000 (Sat, 21 Mar 2009)
New Revision: 1646

Removed:
   nagios-nsca/trunk/debian/submit_check_result
Modified:
   nagios-nsca/trunk/debian/changelog
   nagios-nsca/trunk/debian/nsca.examples
Log:
After a short talk with zugschluss I decided to remove the submit_check_result


Modified: nagios-nsca/trunk/debian/changelog
===================================================================
--- nagios-nsca/trunk/debian/changelog	2009-03-21 20:59:11 UTC (rev 1645)
+++ nagios-nsca/trunk/debian/changelog	2009-03-21 21:26:57 UTC (rev 1646)
@@ -6,7 +6,6 @@
   * Add spanish translation (Closes: #514887)
   * Refer to nagios3 in command_file configuration
     (Closes: #509334)
-  * Add submit_check_result example script (Closes: #485472)
   * Remove 05_nsca_format_string.dpatch (included upstream)
 
  -- Alexander Wirt <formorer at debian.org>  Sat, 21 Mar 2009 20:21:07 +0100

Modified: nagios-nsca/trunk/debian/nsca.examples
===================================================================
--- nagios-nsca/trunk/debian/nsca.examples	2009-03-21 20:59:11 UTC (rev 1645)
+++ nagios-nsca/trunk/debian/nsca.examples	2009-03-21 21:26:57 UTC (rev 1646)
@@ -1,2 +1 @@
 sample-config/nsca.xinetd
-debian/submit_check_result

Deleted: nagios-nsca/trunk/debian/submit_check_result
===================================================================
--- nagios-nsca/trunk/debian/submit_check_result	2009-03-21 20:59:11 UTC (rev 1645)
+++ nagios-nsca/trunk/debian/submit_check_result	2009-03-21 21:26:57 UTC (rev 1646)
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# SUBMIT_CHECK_RESULT_VIA_NSCA
-# Written by Ethan Galstad (egalstad at nagios.org)
-# Last Modified: 10-15-2008
-#
-# This script will send passive check results to the
-# nsca daemon that runs on the central Nagios server.
-# If you simply want to submit passive checks from the 
-# same machine that Nagios is running on, look at the
-# submit_check_result script.
-#
-# Arguments:
-#  $1 = host_name (Short name of host that the service is
-#       associated with)
-#  $2 = svc_description (Description of the service)
-#  $3 = return_code (An integer that determines the state
-#       of the service check, 0=OK, 1=WARNING, 2=CRITICAL,
-#       3=UNKNOWN).
-#  $4 = plugin_output (A text string that should be used
-#       as the plugin output for the service check)s
-# 
-#
-# Note:
-# Modify the NagiosHost parameter to match the name or
-# IP address of the central server that has the nsca
-# daemon running.
-
-printfcmd="/usr/bin/printf"
-
-NscaBin="/usr/sbin/send_nsca" 
-NscaCfg="/etc/send_nsca.cfg"
-NagiosHost="nagioshost"
-
-# Fire the data off to the NSCA daemon using the send_nsca script 
-$printfcmd "%s\t%s\t%s\t%s\n" "$1" "$2" "$3" "$4" | $NscaBin -H $NagiosHost -c $NscaCfg
-
-# EOF
-




More information about the Pkg-nagios-changes mailing list