send_nsca send_check_result script question

Brady Maxwell brady.maxwell at gmail.com
Sat Feb 4 01:16:39 CET 2006


in the send_nsca config file there does not appear to be away to set the 
port that send_nsca should use but in the nsca config  file there is a 
place to set the port.

does the port go in the send_check_result script?

If so can someone share with me the syntax please.

i think it would look something like this

/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca /central_server/ port_id -c /usr/local/nagios/etc/send_nsca.cfg

Thank You

Brady


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list