NRPE plugin issue after 5.5.0 upgrade (still in 5.5.1)
Posted: Mon Jul 16, 2018 9:59 am
After upgrading our Nagios XI instance to 5.5.0 we have started getting errors on a number of our plugins on windows servers. The error reported through Nagios XI is:
Could not construct return paket in NRPE handler check clientside (nsclient.log) logs
I have checked on the client servers, and although we have logging enabled through our nsclient.ini file there is no nsclient.log file generated on that system for additional debugging:
[log]
;# LOG DEBUG
; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test)
debug=1
;
;# LOG FILE
; The file to print log statements to
file=nsclient.log
This morning I upgraded to 5.5.1, but the issue still persists there.
As best I can tell we are running NSClient++ (x64) 0.3.8 (although if someone knows how to get the version information from the binary I'd appreciate it), and this is affecting plugins that call powershell scripts. Here is an example line from the [Extenal Scripts] portion:
read_file_E=cmd /c echo scripts\read_file_E.ps1; exit($lastexitcode) | powershell.exe -command -
This was working under 5.4.x through a number of upgrades, but the upgrade to 5.5 has started responding this way. I'm relatively certain that it's not on the client side, as the only change in this process was upgrading our Nagios XI monitoring server. We did a yum update on CentOS at the same time - but I'm looking at Nagios right now, as that's where our error is generating.
Thank you for your time. Any assistance would be appreciated. Please let me know if there is other information I could provide that would be helpful.
Could not construct return paket in NRPE handler check clientside (nsclient.log) logs
I have checked on the client servers, and although we have logging enabled through our nsclient.ini file there is no nsclient.log file generated on that system for additional debugging:
[log]
;# LOG DEBUG
; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test)
debug=1
;
;# LOG FILE
; The file to print log statements to
file=nsclient.log
This morning I upgraded to 5.5.1, but the issue still persists there.
As best I can tell we are running NSClient++ (x64) 0.3.8 (although if someone knows how to get the version information from the binary I'd appreciate it), and this is affecting plugins that call powershell scripts. Here is an example line from the [Extenal Scripts] portion:
read_file_E=cmd /c echo scripts\read_file_E.ps1; exit($lastexitcode) | powershell.exe -command -
This was working under 5.4.x through a number of upgrades, but the upgrade to 5.5 has started responding this way. I'm relatively certain that it's not on the client side, as the only change in this process was upgrading our Nagios XI monitoring server. We did a yum update on CentOS at the same time - but I'm looking at Nagios right now, as that's where our error is generating.
Thank you for your time. Any assistance would be appreciated. Please let me know if there is other information I could provide that would be helpful.