{"action":"closed","issue":{"url":"https://api.github.com/repos/mickem/nscp/issues/258","repository_url":"https://api.github.com/repos/mickem/nscp","labels_url":"https://api.github.com/repos/mickem/nscp/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/mickem/nscp/issues/258/comments","events_url":"https://api.github.com/repos/mickem/nscp/issues/258/events","html_url":"https://github.com/mickem/nscp/issues/258","id":138937634,"number":258,"title":"NRPE forwarding/relaying not working in 0.5","user":{"login":"Daniel-Beardsmore","id":5874930,"avatar_url":"https://avatars.githubusercontent.com/u/5874930?v=3","gravatar_id":"","url":"https://api.github.com/users/Daniel-Beardsmore","html_url":"https://github.com/Daniel-Beardsmore","followers_url":"https://api.github.com/users/Daniel-Beardsmore/followers","following_url":"https://api.github.com/users/Daniel-Beardsmore/following{/other_user}","gists_url":"https://api.github.com/users/Daniel-Beardsmore/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel-Beardsmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel-Beardsmore/subscriptions","organizations_url":"https://api.github.com/users/Daniel-Beardsmore/orgs","repos_url":"https://api.github.com/users/Daniel-Beardsmore/repos","events_url":"https://api.github.com/users/Daniel-Beardsmore/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel-Beardsmore/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-07T10:02:12Z","updated_at":"2016-03-07T19:41:33Z","closed_at":"2016-03-07T19:41:33Z","body":"Forwarding host: Server 2003 R2 SP2, NSClient++ 0.5.0.19 and 0.5.0.25\r\n\r\nTarget host: Server 2003 R2 SP2, NSClient++ 0.5.0.25\r\n\r\nExample command:\r\n$ ./check_nrpe -n -H external.host.addr -c check_nrpe -a host=\"internal.host.addr\" no-ssl command=\"check_uptime\"\r\n\r\nExpected output:\r\nOK: uptime: …\r\n\r\nActual output:\r\nCHECK_NRPE: Invalid packet type received from server.\r\n\r\nLocal checks on the forwarding host do work:\r\n\r\n$ ./check_nrpe -n -H external.host.addr -c check_uptime\r\nOK: uptime: …\r\n\r\nDue to the nature of the logging (issue 255) I can't offer much in the way of clues. The forwarding host literally just logs:\r\n\r\n2016-03-07 09:47:27: debug:c:\\source\\master\\include\\nrpe/server/protocol.hpp:72: Accepting connection from: xxx.xxx.xxx.xxx, count=1\r\n\r\nThe target server does not log any incoming connections, so this error is occurring on the forwarding server.\r\n\r\nUsing 0.4.4 series on the forwarding host works just fine — this seems to be a bug in 0.5.0 series. I upgraded the forwarding host to 0.5.0.25 to test the new \"argument\" parameter to check_nrpe/nrpe_query as it looks like I'll be needing this to forward arbitrary numbers of parameters."}}