NSCPClient
NSCP client can be used both from command line and from queries to check remote systes via NSCP (REST)

NSCPClient — NSCPClient

NSCP client can be used both from command line and from queries to check remote systes via NSCP (REST)

Queries (Overview):

A list of all available queries (check commands)

Command Description
check_remote_nscp Request remote information via NSCP.
exec_remote_nscp Execute remote script via NSCP.
remote_nscp_query Request remote information via NSCP.
remote_nscpforward Forward the request as-is to remote host via NSCP.
submit_remote_nscp Submit information to remote host via NSCP.

Commands (Overview):

TODO: Add a list of all external commands (this is not check commands)

Configuration (Overview):

Common Keys:

Path / Section Key Description
/settings/NSCP/client channel CHANNEL
/settings/NSCP/client/targets/default address TARGET ADDRESS
/settings/NSCP/client/targets/default allowed ciphers ALLOWED CIPHERS
/settings/NSCP/client/targets/default certificate SSL CERTIFICATE
/settings/NSCP/client/targets/default password PASSWORD
/settings/NSCP/client/targets/default retries RETRIES
/settings/NSCP/client/targets/default timeout TIMEOUT
/settings/NSCP/client/targets/default use ssl ENABLE SSL ENCRYPTION
/settings/NSCP/client/targets/default verify mode VERIFY MODE

Advanced keys:

Path / Section Key Default Value Description
/settings/NSCP/client/targets/default ca CA  
/settings/NSCP/client/targets/default certificate format CERTIFICATE FORMAT  
/settings/NSCP/client/targets/default certificate key SSL CERTIFICATE  
/settings/NSCP/client/targets/default dh DH KEY  
/settings/NSCP/client/targets/default host TARGET HOST  
/settings/NSCP/client/targets/default port TARGET PORT  

Sample keys:

Path / Section Key Default Value Description
/settings/NSCP/client/targets/sample address TARGET ADDRESS  
/settings/NSCP/client/targets/sample allowed ciphers ALLOWED CIPHERS  
/settings/NSCP/client/targets/sample ca CA  
/settings/NSCP/client/targets/sample certificate SSL CERTIFICATE  
/settings/NSCP/client/targets/sample certificate format CERTIFICATE FORMAT  
/settings/NSCP/client/targets/sample certificate key SSL CERTIFICATE  
/settings/NSCP/client/targets/sample dh DH KEY  
/settings/NSCP/client/targets/sample host TARGET HOST  
/settings/NSCP/client/targets/sample password PASSWORD  
/settings/NSCP/client/targets/sample port TARGET PORT  
/settings/NSCP/client/targets/sample retries RETRIES  
/settings/NSCP/client/targets/sample timeout TIMEOUT  
/settings/NSCP/client/targets/sample use ssl ENABLE SSL ENCRYPTION  
/settings/NSCP/client/targets/sample verify mode VERIFY MODE  

Queries

A quick reference for all available queries (check commands) in the NSCPClient module.

check_remote_nscp

NSCPClientcheck_remote_nscp
Request remote information via NSCP.

Usage:

Option Default Value Description    
help N/A Show help screen (this screen)    
help-pb N/A Show help screen as a protocol buffer payload    
show-default N/A Show default values for a given command    
help-short N/A Show help screen (short format).    
host   The host of the host running the server    
port   The port of the host running the server    
address   The address (host:port) of the host running the server    
timeout   Number of seconds before connection times out (default=10)    
target   Target to use (lookup connection info from config)    
retry   Number of times ti retry a failed connection attempt (default=2)    
retries   legacy version of retry    
source-host   Source/sender host name (default is auto which means use the name of the actual host)    
sender-host   Source/sender host name (default is auto which means use the name of the actual host)    
command   The name of the command that the remote daemon should run    
argument   Set command line arguments    
separator   Separator to use for the batch command (default is )  
batch   Add multiple records using the separator format is: command argument argument
certificate   Length of payload (has to be same as on the server)    
dh   Length of payload (has to be same as on the server)    
certificate-key   Client certificate to use    
certificate-format   Client certificate format    
ca   Certificate authority    
verify   Client certificate format    
allowed-ciphers   Client certificate format    
ssl 1 Initial an ssl handshake with the server.    
password   Password    

Arguments

