Distributed monitoring issue - SOLVED

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ashish
Posts: 4
Joined: Tue Mar 01, 2011 1:03 am

Re: Distributed monitoring issue

Post by ashish »

thankx for the feedback we will check this & let you know the status.

We have one more doubt in the working of send_nsca. Can you tell from where the sumbit_host_check_results and sumbit_service_check_results are getting the data ($1, $2, $3 and $4).

# $1 = host_name (Short name of host that the service is
# associated with)
# $2 = svc_description (Description of the service)
# $3 = state_id_string (A string representing the status of
# the given service - "OK", "WARNING", "CRITICAL"
# or "UNKNOWN")
# $4 = plugin_output (A text string that should be used
# as the plugin output for the service checks)
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Distributed monitoring issue

Post by mguthrie »

These are variables being passed to this shell script from the command-line. For example:

Code: Select all

./check_something myHost myService myState myOutput
Locked