Netprobe Command-line Options
Overview Copied
Command-line options can either be passed to the Netprobe installer on Windows, or directly to the Netprobe binary.
Installer command-line options Copied
The installer command line options are available only to Windows platforms.
Option | Use |
---|---|
/netport=<listen port> |
Sets the Netprobe listening port. Default: 7036 |
/servicename=<servicename> |
Sets the Netprobe service name. Default: NetprobeNT |
/nopassword |
Allows commands to run on the Netprobe without any prompting for a password. For more information, see Set passwords on Netprobe commands. |
/pass=<password> |
Sets a Netprobe password.
|
/listenip |
Sets a specific IP address where the Netprobe will listen to incoming connections. This argument can be used to force Self-Announcing Netprobe not to listen for incoming connections. For more information, see Disable listening in Manage Self-Announcing Netprobes. |
/listenoverride |
Used in conjunction with /listenip , overrides the previous value of /listenip if it exists. |
/discovery=<full path to file> |
Used in conjunction with If invoked, the Netprobe runs a discovery executable on the machine it is running on. This executable extracts JSON metadata from its environment, and updates the Netprobe setup file with the metadata through the use of macros. If you specify a setup URL with the When present, the discovery executable runs at Netprobe startup, before the Netprobe reads any setup file, and before it connects to any Gateway. For more information, see Auto-discovery in Netprobe Overview. Mandatory: No |
/setup=<full path or URL to file> |
Sets the setup file for a self-announcing or floating Netprobe. By default, the full path is If you use the default setup file, then this will be copied into the installation directory (for example, C:\Program Files (x86)\NetprobeNT). This new path then becomes the value of the -setup argument of the Netprobe imagePath registry. If you specify your own setup file, the file will be used in its respective directory. It will not be copied into the installation directory. If you specify a remote file ( If you specify an invalid file from the Auto-discovery When used with If you specify a setup URL with the
|
/setup-interval=<minutes> |
Used in conjunction with Defines the time interval before the floating or Self-Announcing Netprobe requests another configuration file and restarts the announcement process. If no new or valid file is discovered, then the Netprobe neither reloads the configuration file nor restarts the configuration process. If no Feature behavior By default, this option only works for remote configurations defined through Auto behavior When used with |
/setup-server-verify=<file> |
Used in conjunction with When this option is invoked, the Netprobe verifies the remote server against the specified Certificate Authority (CA) bundle. |
/secure |
Used to enable secure mode during installation. |
/ssl-certificate=<full path to file> |
Used in conjunction with If the default SSL certificate file is not used, then the file specified will be used in situ. It will not be copied into the installation destination. If the default SSL certificate file is used then it will be copied to the installation destination (for example, |
/ssl-certificate-chain=<filename> |
Used in conjunction with If the default SSL certificate chain file is not used, then the file specified will be used in situ. It will not be copied into the installation destination. If the default SSL certificate chain file is used then it will be copied to the installation destination (for example, |
/ssl-certificate-key=<path to key file> |
Used in conjunction with If this option is not specified, but the certificate is, the Netprobe will look for the private key in the same file as the server certificate. |
/dir=<install dir> |
Sets the Netprobe installation path. |
/log=<filename> |
Sets the Netprobe log filename. |
/silent |
Runs the install with no user interaction, but you can see the installation progress. |
/verysilent |
Does the same as /silent but it does not show the installer files being extracted. |
/require-ssl-certificate-for |
This forces the Netprobe to require certain components connecting to the Netprobe port to provide a valid SSL certificate. If no certificate is provided or the certificate cannot be vaildated using the certificate authority provided by the -ssl-certificate-chain option, the connection will be rejected. Currently, this does not require any additional parameter as only the connection type EMF2 is supported. |
/minTLSversion=<version> |
Specifies the minimum TLS version. The accepted values are the following:
|
Set up a self-announcing or floating Netprobe Copied
To set up a Self-Announcing or Floating Netprobe from the installer wizard, check the Install as Self-Announcing or Floating Netprobe checkbox from the Configure Self-Announcing or Floating Netprobe screen. Select a configuration file from that screen.
You can also specify the Self-Announcing or Floating Netprobe configuration file through installer command-line switch. To do this, start a new Administrator command-line window and run geneos-netprobe-<version>.windows-<platform>.setup.exe.windows-x64.setup.exe /setup=<setup_xml_filename >
, where <setup_xml_filename> specifies the full path to the Self-Announcing or Floating Netprobe configuration file:
geneos-netprobe-*<version>*.windows-<platform>.setup.exe
Set up a secure Netprobe Copied
To setup a secure Netprobe from the installer wizard, check the Run probe in Secure Mode checkbox from the Configure Netprobe Secure Connections screen. You can:
- Select a PEM file that contains both the secure key and the secure certificate that the probe will use. This can also be done on the command line by using the
/ssl-certificate
flag; the flag followed by the name of the PEM file to use. - Select distinct files for the SSL server certificate (.pem file) and the signed SSL server private key (.key file) by using the
/ssl-certificate-key=<path_to_key_file>
option.
The certificate chain that is used to verify the certificates presented to the Netprobe can also be set either by using the wizard and setting the file on the Configure Netprobe Secure Chain page, or by using the /ssl-certificate-chain command flag. In both cases, a file containing the certificates with which the presented certificates have been signed must be provided.
If you’re doing a silent mode install using either /silent
or /verysilent
option, then:
- The
/setup= switch
should be used if a the probe is to run as a Self-Announcing or Floating Netprobe. - The
/ssl-certificate= flag
should be used if the Netprobe is to run in a secure mode and only accept secure (TLS) connections from the Gateway. - The
/ssl-certificate-chain= switch
should be used if the Netprobe is to validate the Gateway certificates prior to allowing the Gateway to connect to the probe.
Error
If any of the files specified do not exist, the installer will fail silently and an ‘Install Failed’ line will be logged in the setup log. You can specify the log file with the /log=switch in the installer.
Success
On completion, the Netprobe will have been installed and started running as a service. The relevant registry settings will also have been set up.
Note
If the Windows Win Apps Plug-in is to be run on a Windows 2008 Server, then it is necessary to alter the properties of the service to “Allow service to interact with desktop”. For more information, see Windows Win Apps Plugin.
Binary command-line options Copied
The binary command line options are applicable to all platforms, unless otherwise stated.
Binary command line option | Description |
---|---|
-help |
Displays a list of command line options and exits. |
|
Displays version information and exits. |
port |
Sets the listening port for the Gateway connection. |
-nolog |
Ignores any setting from the LOG_FILENAME variable and logs to the terminal instead. |
-extract <key> <filename> |
Extracts data embedded in the binary, writing it to the <filename> specified.There are two supported values for <key> :
|
-noschema |
If invoked, the Netprobe does not publish the schema to the Gateway. |
-discovery <file path> |
Used in conjunction with If invoked, the Netprobe runs a discovery executable on the machine it is running on. This executable extracts JSON metadata from its environment, and updates the Netprobe setup file with the metadata through the use of macros. If you specify a setup URL with the For more information, see Auto-discovery in Netprobe Overview. Mandatory: No |
|
Used when running the Netprobe in Floating or Self-Announcing mode. Specifies the Netprobe Setup File to use. The Netprobe Setup File can be specified as a local file ( If no If you specify a remote file ( If you specify an invalid file from the Auto-discovery When used with If you specify a setup URL with the For more information, see Auto-discovery in Netprobe Overview.
|
-setup-interval <minutes> |
Used in conjunction with Defines the time interval before the floating or Self-Announcing Netprobe requests another configuration file and restarts the announcement process. If no new or valid file is discovered, then the Netprobe neither reloads the configuration file nor restarts the configuration process. If no Feature behavior By default, this option only works for remote configurations defined through Auto-discovery When used with For more information, see Auto-discovery in Netprobe Overview.
|
-setup-server-verify <file> |
Used in conjunction with When this option is invoked, the Netprobe verifies the remote server on the You can specify a CA bundle on the If no
|
-mdmtest <lua_script> [params] |
Test utility for Market Data Monitor Lua script prior to deployment. Example: |
-listenip |
Sets a specific IP address where the Netprobe will listen to incoming connections. This argument can be used to force Self-Announcing Netprobes not to listen for incoming connections. For more information, see Disable listening in Manage Self-Announcing Netprobes. |
-ssl-certificate |
This is the file that contains the signed SSL server certificate in PEM format. |
-ssl-certificate-key |
This is the file that contains the signed SSL server private key in PEM format. If this is option not specified, but the certificate is, then the Netprobe will look for the private key in the same file as the server certificate. |
-ssl-certificate-chain |
This is the file that contains the trusted certificate authority. |
-require-ssl-certificate-for |
This forces the Netprobe to require certain components connecting to the Netprobe port to provide a valid SSL certificate. If no certificate is provided, or the certificate cannot be vaildated using the certificate authority provided by the This command line option only supports the |
-secure |
If this option is present, the Netprobe will listen on a secure port rather than an insecure port. If |
-nopassword |
Run commands on the Netprobe’s host. For more information, see Set passwords on Netprobe commands |
-mq QM=<qm_name> MQSERVER=<conn_string> CHANTAB=<chan_table> KEYREPO=<ssl_keyrepo> CIPHER=<cipher_spec> |
Test MQ connection.
netprobe-mqQM=qm.testMQSERVER=CHAN/TCP/host |
-minTLSversion <version> |
Specifies the minimum TLS version. The accepted values are:
|
-openssl-cipher <ciphers> |
To set the available TLS ciphers use the For more information, see TLS ciphers in Secure Communications. |
-json2XML <filename> |
Converts JSON document specified by <filename> to XML and displays result to the console. This is applicable to Windows platforms only. |
-jvm-libpath <path> |
Specifies If this option is invoked, the Netprobe does not attempt to locate the library in the Example value: |
-java-home <path> |
Specifies the <path> of the JRE to use. Overrides the JAVA_HOME environment variable. |
-perf |
Show available performance monitor counters. This is applicable to Windows platforms only. |
-cmd |
Run in the foreground, rather than as a service. This is applicable to Windows platforms only. |
-install |
Installs the probe as a service. This is applicable to Windows platforms only. |
-uninstall |
Uninstalls the probe as a service. This is applicable to Windows platforms only. |
-showcpus |
Shows detected CPU information for this machine. This is applicable to Windows platforms only. |
-disable-core-dump |
Disables creation of core dump files. This is applicable to Windows platforms only. |
-ifconfig , -if |
Lists down the NICs present in the Windows machine. This should be used in configuring X-plugins send / recv interfaces. This is applicable to Windows platforms only.
|
-perfdebug |
Dumps performance counter data into a file (i.e., perfout.dat ). This is applicable to Windows platforms only. |
-json2XML <filename> |
Converts JSON document specified by <filename> to XML and displays result to the console. This is applicable to Windows platforms only. |