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

NSCPClient — NSCPClient

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

Queries (Overview):

A list of all avalible queries (check commands)

Command Description
nscp_exec Execute remote script via NSCP.
nscp_query Request remote information via NSCP.
nscp_submit Submit information to remote host via NSCP.

Commands (executable): TODO: Add command list

Configuration (Overview):

A list of all configuration options

Path / Section Key Default value Description
/settings/nscp/client channel NSCP CHANNEL
/settings/nscp/client/handlers     CLIENT HANDLER SECTION
/settings/nscp/client/targets     REMOTE TARGET DEFINITIONS
/settings/nscp/client/targets/default verify mode none VERIFY MODE
/settings/nscp/client/targets/default certificate   SSL CERTIFICATE
/settings/nscp/client/targets/default allowed ciphers ADH ALLOWED CIPHERS
/settings/nscp/client/targets/default timeout 30 TIMEOUT
/settings/nscp/client/targets/default address   TARGET ADDRESS
/settings/nscp/client/targets/default use ssl 1 ENABLE SSL ENCRYPTION

Advanced keys:

Path / Section Key Default value Description
/settings/nscp/client/targets/default parent default PARENT
/settings/nscp/client/targets/default certificate format PEM CERTIFICATE FORMAT
/settings/nscp/client/targets/default dh ${certificate-path}/nrpe_dh_512.pem DH KEY
/settings/nscp/client/targets/default ca   CA
/settings/nscp/client/targets/default certificate key   SSL CERTIFICATE
/settings/nscp/client/targets/default port 0 TARGET PORT
/settings/nscp/client/targets/default alias   ALIAS
/settings/nscp/client/targets/default host   TARGET HOST
/settings/nscp/client/targets/default is template 0 IS TEMPLATE

Sample keys:

Path / Section Key Default value Description
/settings/nscp/client/targets/sample parent default PARENT
/settings/nscp/client/targets/sample verify mode none VERIFY MODE
/settings/nscp/client/targets/sample certificate format PEM CERTIFICATE FORMAT
/settings/nscp/client/targets/sample dh ${certificate-path}/nrpe_dh_512.pem DH KEY
/settings/nscp/client/targets/sample certificate   SSL CERTIFICATE
/settings/nscp/client/targets/sample ca   CA
/settings/nscp/client/targets/sample certificate key   SSL CERTIFICATE
/settings/nscp/client/targets/sample port 0 TARGET PORT
/settings/nscp/client/targets/sample alias   ALIAS
/settings/nscp/client/targets/sample host   TARGET HOST
/settings/nscp/client/targets/sample allowed ciphers ADH ALLOWED CIPHERS
/settings/nscp/client/targets/sample timeout 30 TIMEOUT
/settings/nscp/client/targets/sample address   TARGET ADDRESS
/settings/nscp/client/targets/sample use ssl 1 ENABLE SSL ENCRYPTION
/settings/nscp/client/targets/sample is template 0 IS TEMPLATE

Queries

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

nscp_submit

NSCPClientnscp_submit
Submit information to remote host via NSCP.

Usage:

Option Default value Description
help N/A Show help screen (this screen)
help-csv N/A Show help screen as a comma separated list.
help-short N/A Show help screen (short format).
host N/A The host of the host running the server
port N/A The port of the host running the server
address N/A The address (host:port) of the host running the server
timeout N/A Number of seconds before connection times out (default=10)
target N/A Target to use (lookup connection info from config)
retry N/A Number of times ti retry a failed connection attempt (default=2)
command N/A The name of the command that the remote daemon should run
alias N/A Same as command
message N/A Message
result N/A Result code either a number or OK, WARN, CRIT, UNKNOWN
no-ssl N/A Do not initial an ssl handshake with the server, talk in plaintext.
certificate N/A Length of payload (has to be same as on the server)
dh N/A Length of payload (has to be same as on the server)
certificate-key N/A Client certificate to use
certificate-format N/A Client certificate format
ca N/A Certificate authority
verify N/A Client certificate format
allowed-ciphers N/A Client certificate format
ssl N/A Initial an ssl handshake with the server.
timeout N/A  

Arguments

