You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ITL: Fix problem with passing arguments to NSClient++
There was a problem with passing arguments to the NSClient++
which is fixed by changing the skip_key staement by the repeat_key
statement in the "-a" key of the dictionary. Further details can be
found in issue #12747 ITL - Problems passing arguments/parameters to
NSClient++
fixes #12747
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12747
Created by Marax on 2016-09-19 12:06:10 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2016-09-21 11:40:04 +00:00)
Target Version: 2.6.0
Last Update: 2016-11-18 14:23:50 +00:00 (in Redmine)
Since update on 2.5.x passing arguments to the NSClient do not work like expected. You have to add "-a" to every argument.
vars.nscp_services.nscp_service_arguments = [
"-a", "exclude=sppsvc", "-a", "exclude=ShellHWDetection" ]
apply Service "Services" {
Import "generic-service"
check_command = "nscp-local-service"
vars += host.vars.sevices
}
Attachments
Changesets
2016-09-21 08:23:20 +00:00 by Marax 483b8a5
2016-09-21 08:23:44 +00:00 by mfriedrich df8a408
The text was updated successfully, but these errors were encountered: