Quantcast
Channel: NSClient++ » All Posts
Viewing all articles
Browse latest Browse all 189

Reply To: Bad code after CheckLogFile

$
0
0

I got the same error, on version 0.4.2
I have updated nsclient.ini with: CheckLogFile = 1
And during nscp test, I simply try to do the example here: http://www.nsclient.org/nscp/wiki/CheckLogFile/check_logfile

I got this error:

check_logfile file=d:\\test.log column-split=: “filter=column2 = ‘ourapp’”
d rvice\NSClient++.cpp:933 Injecting: check_logfile…
d ile\CheckLogFile.cpp:511 Boot time: 0
d er/modern_filter.hpp:218 Did not match: 2013-05-05,
d er/modern_filter.hpp:218 Did not match: 2013-05-05,
d ile\CheckLogFile.cpp:535 Evaluation time: 0
0
e i_plugin_wrapper.hpp:241 A module returned an invalid return code
d rvice\NSClient++.cpp:958 Result check_logfile: BAD_CODE: 10217845
l ce\simple_client.hpp:80 BAD_CODE: 10217845:d:\test.log: 3 (2013-05-05, 2013-05-05, 2013-05-05, )
d /server/protocol.hpp:66 Accepting connection from: ::ffff:10.24.193.144
d rvice\NSClient++.cpp:933 Injecting: check_seuil…
d kExternalScripts.cpp:257 Arguments: /c echo scripts\check_seuil.ps1; exit $LastExitCode | powershell.exe -command -
d rvice\NSClient++.cpp:958 Result check_seuil: CRITICAL
check_logfile file=d:\\test.log column-split=: “filter=column2 = ‘ourapp’”
d rvice\NSClient++.cpp:933 Injecting: check_logfile…
d ile\CheckLogFile.cpp:511 Boot time: 0
d er/modern_filter.hpp:218 Did not match: 2013-05-05,
d er/modern_filter.hpp:218 Did not match: 2013-05-05,
d ile\CheckLogFile.cpp:535 Evaluation time: 0


Viewing all articles
Browse latest Browse all 189

Trending Articles