help (NSCPClient, nscp_submit)
Show help screen (this screen)
help-csv (NSCPClient, nscp_submit)
Show help screen as a comma separated list.
This is useful for parsing the output in scripts and generate documentation etc
help-short (NSCPClient, nscp_submit)
Show help screen (short format).
host (NSCPClient, nscp_submit)
The host of the host running the server
port (NSCPClient, nscp_submit)
The port of the host running the server
address (NSCPClient, nscp_submit)
The address (host:port) of the host running the server
timeout (NSCPClient, nscp_submit)
Number of seconds before connection times out (default=10)
target (NSCPClient, nscp_submit)
Target to use (lookup connection info from config)
retry (NSCPClient, nscp_submit)
Number of times ti retry a failed connection attempt (default=2)
command (NSCPClient, nscp_submit)
The name of the command that the remote daemon should run
alias (NSCPClient, nscp_submit)
Same as command
message (NSCPClient, nscp_submit)
Message
result (NSCPClient, nscp_submit)
Result code either a number or OK, WARN, CRIT, UNKNOWN
no-ssl (NSCPClient, nscp_submit)
Do not initial an ssl handshake with the server, talk in plaintext.
certificate (NSCPClient, nscp_submit)
Length of payload (has to be same as on the server)
dh (NSCPClient, nscp_submit)
Length of payload (has to be same as on the server)
certificate-key (NSCPClient, nscp_submit)
Client certificate to use
certificate-format (NSCPClient, nscp_submit)
Client certificate format
ca (NSCPClient, nscp_submit)
Certificate authority
verify (NSCPClient, nscp_submit)
Client certificate format
allowed-ciphers (NSCPClient, nscp_submit)
Client certificate format
ssl (NSCPClient, nscp_submit)
Initial an ssl handshake with the server.
timeout (NSCPClient, nscp_submit)

nscp_query

NSCPClientnscp_query
Request remote information via NSCP.

Usage:

Option Default value Description
help N/A Show help screen (this screen)
help-csv N/A Show help screen as a comma separated list.
help-short N/A Show help screen (short format).
host N/A The host of the host running the server
port N/A The port of the host running the server
address N/A The address (host:port) of the host running the server
timeout N/A Number of seconds before connection times out (default=10)
target N/A Target to use (lookup connection info from config)
retry N/A Number of times ti retry a failed connection attempt (default=2)
command N/A The name of the query that the remote daemon should run
arguments N/A list of arguments
query-command N/A The name of the query that the remote daemon should run
query-arguments N/A list of arguments
no-ssl N/A Do not initial an ssl handshake with the server, talk in plaintext.
certificate N/A Length of payload (has to be same as on the server)
dh N/A Length of payload (has to be same as on the server)
certificate-key N/A Client certificate to use
certificate-format N/A Client certificate format
ca N/A Certificate authority
verify N/A Client certificate format
allowed-ciphers N/A Client certificate format
ssl N/A Initial an ssl handshake with the server.
timeout N/A  

Arguments

help (NSCPClient, nscp_query)
Show help screen (this screen)
help-csv (NSCPClient, nscp_query)
Show help screen as a comma separated list.
This is useful for parsing the output in scripts and generate documentation etc
help-short (NSCPClient, nscp_query)
Show help screen (short format).
host (NSCPClient, nscp_query)
The host of the host running the server
port (NSCPClient, nscp_query)
The port of the host running the server
address (NSCPClient, nscp_query)
The address (host:port) of the host running the server
timeout (NSCPClient, nscp_query)
Number of seconds before connection times out (default=10)
target (NSCPClient, nscp_query)
Target to use (lookup connection info from config)
retry (NSCPClient, nscp_query)
Number of times ti retry a failed connection attempt (default=2)
command (NSCPClient, nscp_query)
The name of the query that the remote daemon should run
arguments (NSCPClient, nscp_query)
list of arguments
query-command (NSCPClient, nscp_query)
The name of the query that the remote daemon should run
query-arguments (NSCPClient, nscp_query)
list of arguments
no-ssl (NSCPClient, nscp_query)
Do not initial an ssl handshake with the server, talk in plaintext.
certificate (NSCPClient, nscp_query)
Length of payload (has to be same as on the server)
dh (NSCPClient, nscp_query)
Length of payload (has to be same as on the server)
certificate-key (NSCPClient, nscp_query)
Client certificate to use
certificate-format (NSCPClient, nscp_query)
Client certificate format
ca (NSCPClient, nscp_query)
Certificate authority
verify (NSCPClient, nscp_query)
Client certificate format
allowed-ciphers (NSCPClient, nscp_query)
Client certificate format
ssl (NSCPClient, nscp_query)
Initial an ssl handshake with the server.
timeout (NSCPClient, nscp_query)

