NSCA is not working

29 views
Skip to first unread message

Rakesh

unread,
May 31, 2011, 10:00:53 AM5/31/11
to GroundWork Monitor CE 6.0
hi, some one can help me in getting nsca work in GWOS
i am trying to send data using PROCESS_HOST_CHECK_RESULT


#vi try.pl
#!/bin/sh
CLOCK='date +%s'
HOST=$1
SVC=$2
STATUS=$3
OUTPUT=$4

echo "[$CLOCK] PROCESS_SERVICE_CHECK_RESULT;$HOST;$SVC;$STATUS;
$OUTPUT"
>/usr/local/groundwork/nagios/var/spool/nagios.cmd


#sh try.pl rakeshg ACDATA 0 2000
so i am getting
[date +%s] PROCESS_SERVICE_CHECK_RESULT;venkatramangb;ACDATA;0;
OUTPUT: 2000

but no update in GWOS,i want to on the debug option for nsca.
file is in $GWOSHOME/common/etc/nsca.cfg

if i change the debug=1 than am i have to compile full GWOS or just
restart service
Reply all
Reply to author
Forward
0 new messages