Check File SQL error
Posted: Tue Jul 31, 2018 9:31 am
recently upgraded to 5.5.2 and I started getting this error doing a file count.
2018-07-26 15:23:19: debug:CACHENSClient++.cpp:557: Attempting to start NSCLient++ - 0.3.9.328 2011-08-16
2018-07-26 15:23:19: message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: C:\Program Files\NSClient++\\nsclient.log
2018-07-26 15:23:19: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 15:26:01: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 15:38:18: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 15:41:00: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 15:53:16: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 15:55:57: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 16:08:15: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 16:10:56: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 16:23:13: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 16:25:54: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
When I try to do "Run Check Command" from CCM I get:
SQL Error [nagiosxi] : ERROR: syntax error at or near "D"
LINE 1: ...pe -H 10.100.32.120 -t 30 -c CheckFiles -a path=\'D:\\\\Dell...
^
[nagios@dc1ux086 ~]$ /usr/local/nagios/libexec/check_nrpe -H 10.100.32.120 -t 30 -c CheckFiles -a path='D:\\Dell\\ArchiveManager\\Error' pattern=*.* 'master-syntax={%total% Files Found}' MaxWarn=2000 MaxCrit=5000 'filter=size gt 0b'
Error submitting command.
Any suggestions?
-pete
2018-07-26 15:23:19: debug:CACHENSClient++.cpp:557: Attempting to start NSCLient++ - 0.3.9.328 2011-08-16
2018-07-26 15:23:19: message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: C:\Program Files\NSClient++\\nsclient.log
2018-07-26 15:23:19: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 15:26:01: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 15:38:18: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 15:41:00: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 15:53:16: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 15:55:57: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 16:08:15: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 16:10:56: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 16:23:13: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-07-26 16:25:54: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
When I try to do "Run Check Command" from CCM I get:
SQL Error [nagiosxi] : ERROR: syntax error at or near "D"
LINE 1: ...pe -H 10.100.32.120 -t 30 -c CheckFiles -a path=\'D:\\\\Dell...
^
[nagios@dc1ux086 ~]$ /usr/local/nagios/libexec/check_nrpe -H 10.100.32.120 -t 30 -c CheckFiles -a path='D:\\Dell\\ArchiveManager\\Error' pattern=*.* 'master-syntax={%total% Files Found}' MaxWarn=2000 MaxCrit=5000 'filter=size gt 0b'
Error submitting command.
Any suggestions?
-pete