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)
Distributed monitoring issue - SOLVED
Re: Distributed monitoring issue
These are variables being passed to this shell script from the command-line. For example:
Code: Select all
./check_something myHost myService myState myOutput