Trick to having pref data send via nsca is to include a | delimiter right after $SERVICEOUTPUT$.
define command{
command_name submit_check_result
command_line /opt/nagios/plugins/eventhandlers/distributed-monitoring/submit_check_result_via_nsca $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$|$SERVICEPERFDATA$'
}
This is of course assuming you already have preformance data.
No comments:
Post a Comment