help (NSCPClient, check_remote_nscp)
Show help screen (this screen)
help-pb (NSCPClient, check_remote_nscp)
Show help screen as a protocol buffer payload
show-default (NSCPClient, check_remote_nscp)
Show default values for a given command
help-short (NSCPClient, check_remote_nscp)
Show help screen (short format).
host (NSCPClient, check_remote_nscp)
The host of the host running the server
port (NSCPClient, check_remote_nscp)
The port of the host running the server
address (NSCPClient, check_remote_nscp)
The address (host:port) of the host running the server
timeout (NSCPClient, check_remote_nscp)
Number of seconds before connection times out (default=10)
target (NSCPClient, check_remote_nscp)
Target to use (lookup connection info from config)
retry (NSCPClient, check_remote_nscp)
Number of times ti retry a failed connection attempt (default=2)
retries (NSCPClient, check_remote_nscp)
legacy version of retry
source-host (NSCPClient, check_remote_nscp)
Source/sender host name (default is auto which means use the name of the actual host)
sender-host (NSCPClient, check_remote_nscp)
Source/sender host name (default is auto which means use the name of the actual host)
command (NSCPClient, check_remote_nscp)
The name of the command that the remote daemon should run
argument (NSCPClient, check_remote_nscp)
Set command line arguments
separator (NSCPClient, check_remote_nscp)
Separator to use for the batch command (default is |)
batch (NSCPClient, check_remote_nscp)
Add multiple records using the separator format is: command|argument|argument
certificate (NSCPClient, check_remote_nscp)
Length of payload (has to be same as on the server)
dh (NSCPClient, check_remote_nscp)
Length of payload (has to be same as on the server)
certificate-key (NSCPClient, check_remote_nscp)
Client certificate to use
certificate-format (NSCPClient, check_remote_nscp)
Client certificate format
ca (NSCPClient, check_remote_nscp)
Certificate authority
verify (NSCPClient, check_remote_nscp)
Client certificate format
allowed-ciphers (NSCPClient, check_remote_nscp)
Client certificate format
ssl (NSCPClient, check_remote_nscp)
Initial an ssl handshake with the server.
password (NSCPClient, check_remote_nscp)
Password

exec_remote_nscp

NSCPClientexec_remote_nscp
Execute remote script via NSCP.

Usage:

Option Default Value Description    
help N/A Show help screen (this screen)    
help-pb N/A Show help screen as a protocol buffer payload    
show-default N/A Show default values for a given command    
help-short N/A Show help screen (short format).    
host   The host of the host running the server    
port   The port of the host running the server    
address   The address (host:port) of the host running the server    
timeout   Number of seconds before connection times out (default=10)    
target   Target to use (lookup connection info from config)    
retry   Number of times ti retry a failed connection attempt (default=2)    
retries   legacy version of retry    
source-host   Source/sender host name (default is auto which means use the name of the actual host)    
sender-host   Source/sender host name (default is auto which means use the name of the actual host)    
command   The name of the command that the remote daemon should run    
argument   Set command line arguments    
separator   Separator to use for the batch command (default is )  
batch   Add multiple records using the separator format is: command argument argument
certificate   Length of payload (has to be same as on the server)    
dh   Length of payload (has to be same as on the server)    
certificate-key   Client certificate to use    
certificate-format   Client certificate format    
ca   Certificate authority    
verify   Client certificate format    
allowed-ciphers   Client certificate format    
ssl 1 Initial an ssl handshake with the server.    
password   Password    

Arguments

