wproc unexpected EOF while looking for matching

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

wproc unexpected EOF while looking for matching

Post 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
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: wproc unexpected EOF while looking for matching

Post 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
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: wproc unexpected EOF while looking for matching

Post by bwallace »

Appreciate the update, those darn missing quotes! I'll lock this thread now.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked