#498 closed defect (fixed)
maybe an issue with External Scripts : "no handler for command" ?
| Reported by: | pierro78 | Owned by: | MickeM |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.4.0 |
| Component: | Core | Version: | 0.4.0-rc |
| Severity: | Bugs | Keywords: | |
| Cc: | pierro78@… |
Description (last modified by mickem)
I've uncommented
"check_es_ok=scripts\ok.bat"
in nsc.ini
but I've got an issue when running check_nrpe, the check_es_ok is apparently not found, see nsclient.log :
2012-Jan-24 15:09:48: unknown:..\..\..\..\trunk\modules\NRPEServer\handler_impl.cpp:33: Running command: check_es_ok
2012-Jan-24 15:09:48: unknown:..\..\..\trunk\service\NSClient++.cpp:1114: Injecting: check_es_ok...
2012-Jan-24 15:09:48: unknown:..\..\..\trunk\service\NSClient++.cpp:1135: No handler for command: check_es_ok avalible commands: commands {, check_event_log, check_eventlog, check_nscp, check_ok, checkalwayscritical, checkalwaysok, checkalwayswarning, checkcounter, checkcpu, checkcritical, checkdrivesize, checkeventlog, checkfile2, checkfiles, checkfilesize, checkmem, checkmultiple, checkok, checkprocstate, checkservicestate, checksingleregentry, checkuptime, checkversion, checkwarning, checkwmi, checkwmivalue, listcounterinstances, std-tcp, sv-se-windows-cpu, sv-se-windows-eventlog, sv-se-windows-memoire}, plugins {, 0, 1, 2, 3, 4, 5, 6}
I've redefined some internal commands ( sv-se-windows-memoire , ...) and these work good ...
maybe I am missing sthing ?
thanks so much !
Change History (6)
comment:1 Changed 16 months ago by mickem
- Description modified (diff)
comment:2 Changed 16 months ago by mickem
- Resolution set to worksforme
- Status changed from new to closed
comment:3 Changed 16 months ago by pierro78
- Cc pierro78@… added
- Resolution worksforme deleted
- Status changed from closed to reopened
here is the nsclient.log :
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\helpers\settings_manager\settings_manager_impl.cpp:162: Boot.ini found in: C:/ESUP.new//boot.ini
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\helpers\settings_manager\settings_manager_impl.cpp:179: Boot order: ini://${shared-path}/nsclient.ini, old://${exe-path}/nsc.ini
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\helpers\settings_manager\settings_manager_impl.cpp:182: Activating: ini://${shared-path}/nsclient.ini
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\helpers\settings_manager\settings_manager_impl.cpp:73: Creating instance for: ini://${shared-path}:80/nsclient.ini
2012-Jan-30 18:01:59: unknown:D:\source\nscp\trunk\include\settings/settings_ini.hpp:252: Reading INI settings from: C:/ESUP.new//nsclient.ini
2012-Jan-30 18:01:59: unknown:D:\source\nscp\trunk\include\settings/settings_ini.hpp:226: Loading: C:/ESUP.new//nsclient.ini from ini://${shared-path}/nsclient.ini
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:614: On crash: restart: nscp
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:626: Archiving crash dumps in: C:/ESUP.new//crash-dumps
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:693: booting::loading plugins
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:398: Found: CheckDisk
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:398: Found: CheckEventLog
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:398: Found: CheckExternalScripts
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:398: Found: CheckHelpers
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:398: Found: CheckNSCP
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:398: Found: CheckSystem
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:398: Found: CheckWMI
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:398: Found: FileLogger
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:398: Found: NRPEServer
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:704: Processing plugin: CheckDisk.dll
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:1019: addPlugin(C:/ESUP.new//modules/CheckDisk.dll as )
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:704: Processing plugin: CheckEventLog.dll
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:1019: addPlugin(C:/ESUP.new//modules/CheckEventLog.dll as )
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:704: Processing plugin: CheckExternalScripts.dll
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:1019: addPlugin(C:/ESUP.new//modules/CheckExternalScripts.dll as )
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:704: Processing plugin: CheckHelpers.dll
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:1019: addPlugin(C:/ESUP.new//modules/CheckHelpers.dll as )
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:704: Processing plugin: CheckNSCP.dll
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:1019: addPlugin(C:/ESUP.new//modules/CheckNSCP.dll as )
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:704: Processing plugin: CheckSystem.dll
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:1019: addPlugin(C:/ESUP.new//modules/CheckSystem.dll as )
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:704: Processing plugin: CheckWMI.dll
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:1019: addPlugin(C:/ESUP.new//modules/CheckWMI.dll as )
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:704: Processing plugin: FileLogger.dll
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:1019: addPlugin(C:/ESUP.new//modules/FileLogger.dll as )
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:704: Processing plugin: NRPEServer.dll
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:1019: addPlugin(C:/ESUP.new//modules/NRPEServer.dll as )
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:995: Loading plugin: CheckDisk
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:995: Loading plugin: Event log Checker.
2012-Jan-30 18:01:59: unknown:D:\source\nscp\trunk\include\settings/settings_interface_impl.hpp:388: Get sections for: /settings/eventlog/real-time/filters
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:995: Loading plugin: Check External Scripts
2012-Jan-30 18:01:59: unknown:D:\source\nscp\trunk\include\settings/client/settings_client.hpp:637: Failed to notify /settings/external scripts/scripts: unknown escape sequence
2012-Jan-30 18:01:59: unknown:D:\source\nscp\trunk\include\settings/client/settings_client.hpp:637: Failed to notify /settings/external scripts/alias: cannot end with escape
2012-Jan-30 18:01:59: unknown:D:\source\nscp\trunk\include\settings/settings_interface_impl.hpp:388: Get sections for: /settings/external scripts/wrapped scripts
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:995: Loading plugin: Helper function
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:995: Loading plugin: Check NSCP
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:995: Loading plugin: CheckSystem
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:995: Loading plugin: CheckWMI
2012-Jan-30 18:01:59: unknown:D:\source\nscp\trunk\include\settings/settings_interface_impl.hpp:388: Get sections for: /settings/targets
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:995: Loading plugin: File logger
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:995: Loading plugin: NRPE server
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:91: Loading counters...
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:94: Loading counter: cpu = \238(_total)\6
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:94: Loading counter: memory commit bytes = \4\26
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:94: Loading counter: memory commit limit = \4\30
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:94: Loading counter: uptime = \2\674
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:110: Failed to open performance counters: \238(_total)\6: PdhAddCounter failed: -1073738823: Le compteur spécifié n'a pas été trouvé.
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:147: No performance counters were found we will not wait for the end instead...
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\modules\NRPEServer\NRPEServer.cpp:125: Allowed hosts definition: 10.237.4.227(255.255.255.255), 10.237.5.193(255.255.255.255), 127.0.0.1(255.255.255.255), 10.69.25.1(255.255.255.255), 10.69.25.2(255.255.255.255), 10.253.12.3(255.255.255.255), 10.235.95.135(255.255.255.255), 10.231.79.130(255.255.255.255), 10.222.65.130(255.255.255.255), 10.221.49.130(255.255.255.255), 10.235.95.130(255.255.255.255), 10.235.72.147(255.255.255.255), 10.235.72.149(255.255.255.255), 10.222.65.123(255.255.255.255), 10.231.72.105(255.255.255.255), 10.231.72.109(255.255.255.255), 10.231.72.145(255.255.255.255), 10.231.72.149(255.255.255.255), 10.231.72.85(255.255.255.255), 10.231.72.84(255.255.255.255), 10.231.72.148(255.255.255.255), 10.231.72.147(255.255.255.255), 10.231.76.8(255.255.255.255), 10.231.75.199(255.255.255.255)
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\include\nrpe\server\server.cpp:40: Using cert: C:/ESUP.new//security/nrpe_dh_512.pem
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\include\nrpe\server\server.cpp:50: Attempting to bind to: :5666
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\include\nrpe\server\server.cpp:62: Bound to: :5666
2012-Jan-30 18:01:59: unknown:..\..\..\..\trunk\include\nrpe\server\server.cpp:77: Thredpool containes: 10
2012-Jan-30 18:01:59: unknown:..\..\..\trunk\service\NSClient++.cpp:761: NSClient++ - 0,4,0,129 2012-01-21 Started!
2012-Jan-30 18:02:03: unknown:..\..\..\..\trunk\include\nrpe\server\server.cpp:95: Accepting connection from: 10.237.4.227
2012-Jan-30 18:02:03: unknown:..\..\..\..\trunk\include\nrpe\server\connection.cpp:37: starting data connection
2012-Jan-30 18:02:03: unknown:..\..\..\..\trunk\modules\NRPEServer\handler_impl.cpp:33: Running command: check_es_ok
2012-Jan-30 18:02:03: unknown:..\..\..\trunk\service\NSClient++.cpp:1114: Injecting: check_es_ok...
2012-Jan-30 18:02:03: unknown:..\..\..\trunk\service\NSClient++.cpp:1135: No handler for command: check_es_ok avalible commands: commands {, check_event_log, check_eventlog, check_nscp, check_ok, checkalwayscritical, checkalwaysok, checkalwayswarning, checkcounter, checkcpu, checkcritical, checkdrivesize, checkeventlog, checkfile2, checkfiles, checkfilesize, checkmem, checkmultiple, checkok, checkprocstate, checkservicestate, checksingleregentry, checkuptime, checkversion, checkwarning, checkwmi, checkwmivalue, listcounterinstances, std-tcp, sv-se-windows-cpu, sv-se-windows-eventlog, sv-se-windows-memoire}, plugins {, 0, 1, 2, 3, 4, 5, 6}
2012-Jan-30 18:02:03: unknown:..\..\..\..\trunk\modules\NRPEServer\handler_impl.cpp:35: Running command: check_es_ok =
2012-Jan-30 18:02:03: unknown:..\..\..\..\trunk\include\nrpe\server\connection.cpp:51: Timeout
and my nsclient.ini (with level = 1 ... does it mean the debug mode is on ?)
[/modules]
CheckExternalScripts.dll
; CheckDisk - CheckDisk can check various file and disk related things. The current version has commands to check Size of hard drives and directories.
CheckDisk =
; Event log Checker. - Check for errors and warnings in the event log. This is only supported through NRPE so if you plan to use only NSClient this wont help you at all.
CheckEventLog =
; Check External Scripts - A simple wrapper to run external scripts and batch files.
CheckExternalScripts =
; Helper function - Various helper function to extend other checks. This is also only supported through NRPE.
CheckHelpers =
; Check NSCP - Checkes the state of the agent
CheckNSCP =
; CheckSystem - Various system related checks, such as CPU load, process state, service state memory usage and PDH counters.
CheckSystem =
; CheckWMI - CheckWMI can check various file and disk related things. The current version has commands to check Size of hard drives and directories.
CheckWMI = 1
; File logger - Writes errors and (if configured) debug info to a text file.
FileLogger =
; NRPE server - A simple server that listens for incoming NRPE connection and handles them. NRPE is preferred over NSClient as it is more flexible. You can of cource use both NSClient and NRPE.
NRPEServer = 1
[/settings/NRPE/server]
; COMMAND ARGUMENT PROCESSING - This option determines whether or not the we will allow clients to specify arguments to commands that are executed.
allow arguments = true
; PORT NUMBER - Port to use for NRPE.
port = 5666
[/settings/default]
; ALLOWED HOSTS - A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges. Parent element can be found under: /settings/default
allowed hosts = 10.237.4.227,10.237.5.193,127.0.0.1,10.69.25.1,10.69.25.2,10.253.12.3,10.235.95.135,10.231.79.130,10.222.65.130,10.221.49.130,10.235.95.130,10.235.72.147,10.235.72.149,10.222.65.123,10.231.72.105,10.231.72.109,10.231.72.145,10.231.72.149,10.231.72.85,10.231.72.84,10.231.72.148,10.231.72.147,10.231.76.8,10.231.75.199
[/settings/external scripts]
; COMMAND ARGUMENT PROCESSING - This option determines whether or not the we will allow clients to specify arguments to commands that are executed.
allow arguments = true
[/settings/external scripts/alias]
; Undocumented key
SV-SE-Windows-CPU = checkCPU warn=$ARG1$ crit=$ARG2$ time=1m time=10s time=4s
; Undocumented key
SV-SE-Windows-EventLog = CheckEventLog descriptions file=$ARG1$ truncate=1022 MaxWarn=1 MaxCrit=1 "filter=generated gt -5m AND source like '$ARG2$' AND severity='$ARG3$'" "syntax=%written% %severity%: %source%: %message%"
; Undocumented key
SV-SE-Windows-Memoire = checkMem MaxWarn=$ARG1$ MaxCrit=$ARG2$ ShowAll type=physical
; Undocumented key
SV-SE-Windows-Partition = CheckDriveSize ShowAll MinWarn=$ARG1$ MinCrit=$ARG2$ Drive=$ARG3$\
; Undocumented key
alias_cpu = checkCPU warn=80 crit=90 time=5m time=1m time=30s
; Undocumented key
alias_cpu_ex = checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s
; Undocumented key
alias_disk = CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED
; Undocumented key
alias_event_log = alias_event_log_new
; Undocumented key
alias_event_log_new = CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated gt -2d AND severity NOT IN ('success', 'informational')" truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)"
; Undocumented key
alias_event_log_old = CheckEventLog file=application file=system filter=new filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-severity==success filter-severity==informational truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)"
; Undocumented key
alias_file_age = checkFile2 filter=out "file=$ARG1$" filter-written=>1d MaxWarn=1 MaxCrit=1 "syntax=%filename% %write%"
; Undocumented key
alias_file_size = checkFile2 filter=out "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%"
; Undocumented key
alias_file_size_in_dir = checkFile2 filter=out pattern=*.txt "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%"
; Undocumented key
alias_mem = checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical
; Undocumented key
alias_process = checkProcState $ARG1$=started
; Undocumented key
alias_service = checkServiceState CheckAll
; Undocumented key
alias_up = checkUpTime MinWarn=1d MinWarn=1h
; Undocumented key
check_ok = CheckOK Everything is fine!
[/settings/external scripts/scripts]
; Undocumented key
STD-TCP = scripts\STD-TCP.exe -H $ARG1$ -p $ARG2$ -w $ARG3$ -c $ARG4$
; Undocumented key
SV-SE-File_Age = scripts\..\..\perl\bin\perl.exe scripts\check_file_age.pl -w $ARG1$ -c $ARG2$ -f $ARG3$
; Undocumented key
SV-SE-File_Size = scripts\..\..\perl\bin\perl.exe scripts\check_file_age.pl -W $ARG1$ -C $ARG2$ -f $ARG3$
; Undocumented key
SV-SE-Reseau_Trafic = scripts\..\..\perl\bin\perl.exe scripts\check_snmp_int.pl -H $ARG1$ -n "$ARG2$" -w $ARG3$ -c $ARG4$ -C $ARG5$ --nbint $ARG6$ --label -k -Y -f -d 240
; Undocumented key
SV-SE-Services_startup = scripts\..\..\perl\bin\perl.exe scripts\SV-SE-Services_startup.pl --xlist=$ARG1$
; Undocumented key
SV-SE-Windows-NTP_Sync = cscript.exe //T:30 //NoLogo scripts\check_time.vbs $ARG1$ $ARG2$ $ARG3$
; Undocumented key
check_container = scripts\check_container.exe -f $ARG1$ -C scripts\send_nsca.exe -H $ARG2$ -P 5667 -F scripts\send_nsca.cfg -E $ARG3$
; Undocumented key
check_container_conf = scripts\..\..\perl\bin\perl.exe scripts\check_container_conf.pl -u $ARG1$ -t $ARG2$ -f $ARG3$ -a $ARG4$ -g $ARG5$
; Undocumented key
check_es_long = scripts\long.bat
; Undocumented key
check_es_nok = scripts\nok.bat
; Undocumented key
check_es_ok = scripts\ok.bat
; Undocumented key
check_powershell_warn = cmd /c echo scripts\powershell.ps1 | powershell.exe -command -
; Undocumented key
check_vbs_sample = cscript.exe //T:30 //NoLogo scripts\check_vb.vbs
[/settings/external scripts/wrappings]
; Undocumented key
bat = scripts\%SCRIPT% %ARGS%
; Undocumented key
ps1 = cmd /c echo scripts\%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command -
; Undocumented key
vbs = cscript.exe //T:30 //NoLogo scripts\lib\wrapper.vbs %SCRIPT% %ARGS%
[/settings/log]
; LOG LEVEL - Log level to use
level = 1
; Section for NRPE active/passive check module.
[/settings/NRPE/client]
; Target defnition for: default
[/settings/NRPE/client/targets/default]
; Section for NSCA passive check module.
[/settings/NSCA/client]
; Configure the NSCA server to report to.
[/settings/NSCA/client/server]
; Target defnition for: default
[/settings/NSCA/client/targets/default]
; Section for NSCA (NSCAServer) (check_nsca) protocol options.
[/settings/NSCA/server]
; Section for NSCP active/passive check module.
[/settings/NSCP/client]
; Target defnition for: default
[/settings/NSCP/client/targets/default]
; Section for NSClient (NSClientServer.dll) (check_nt) protocol options.
[/settings/NSClient/server]
; ???
[/settings/Task Scheduler]
; Section for system checks and system settings
[/settings/check/system/windows]
; Confiure which services has to be in which state
[/settings/check/system/windows/service mapping]
; Configure crash handling properties.
[/settings/crash]
; Section for the EventLog Checker (CheckEventLog.dll).
[/settings/eventlog]
; A set of options to configure the real time checks
[/settings/eventlog/real-time]
; A set of filters to use in real-time mode
[/settings/eventlog/real-time/filters]
; A list of wrappped scripts (ie. using the template mechanism)
[/settings/external scripts/wrapped scripts]
; Section for NSCP (NSCPListener.dll) (check_nscp) protocol options.
[/settings/nscp/server]
; Section for the Scheduler module.
[/settings/scheduler]
; Schedule defenition for: Default schedule
[/settings/scheduler/default]
; Section for the Scheduler module.
[/settings/scheduler/schedules]
; Section for configuring the shared session.
[/settings/shared session]
; A list of avalible remote target systems
[/settings/targets]
Thanks !!
comment:4 Changed 16 months ago by mickem
The the problem is atleast the following:
unknown:D:\source\nscp\trunk\include\settings/client/settings_client.hpp:637: Failed to notify /settings/external scripts/scripts: unknown escape sequence unknown:D:\source\nscp\trunk\include\settings/client/settings_client.hpp:637: Failed to notify /settings/external scripts/alias: cannot end with escape
Caused by:
SV-SE-Windows-Partition = CheckDriveSize ShowAll MinWarn=$ARG1$ MinCrit=$ARG2$ Drive=$ARG3$\
Maybe since I have added proper parsing I should "if failed" add it the old way...
Michael medin
comment:5 Changed 16 months ago by mickem
- Milestone changed from 0.4.1 to 0.4.0
- Resolution set to fixed
- Status changed from reopened to closed
This will be fixed in the next nightly build.
Possibly tonight (if it builds ok) if not tomorrow.
I want to resolve the target issue as well as fix the new LUAScript API before I release the next RC but expect that this week.
Michael Medin
comment:6 Changed 16 months ago by mickem
Nightly build 131 has this fix.









I have tried this myself and it works for me.
Could you please check what it says during startup (in debug mode). My guess it failes to register the command for some reason.
D:\source\nscp\build\x64>nscp test ? ..\..\..\trunk\service\NSClient++.cpp:550 NSClient++ 0,4,0,129 2012-01-21 x64 booting... d ttings_manager\settings_manager_impl.cpp:162 Boot.ini found in: D:/source/nscp/build/x64//boot.ini d ttings_manager\settings_manager_impl.cpp:179 Boot order: old://${exe-path}/nsc.ini, ini://${shared-path}/nsclient.ini d ttings_manager\settings_manager_impl.cpp:182 Activating: old://${exe-path}/nsc.ini d ttings_manager\settings_manager_impl.cpp:73 Creating instance for: old://${exe-path}:80/nsc.ini d \trunk\include\settings/settings_old.hpp:170 Loading OLD: old://${exe-path}/nsc.ini for old://${exe-path}/nsc.ini d \trunk\include\settings/settings_old.hpp:42 Reading MAP file: D:/source/nscp/build/x64//old-settings.map d \trunk\include\settings/settings_old.hpp:477 Reading old settings from: D:/source/nscp/build/x64//nsc.ini ? ..\..\..\trunk\service\NSClient++.cpp:555 Booted settings subsystem... d ..\..\..\trunk\service\NSClient++.cpp:616 On crash: restart: NSClientpp d ..\..\..\trunk\service\NSClient++.cpp:628 Archiving crash dumps in: D:/source/nscp/build/x64//crash-dumps d ..\..\..\trunk\service\NSClient++.cpp:695 booting::loading plugins d ..\..\..\trunk\service\NSClient++.cpp:400 Found: CheckExternalScripts d ..\..\..\trunk\service\NSClient++.cpp:706 Processing plugin: CheckExternalScripts.dll d ..\..\..\trunk\service\NSClient++.cpp:1021 addPlugin(D:/source/nscp/build/x64//modules/CheckExternalScripts.dll as ) d ..\..\..\trunk\service\NSClient++.cpp:997 Loading plugin: Check External Scripts d ude\settings/settings_interface_impl.hpp:388 Get sections for: /settings/external scripts/scripts d ude\settings/settings_interface_impl.hpp:388 Get sections for: /settings/external scripts/alias d ude\settings/settings_interface_impl.hpp:388 Get sections for: /settings/external scripts/wrapped scripts d ..\..\..\trunk\service\NSClient++.cpp:763 NSClient++ - 0,4,0,129 2012-01-21 Started! ? rce\nscp\trunk\service\simple_client.hpp:33 Enter command to inject or exit to terminate... check_es_ok d ..\..\..\trunk\service\NSClient++.cpp:1115 Injecting: check_es_ok... ? ExternalScripts\CheckExternalScripts.cpp:184 Arguments: d ..\..\..\trunk\service\NSClient++.cpp:1139 Result check_es_ok: OK ? rce\nscp\trunk\service\simple_client.hpp:12 OK:OK: Everything is going to be fine aUsing the following nsc.ini