help (NSCPClient, exec_remote_nscp)
Show help screen (this screen)
help-pb (NSCPClient, exec_remote_nscp)
Show help screen as a protocol buffer payload
show-default (NSCPClient, exec_remote_nscp)
Show default values for a given command
help-short (NSCPClient, exec_remote_nscp)
Show help screen (short format).
host (NSCPClient, exec_remote_nscp)
The host of the host running the server
port (NSCPClient, exec_remote_nscp)
The port of the host running the server
address (NSCPClient, exec_remote_nscp)
The address (host:port) of the host running the server
timeout (NSCPClient, exec_remote_nscp)
Number of seconds before connection times out (default=10)
target (NSCPClient, exec_remote_nscp)
Target to use (lookup connection info from config)
retry (NSCPClient, exec_remote_nscp)
Number of times ti retry a failed connection attempt (default=2)
retries (NSCPClient, exec_remote_nscp)
legacy version of retry
source-host (NSCPClient, exec_remote_nscp)
Source/sender host name (default is auto which means use the name of the actual host)
sender-host (NSCPClient, exec_remote_nscp)
Source/sender host name (default is auto which means use the name of the actual host)
command (NSCPClient, exec_remote_nscp)
The name of the command that the remote daemon should run
argument (NSCPClient, exec_remote_nscp)
Set command line arguments
separator (NSCPClient, exec_remote_nscp)
Separator to use for the batch command (default is |)
batch (NSCPClient, exec_remote_nscp)
Add multiple records using the separator format is: command|argument|argument
certificate (NSCPClient, exec_remote_nscp)
Length of payload (has to be same as on the server)
dh (NSCPClient, exec_remote_nscp)
Length of payload (has to be same as on the server)
certificate-key (NSCPClient, exec_remote_nscp)
Client certificate to use
certificate-format (NSCPClient, exec_remote_nscp)
Client certificate format
ca (NSCPClient, exec_remote_nscp)
Certificate authority
verify (NSCPClient, exec_remote_nscp)
Client certificate format
allowed-ciphers (NSCPClient, exec_remote_nscp)
Client certificate format
ssl (NSCPClient, exec_remote_nscp)
Initial an ssl handshake with the server.
password (NSCPClient, exec_remote_nscp)
Password

remote_nscp_query

NSCPClientremote_nscp_query
Request remote information via NSCP.

Usage:

Option Default Value Description    
help N/A Show help screen (this screen)    
help-pb N/A Show help screen as a protocol buffer payload    
show-default N/A Show default values for a given command    
help-short N/A Show help screen (short format).    
host   The host of the host running the server    
port   The port of the host running the server    
address   The address (host:port) of the host running the server    
timeout   Number of seconds before connection times out (default=10)    
target   Target to use (lookup connection info from config)    
retry   Number of times ti retry a failed connection attempt (default=2)    
retries   legacy version of retry    
source-host   Source/sender host name (default is auto which means use the name of the actual host)    
sender-host   Source/sender host name (default is auto which means use the name of the actual host)    
command   The name of the command that the remote daemon should run    
argument   Set command line arguments    
separator   Separator to use for the batch command (default is )  
batch   Add multiple records using the separator format is: command argument argument
certificate   Length of payload (has to be same as on the server)    
dh   Length of payload (has to be same as on the server)    
certificate-key   Client certificate to use    
certificate-format   Client certificate format    
ca   Certificate authority    
verify   Client certificate format    
allowed-ciphers   Client certificate format    
ssl 1 Initial an ssl handshake with the server.    
password   Password    

Arguments

help (NSCPClient, remote_nscp_query)
Show help screen (this screen)
help-pb (NSCPClient, remote_nscp_query)
Show help screen as a protocol buffer payload
show-default (NSCPClient, remote_nscp_query)
Show default values for a given command
help-short (NSCPClient, remote_nscp_query)
Show help screen (short format).
host (NSCPClient, remote_nscp_query)
The host of the host running the server
port (NSCPClient, remote_nscp_query)
The port of the host running the server
address (NSCPClient, remote_nscp_query)
The address (host:port) of the host running the server
timeout (NSCPClient, remote_nscp_query)
Number of seconds before connection times out (default=10)
target (NSCPClient, remote_nscp_query)
Target to use (lookup connection info from config)
retry (NSCPClient, remote_nscp_query)
Number of times ti retry a failed connection attempt (default=2)
retries (NSCPClient, remote_nscp_query)
legacy version of retry
source-host (NSCPClient, remote_nscp_query)
Source/sender host name (default is auto which means use the name of the actual host)
sender-host (NSCPClient, remote_nscp_query)
Source/sender host name (default is auto which means use the name of the actual host)
command (NSCPClient, remote_nscp_query)
The name of the command that the remote daemon should run
argument (NSCPClient, remote_nscp_query)
Set command line arguments
separator (NSCPClient, remote_nscp_query)
Separator to use for the batch command (default is |)
batch (NSCPClient, remote_nscp_query)
Add multiple records using the separator format is: command|argument|argument
certificate (NSCPClient, remote_nscp_query)
Length of payload (has to be same as on the server)
dh (NSCPClient, remote_nscp_query)
Length of payload (has to be same as on the server)
certificate-key (NSCPClient, remote_nscp_query)
Client certificate to use
certificate-format (NSCPClient, remote_nscp_query)
Client certificate format
ca (NSCPClient, remote_nscp_query)
Certificate authority
verify (NSCPClient, remote_nscp_query)
Client certificate format
allowed-ciphers (NSCPClient, remote_nscp_query)
Client certificate format
ssl (NSCPClient, remote_nscp_query)
Initial an ssl handshake with the server.
password (NSCPClient, remote_nscp_query)
Password

remote_nscpforward

NSCPClientremote_nscpforward
Forward the request as-is to remote host via NSCP.

Usage:

Arguments

submit_remote_nscp

NSCPClientsubmit_remote_nscp
Submit information to remote host via NSCP.

Usage:

Option Default Value Description    
help N/A Show help screen (this screen)    
help-pb N/A Show help screen as a protocol buffer payload    
show-default N/A Show default values for a given command    
help-short N/A Show help screen (short format).    
host   The host of the host running the server    
port   The port of the host running the server    
address   The address (host:port) of the host running the server    
timeout   Number of seconds before connection times out (default=10)    
target   Target to use (lookup connection info from config)    
retry   Number of times ti retry a failed connection attempt (default=2)    
retries   legacy version of retry    
source-host   Source/sender host name (default is auto which means use the name of the actual host)    
sender-host   Source/sender host name (default is auto which means use the name of the actual host)    
command   The name of the command that the remote daemon should run    
alias   Same as command    
message   Message    
result   Result code either a number or OK, WARN, CRIT, UNKNOWN    
separator   Separator to use for the batch command (default is )  
batch   Add multiple records using the separator format is: command result message
certificate   Length of payload (has to be same as on the server)    
dh   Length of payload (has to be same as on the server)    
certificate-key   Client certificate to use    
certificate-format   Client certificate format    
ca   Certificate authority    
verify   Client certificate format    
allowed-ciphers   Client certificate format    
ssl 1 Initial an ssl handshake with the server.    
password   Password    

Arguments

help (NSCPClient, submit_remote_nscp)
Show help screen (this screen)
help-pb (NSCPClient, submit_remote_nscp)
Show help screen as a protocol buffer payload
show-default (NSCPClient, submit_remote_nscp)
Show default values for a given command
help-short (NSCPClient, submit_remote_nscp)
Show help screen (short format).
host (NSCPClient, submit_remote_nscp)
The host of the host running the server
port (NSCPClient, submit_remote_nscp)
The port of the host running the server
address (NSCPClient, submit_remote_nscp)
The address (host:port) of the host running the server
timeout (NSCPClient, submit_remote_nscp)
Number of seconds before connection times out (default=10)
target (NSCPClient, submit_remote_nscp)
Target to use (lookup connection info from config)
retry (NSCPClient, submit_remote_nscp)
Number of times ti retry a failed connection attempt (default=2)
retries (NSCPClient, submit_remote_nscp)
legacy version of retry
source-host (NSCPClient, submit_remote_nscp)
Source/sender host name (default is auto which means use the name of the actual host)
sender-host (NSCPClient, submit_remote_nscp)
Source/sender host name (default is auto which means use the name of the actual host)
command (NSCPClient, submit_remote_nscp)
The name of the command that the remote daemon should run
alias (NSCPClient, submit_remote_nscp)
Same as command
message (NSCPClient, submit_remote_nscp)
Message
result (NSCPClient, submit_remote_nscp)
Result code either a number or OK, WARN, CRIT, UNKNOWN
separator (NSCPClient, submit_remote_nscp)
Separator to use for the batch command (default is |)
batch (NSCPClient, submit_remote_nscp)
Add multiple records using the separator format is: command|result|message
certificate (NSCPClient, submit_remote_nscp)
Length of payload (has to be same as on the server)
dh (NSCPClient, submit_remote_nscp)
Length of payload (has to be same as on the server)
certificate-key (NSCPClient, submit_remote_nscp)
Client certificate to use
certificate-format (NSCPClient, submit_remote_nscp)
Client certificate format
ca (NSCPClient, submit_remote_nscp)
Certificate authority
verify (NSCPClient, submit_remote_nscp)
Client certificate format
allowed-ciphers (NSCPClient, submit_remote_nscp)
Client certificate format
ssl (NSCPClient, submit_remote_nscp)
Initial an ssl handshake with the server.
password (NSCPClient, submit_remote_nscp)
Password

/ settings/ NSCP/ client

/settings/NSCP/client (NSCPClient)

NSCP CLIENT SECTION

Section for NSCP active/passive check module.
Key Default Value Description
channel NSCP CHANNEL

Sample:

# NSCP CLIENT SECTION
# Section for NSCP active/passive check module.
[/settings/NSCP/client]
channel=NSCP
channel (NSCPClient, /settings/NSCP/client)

CHANNEL

The channel to listen to.

Path: /settings/NSCP/client

Key: channel

Default value: NSCP

Used by: NSCPClient

Sample:

[/settings/NSCP/client]
# CHANNEL
channel=NSCP

… / handlers

/settings/NSCP/client/handlers (NSCPClient)

CLIENT HANDLER SECTION

Sample:

# CLIENT HANDLER SECTION
#
[/settings/NSCP/client/handlers]

… / targets

/settings/NSCP/client/targets (NSCPClient)

REMOTE TARGET DEFINITIONS

Sample:

# REMOTE TARGET DEFINITIONS
#
[/settings/NSCP/client/targets]

… / targets / default

/settings/NSCP/client/targets/default (NSCPClient)

TARGET

Target definition for: default
Key Default Value Description
address   TARGET ADDRESS
allowed ciphers   ALLOWED CIPHERS
ca   CA
certificate   SSL CERTIFICATE
certificate format   CERTIFICATE FORMAT
certificate key   SSL CERTIFICATE
dh   DH KEY
host   TARGET HOST
password   PASSWORD
port   TARGET PORT
retries 3 RETRIES
timeout 30 TIMEOUT
use ssl 0 ENABLE SSL ENCRYPTION
verify mode   VERIFY MODE

Sample:

# TARGET
# Target definition for: default
[/settings/NSCP/client/targets/default]
address=
allowed ciphers=
ca=
certificate=
certificate format=
certificate key=
dh=
host=
password=
port=
retries=3
timeout=30
use ssl=0
verify mode=
address (NSCPClient, /settings/NSCP/client/targets/default)

TARGET ADDRESS

Target host address

Path: /settings/NSCP/client/targets/default

Key: address

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# TARGET ADDRESS
address=
allowed ciphers (NSCPClient, /settings/NSCP/client/targets/default)

ALLOWED CIPHERS

A better value is: ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH

Path: /settings/NSCP/client/targets/default

Key: allowed ciphers

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# ALLOWED CIPHERS
allowed ciphers=
ca (NSCPClient, /settings/NSCP/client/targets/default)

CA

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/default

Key: ca

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# CA
ca=
certificate (NSCPClient, /settings/NSCP/client/targets/default)

SSL CERTIFICATE

Path: /settings/NSCP/client/targets/default

Key: certificate

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# SSL CERTIFICATE
certificate=
certificate format (NSCPClient, /settings/NSCP/client/targets/default)

CERTIFICATE FORMAT

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/default

Key: certificate format

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# CERTIFICATE FORMAT
certificate format=
certificate key (NSCPClient, /settings/NSCP/client/targets/default)

SSL CERTIFICATE

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/default

Key: certificate key

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# SSL CERTIFICATE
certificate key=
dh (NSCPClient, /settings/NSCP/client/targets/default)

DH KEY

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/default

Key: dh

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# DH KEY
dh=
host (NSCPClient, /settings/NSCP/client/targets/default)

TARGET HOST

The target server to report results to.

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/default

Key: host

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# TARGET HOST
host=
password (NSCPClient, /settings/NSCP/client/targets/default)

PASSWORD

The password to use to authenticate towards the server.

Path: /settings/NSCP/client/targets/default

Key: password

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# PASSWORD
password=
port (NSCPClient, /settings/NSCP/client/targets/default)

TARGET PORT

The target server port

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/default

Key: port

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# TARGET PORT
port=
retries (NSCPClient, /settings/NSCP/client/targets/default)

RETRIES

Number of times to retry sending.

Path: /settings/NSCP/client/targets/default

Key: retries

Default value: 3

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# RETRIES
retries=3
timeout (NSCPClient, /settings/NSCP/client/targets/default)

TIMEOUT

Timeout when reading/writing packets to/from sockets.

Path: /settings/NSCP/client/targets/default

Key: timeout

Default value: 30

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# TIMEOUT
timeout=30
use ssl (NSCPClient, /settings/NSCP/client/targets/default)

ENABLE SSL ENCRYPTION

This option controls if SSL should be enabled.

Path: /settings/NSCP/client/targets/default

Key: use ssl

Default value: 0

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# ENABLE SSL ENCRYPTION
use ssl=0
verify mode (NSCPClient, /settings/NSCP/client/targets/default)

VERIFY MODE

Path: /settings/NSCP/client/targets/default

Key: verify mode

Default value:

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/default]
# VERIFY MODE
verify mode=

… / targets / sample

/settings/NSCP/client/targets/sample (NSCPClient)

TARGET

Target definition for: sample
Key Default Value Description
address   TARGET ADDRESS
allowed ciphers   ALLOWED CIPHERS
ca   CA
certificate   SSL CERTIFICATE
certificate format   CERTIFICATE FORMAT
certificate key   SSL CERTIFICATE
dh   DH KEY
host   TARGET HOST
password   PASSWORD
port   TARGET PORT
retries 3 RETRIES
timeout 30 TIMEOUT
use ssl 0 ENABLE SSL ENCRYPTION
verify mode   VERIFY MODE

Sample:

# TARGET
# Target definition for: sample
[/settings/NSCP/client/targets/sample]
address=
allowed ciphers=
ca=
certificate=
certificate format=
certificate key=
dh=
host=
password=
port=
retries=3
timeout=30
use ssl=0
verify mode=
address (NSCPClient, /settings/NSCP/client/targets/sample)

TARGET ADDRESS

Target host address

Path: /settings/NSCP/client/targets/sample

Key: address

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# TARGET ADDRESS
address=
allowed ciphers (NSCPClient, /settings/NSCP/client/targets/sample)

ALLOWED CIPHERS

A better value is: ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH

Path: /settings/NSCP/client/targets/sample

Key: allowed ciphers

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# ALLOWED CIPHERS
allowed ciphers=
ca (NSCPClient, /settings/NSCP/client/targets/sample)

CA

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/sample

Key: ca

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# CA
ca=
certificate (NSCPClient, /settings/NSCP/client/targets/sample)

SSL CERTIFICATE

Path: /settings/NSCP/client/targets/sample

Key: certificate

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# SSL CERTIFICATE
certificate=
certificate format (NSCPClient, /settings/NSCP/client/targets/sample)

CERTIFICATE FORMAT

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/sample

Key: certificate format

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# CERTIFICATE FORMAT
certificate format=
certificate key (NSCPClient, /settings/NSCP/client/targets/sample)

SSL CERTIFICATE

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/sample

Key: certificate key

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# SSL CERTIFICATE
certificate key=
dh (NSCPClient, /settings/NSCP/client/targets/sample)

DH KEY

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/sample

Key: dh

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# DH KEY
dh=
host (NSCPClient, /settings/NSCP/client/targets/sample)

TARGET HOST

The target server to report results to.

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/sample

Key: host

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# TARGET HOST
host=
password (NSCPClient, /settings/NSCP/client/targets/sample)

PASSWORD

The password to use to authenticate towards the server.

Path: /settings/NSCP/client/targets/sample

Key: password

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# PASSWORD
password=
port (NSCPClient, /settings/NSCP/client/targets/sample)

TARGET PORT

The target server port

Advanced (means it is not commonly used)

Path: /settings/NSCP/client/targets/sample

Key: port

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# TARGET PORT
port=
retries (NSCPClient, /settings/NSCP/client/targets/sample)

RETRIES

Number of times to retry sending.

Path: /settings/NSCP/client/targets/sample

Key: retries

Default value: 3

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# RETRIES
retries=3
timeout (NSCPClient, /settings/NSCP/client/targets/sample)

TIMEOUT

Timeout when reading/writing packets to/from sockets.

Path: /settings/NSCP/client/targets/sample

Key: timeout

Default value: 30

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# TIMEOUT
timeout=30
use ssl (NSCPClient, /settings/NSCP/client/targets/sample)

ENABLE SSL ENCRYPTION

This option controls if SSL should be enabled.

Path: /settings/NSCP/client/targets/sample

Key: use ssl

Default value: 0

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# ENABLE SSL ENCRYPTION
use ssl=0
verify mode (NSCPClient, /settings/NSCP/client/targets/sample)

VERIFY MODE

Path: /settings/NSCP/client/targets/sample

Key: verify mode

Default value:

Sample key: This key is provided as a sample to show how to configure objects

Used by: NSCPClient

Sample:

[/settings/NSCP/client/targets/sample]
# VERIFY MODE
verify mode=
comments powered by Disqus