nscp_exec

NSCPClientnscp_exec
Execute remote script via NSCP.

Usage:

Option Default value Description
help N/A Show help screen (this screen)
help-csv N/A Show help screen as a comma separated list.
help-short N/A Show help screen (short format).
host N/A The host of the host running the server
port N/A The port of the host running the server
address N/A The address (host:port) of the host running the server
timeout N/A Number of seconds before connection times out (default=10)
target N/A Target to use (lookup connection info from config)
retry N/A Number of times ti retry a failed connection attempt (default=2)
command N/A The name of the command that the remote daemon should run
arguments N/A list of arguments
no-ssl N/A Do not initial an ssl handshake with the server, talk in plaintext.
certificate N/A Length of payload (has to be same as on the server)
dh N/A Length of payload (has to be same as on the server)
certificate-key N/A Client certificate to use
certificate-format N/A Client certificate format
ca N/A Certificate authority
verify N/A Client certificate format
allowed-ciphers N/A Client certificate format
ssl N/A Initial an ssl handshake with the server.
timeout N/A  

Arguments

help (NSCPClient, nscp_exec)
Show help screen (this screen)
help-csv (NSCPClient, nscp_exec)
Show help screen as a comma separated list.
This is useful for parsing the output in scripts and generate documentation etc
help-short (NSCPClient, nscp_exec)
Show help screen (short format).
host (NSCPClient, nscp_exec)
The host of the host running the server
port (NSCPClient, nscp_exec)
The port of the host running the server
address (NSCPClient, nscp_exec)
The address (host:port) of the host running the server
timeout (NSCPClient, nscp_exec)
Number of seconds before connection times out (default=10)
target (NSCPClient, nscp_exec)
Target to use (lookup connection info from config)
retry (NSCPClient, nscp_exec)
Number of times ti retry a failed connection attempt (default=2)
command (NSCPClient, nscp_exec)
The name of the command that the remote daemon should run
arguments (NSCPClient, nscp_exec)
list of arguments
no-ssl (NSCPClient, nscp_exec)
Do not initial an ssl handshake with the server, talk in plaintext.
certificate (NSCPClient, nscp_exec)
Length of payload (has to be same as on the server)
dh (NSCPClient, nscp_exec)
Length of payload (has to be same as on the server)
certificate-key (NSCPClient, nscp_exec)
Client certificate to use
certificate-format (NSCPClient, nscp_exec)
Client certificate format
ca (NSCPClient, nscp_exec)
Certificate authority
verify (NSCPClient, nscp_exec)
Client certificate format
allowed-ciphers (NSCPClient, nscp_exec)
Client certificate format
ssl (NSCPClient, nscp_exec)
Initial an ssl handshake with the server.
timeout (NSCPClient, nscp_exec)

Configuration

A quick reference for all avalible configuration options in the NSCPClient module.

... / client / targets

/settings/nscp/client/targets (NSCPClient)

Sample:

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

... / client / targets / default

/settings/nscp/client/targets/default (NSCPClient)
Key Default Value Description
address   TARGET ADDRESS
allowed ciphers ADH ALLOWED CIPHERS
certificate   SSL CERTIFICATE
timeout 30 TIMEOUT
use ssl 1 ENABLE SSL ENCRYPTION
verify mode none VERIFY MODE
alias   ALIAS
ca   CA
certificate format PEM CERTIFICATE FORMAT
certificate key   SSL CERTIFICATE
dh ${certificate-path}/nrpe_dh_512.pem DH KEY
host   TARGET HOST
is template 0 IS TEMPLATE
parent default PARENT
port 0 TARGET PORT

Sample:

# TARGET DEFENITION
# Target definition for: default
[/settings/nscp/client/targets/default]
# PARENT
# The parent the target inherits from
parent=default
# VERIFY MODE
#
verify mode=none
# CERTIFICATE FORMAT
#
certificate format=PEM
# DH KEY
#
dh=${certificate-path}/nrpe_dh_512.pem
# SSL CERTIFICATE
#
certificate=
# CA
#
ca=
# SSL CERTIFICATE
#
certificate key=
# TARGET PORT
# The target server port
port=0
# ALIAS
# The alias (service name) to report to server
alias=
# TARGET HOST
# The target server to report results to.
host=
# ALLOWED CIPHERS
# A better value is: ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH
allowed ciphers=ADH
# TIMEOUT
# Timeout when reading/writing packets to/from sockets.
timeout=30
# TARGET ADDRESS
# Target host address
address=
# ENABLE SSL ENCRYPTION
# This option controls if SSL should be enabled.
use ssl=1
# IS TEMPLATE
# Declare this object as a template (this means it will not be available as a separate object)
is template=0
parent (NSCPClient, /settings/nscp/client/targets/default)

