NRDPClient
NRDP client can be used both from command line and from queries to check remote systes via NRDP
Queries
A quick reference for all available queries (check commands) in the NRDPClient module.
List of commands:
A list of all available queries (check commands)
Command | Description |
---|---|
submit_nrdp | Submit information to the remote NRDP Server. |
submit_nrdp
Submit information to the remote NRDP Server.
Command-line Arguments
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 | |
key | The security token | |
password | The security token | |
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) | |
token | The security token |
Configuration
Path / Section | Description |
---|---|
/settings/NRDP/client | SMTP CLIENT SECTION |
/settings/NRDP/client/handlers | CLIENT HANDLER SECTION |
/settings/NRDP/client/targets | REMOTE TARGET DEFINITIONS |
SMTP CLIENT SECTION
Section for SMTP passive check module.
Key | Default Value | Description |
---|---|---|
channel | NRDP | CHANNEL |
hostname | auto | HOSTNAME |
# Section for SMTP passive check module.
[/settings/NRDP/client]
channel=NRDP
hostname=auto
CHANNEL
The channel to listen to.
Key | Description |
---|---|
Path: | /settings/NRDP/client |
Key: | channel |
Default value: | NRDP |
Used by: | NRDPClient |
Sample:
[/settings/NRDP/client]
# CHANNEL
channel=NRDP
HOSTNAME
The host name of the monitored computer. Set this to auto (default) to use the windows name of the computer.
auto Hostname ${host} Hostname ${host_lc} Hostname in lowercase ${host_uc} Hostname in uppercase ${domain} Domainname ${domain_lc} Domainname in lowercase ${domain_uc} Domainname in uppercase
Key | Description |
---|---|
Path: | /settings/NRDP/client |
Key: | hostname |
Default value: | auto |
Used by: | NRDPClient |
Sample:
[/settings/NRDP/client]
# HOSTNAME
hostname=auto
CLIENT HANDLER SECTION
This is a section of objects. This means that you will create objects below this point by adding sections which all look the same.
REMOTE TARGET DEFINITIONS
This is a section of objects. This means that you will create objects below this point by adding sections which all look the same.
Keys:
Key | Default Value | Description |
---|---|---|
address | TARGET ADDRESS | |
host | TARGET HOST | |
key | SECURITY TOKEN | |
password | SECURITY TOKEN | |
port | TARGET PORT | |
retries | 3 | RETRIES |
timeout | 30 | TIMEOUT |
token | SECURITY TOKEN |
Sample:
# An example of a REMOTE TARGET DEFINITIONS section
[/settings/NRDP/client/targets/sample]
#address=...
#host=...
#key=...
#password=...
#port=...
retries=3
timeout=30
#token=...