Page 1 of 1

wproc unexpected EOF while looking for matching

Posted: Tue Feb 28, 2017 9:29 am
by brdr
Hi Support,

Nagios is not sending any notifications. Notification attempts are happening per nagios.log, however, Nagios hits an error anytime it tries to send notification.

I'm not sure why it is not sending. Please let me know your thoughts. Thank you.

Here is a snippet from nagios log:

[1483179064] SERVICE NOTIFICATION: it-windows;hostxxx;DFSR Backlog Check;WARNING;xi_service_notification_handler;Warning - (109) Sync to server 10.20.63.43 in group WebsiteRG has 109 backlogged transactions
[1483179064] GLOBAL SERVICE EVENT HANDLER: hostxxx;DFSR Backlog Check;WARNING;HARD;5;xi_service_event_handler
[1483179064] wproc: NOTIFY job 918072 from worker Core Worker 2861 is a non-check helper but exited with return code 1
[1483179064] wproc: host=hostxxx; service=DFSR Backlog Check; contact=it-evcom
[1483179064] wproc: early_timeout=0; exited_ok=1; wait_status=256; error_code=0;
[1483179064] wproc: stderr line 01: /bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
[1483179064] wproc: stderr line 02: /bin/sh: -c: line 1: syntax error: unexpected end of file
[1483179064] wproc: NOTIFY job 918072 from worker Core Worker 2857 is a non-check helper but exited with return code 1
[1483179064] wproc: host=hostxxx; service=DFSR Backlog Check; contact=it-windows
[1483179064] wproc: early_timeout=0; exited_ok=1; wait_status=256; error_code=0;
[1483179064] wproc: stderr line 01: /bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
[1483179064] wproc: stderr line 02: /bin/sh: -c: line 1: syntax error: unexpected end of file

Re: wproc unexpected EOF while looking for matching

Posted: Tue Feb 28, 2017 9:56 am
by brdr
Please ignore.

There was a missing quote in our 'xi_service_notification_handler' that was causing no service notifications to go out. :o

Cheers

Re: wproc unexpected EOF while looking for matching

Posted: Tue Feb 28, 2017 10:30 am
by bwallace
Appreciate the update, those darn missing quotes! I'll lock this thread now.