PARENT

The parent the target inherits from

Advanced (means it is not commonly used)

Path: /settings/nscp/client/targets/default

Key: parent

Default value: default

Used by: NSCPClient

Sample:

# PARENT
# The parent the target inherits from
[/settings/nscp/client/targets/default]
parent=default
verify mode (NSCPClient, /settings/nscp/client/targets/default)

VERIFY MODE


Path: /settings/nscp/client/targets/default

Key: verify mode

Default value: none

Used by: NSCPClient

Sample:

# VERIFY MODE
#
[/settings/nscp/client/targets/default]
verify mode=none
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: PEM

Used by: NSCPClient

Sample:

# CERTIFICATE FORMAT
#
[/settings/nscp/client/targets/default]
certificate format=PEM
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: ${certificate-path}/nrpe_dh_512.pem

Used by: NSCPClient

Sample:

# DH KEY
#
[/settings/nscp/client/targets/default]
dh=${certificate-path}/nrpe_dh_512.pem
certificate (NSCPClient, /settings/nscp/client/targets/default)

SSL CERTIFICATE


Path: /settings/nscp/client/targets/default

Key: certificate

Default value:

Used by: NSCPClient

Sample:

# SSL CERTIFICATE
#
[/settings/nscp/client/targets/default]
certificate=
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:

# CA
#
[/settings/nscp/client/targets/default]
ca=
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:

# SSL CERTIFICATE
#
[/settings/nscp/client/targets/default]
certificate key=
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: 0

Used by: NSCPClient

Sample:

# TARGET PORT
# The target server port
[/settings/nscp/client/targets/default]
port=0
alias (NSCPClient, /settings/nscp/client/targets/default)

ALIAS

The alias (service name) to report to server

Advanced (means it is not commonly used)

Path: /settings/nscp/client/targets/default

Key: alias

Default value:

Used by: NSCPClient

Sample:

# ALIAS
# The alias (service name) to report to server
[/settings/nscp/client/targets/default]
alias=
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:

# TARGET HOST
# The target server to report results to.
[/settings/nscp/client/targets/default]
host=
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: ADH

Used by: NSCPClient

Sample:

# ALLOWED CIPHERS
# A better value is: ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH
[/settings/nscp/client/targets/default]
allowed ciphers=ADH
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:

# TIMEOUT
# Timeout when reading/writing packets to/from sockets.
[/settings/nscp/client/targets/default]
timeout=30
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:

# TARGET ADDRESS
# Target host address
[/settings/nscp/client/targets/default]
address=
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: 1

Used by: NSCPClient

Sample:

# ENABLE SSL ENCRYPTION
# This option controls if SSL should be enabled.
[/settings/nscp/client/targets/default]
use ssl=1
is template (NSCPClient, /settings/nscp/client/targets/default)

IS TEMPLATE

Declare this object as a template (this means it will not be available as a separate object)

Advanced (means it is not commonly used)

Path: /settings/nscp/client/targets/default

Key: is template

Default value: 0

Used by: NSCPClient

Sample:

# IS TEMPLATE
# Declare this object as a template (this means it will not be available as a separate object)
[/settings/nscp/client/targets/default]
is template=0

... / client

/settings/nscp/client (NSCPClient)
Key Default Value Description
channel NSCP CHANNEL

Sample:

# NSCP CLIENT SECTION
# Section for NSCP active/passive check module.
[/settings/nscp/client]
# CHANNEL
# The channel to listen to.
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:

# CHANNEL
# The channel to listen to.
[/settings/nscp/client]
channel=NSCP

... / client / handlers

/settings/nscp/client/handlers (NSCPClient)

Sample:

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

... / client / targets / sample

/settings/nscp/client/targets/sample (NSCPClient)
Key Default Value Description
address   TARGET ADDRESS
alias   ALIAS
allowed ciphers ADH ALLOWED CIPHERS
ca   CA
certificate   SSL CERTIFICATE
certificate format PEM CERTIFICATE FORMAT
certificate key   SSL CERTIFICATE
dh ${certificate-path}/nrpe_dh_512.pem DH KEY
host   TARGET HOST
is template 0 IS TEMPLATE
parent default PARENT
port 0 TARGET PORT
timeout 30 TIMEOUT
use ssl 1 ENABLE SSL ENCRYPTION
verify mode none VERIFY MODE

Sample:

# TARGET DEFENITION
# Target definition for: sample
[/settings/nscp/client/targets/sample]
# PARENT
# The parent the target inherits from
parent=default
# VERIFY MODE
#
verify mode=none
# CERTIFICATE FORMAT
#
certificate format=PEM
# DH KEY
#
dh=${certificate-path}/nrpe_dh_512.pem
# SSL CERTIFICATE
#
certificate=
# CA
#
ca=
# SSL CERTIFICATE
#
certificate key=
# TARGET PORT
# The target server port
port=0
# ALIAS
# The alias (service name) to report to server
alias=
# TARGET HOST
# The target server to report results to.
host=
# ALLOWED CIPHERS
# A better value is: ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH
allowed ciphers=ADH
# TIMEOUT
# Timeout when reading/writing packets to/from sockets.
timeout=30
# TARGET ADDRESS
# Target host address
address=
# ENABLE SSL ENCRYPTION
# This option controls if SSL should be enabled.
use ssl=1
# IS TEMPLATE
# Declare this object as a template (this means it will not be available as a separate object)
is template=0
parent (NSCPClient, /settings/nscp/client/targets/sample)

PARENT

The parent the target inherits from

Advanced (means it is not commonly used)

Path: /settings/nscp/client/targets/sample

Key: parent

Default value: default

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

Used by: NSCPClient

Sample:

# PARENT
# The parent the target inherits from
[/settings/nscp/client/targets/sample]
parent=default
verify mode (NSCPClient, /settings/nscp/client/targets/sample)

VERIFY MODE


Path: /settings/nscp/client/targets/sample

Key: verify mode

Default value: none

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

Used by: NSCPClient

Sample:

# VERIFY MODE
#
[/settings/nscp/client/targets/sample]
verify mode=none
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: PEM

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

Used by: NSCPClient

Sample:

# CERTIFICATE FORMAT
#
[/settings/nscp/client/targets/sample]
certificate format=PEM
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: ${certificate-path}/nrpe_dh_512.pem

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

Used by: NSCPClient

Sample:

# DH KEY
#
[/settings/nscp/client/targets/sample]
dh=${certificate-path}/nrpe_dh_512.pem
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:

# SSL CERTIFICATE
#
[/settings/nscp/client/targets/sample]
certificate=
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:

# CA
#
[/settings/nscp/client/targets/sample]
ca=
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:

# SSL CERTIFICATE
#
[/settings/nscp/client/targets/sample]
certificate key=
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: 0

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

Used by: NSCPClient

Sample:

# TARGET PORT
# The target server port
[/settings/nscp/client/targets/sample]
port=0
alias (NSCPClient, /settings/nscp/client/targets/sample)

ALIAS

The alias (service name) to report to server

Advanced (means it is not commonly used)

Path: /settings/nscp/client/targets/sample

Key: alias

Default value:

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

Used by: NSCPClient

Sample:

# ALIAS
# The alias (service name) to report to server
[/settings/nscp/client/targets/sample]
alias=
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:

# TARGET HOST
# The target server to report results to.
[/settings/nscp/client/targets/sample]
host=
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: ADH

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

Used by: NSCPClient

Sample:

# ALLOWED CIPHERS
# A better value is: ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH
[/settings/nscp/client/targets/sample]
allowed ciphers=ADH
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:

# TIMEOUT
# Timeout when reading/writing packets to/from sockets.
[/settings/nscp/client/targets/sample]
timeout=30
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:

# TARGET ADDRESS
# Target host address
[/settings/nscp/client/targets/sample]
address=
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: 1

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

Used by: NSCPClient

Sample:

# ENABLE SSL ENCRYPTION
# This option controls if SSL should be enabled.
[/settings/nscp/client/targets/sample]
use ssl=1
is template (NSCPClient, /settings/nscp/client/targets/sample)

IS TEMPLATE

Declare this object as a template (this means it will not be available as a separate object)

Advanced (means it is not commonly used)

Path: /settings/nscp/client/targets/sample

Key: is template

Default value: 0

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

Used by: NSCPClient

Sample:

# IS TEMPLATE
# Declare this object as a template (this means it will not be available as a separate object)
[/settings/nscp/client/targets/sample]
is template=0
comments powered by Disqus