.. default-domain:: nscp

.. module:: CollectdClient
    :synopsis: CollectD client can be used to submit metrics to a collectd server

===========================================
:module:`CollectdClient` --- CollectdClient
===========================================
CollectD client can be used to submit metrics to a collectd server





**Commands (Overview)**: 

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

**Configuration (Overview)**:


Common Keys:

.. csv-table:: 
    :class: contentstable 
    :delim: | 
    :header: "Path / Section", "Key", "Description"

    :confpath:`/settings/NSCA/client` | :confkey:`~/settings/NSCA/client.channel` | CHANNEL
    :confpath:`/settings/NSCA/client` | :confkey:`~/settings/NSCA/client.hostname` | HOSTNAME
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.address` | TARGET ADDRESS
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.allowed ciphers` | ALLOWED CIPHERS
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.certificate` | SSL CERTIFICATE
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.encryption` | ENCRYPTION
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.password` | PASSWORD
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.retries` | RETRIES
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.timeout` | TIMEOUT
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.use ssl` | ENABLE SSL ENCRYPTION
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.verify mode` | VERIFY MODE

Advanced keys:

.. csv-table:: 
    :class: contentstable 
    :delim: | 
    :header: "Path / Section", "Key", "Default Value", "Description"

    :confpath:`/settings/NSCA/client` | :confkey:`~/settings/NSCA/client.encoding` | NSCA DATA ENCODING
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.ca` | CA
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.certificate format` | CERTIFICATE FORMAT
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.certificate key` | SSL CERTIFICATE
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.dh` | DH KEY
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.encoding` | ENCODING
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.host` | TARGET HOST
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.payload length` | PAYLOAD LENGTH
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.port` | TARGET PORT
    :confpath:`/settings/NSCA/client/targets/default` | :confkey:`~/settings/NSCA/client/targets/default.time offset` | TIME OFFSET

Sample keys:

.. csv-table:: 
    :class: contentstable 
    :delim: | 
    :header: "Path / Section", "Key", "Default Value", "Description"

    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.address` | TARGET ADDRESS
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.allowed ciphers` | ALLOWED CIPHERS
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.ca` | CA
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.certificate` | SSL CERTIFICATE
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.certificate format` | CERTIFICATE FORMAT
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.certificate key` | SSL CERTIFICATE
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.dh` | DH KEY
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.encoding` | ENCODING
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.encryption` | ENCRYPTION
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.host` | TARGET HOST
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.password` | PASSWORD
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.payload length` | PAYLOAD LENGTH
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.port` | TARGET PORT
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.retries` | RETRIES
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.time offset` | TIME OFFSET
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.timeout` | TIMEOUT
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.use ssl` | ENABLE SSL ENCRYPTION
    :confpath:`/settings/NSCA/client/targets/sample/sample` | :confkey:`~/settings/NSCA/client/targets/sample/sample.verify mode` | VERIFY MODE






/ settings/ NSCA/ client
------------------------

.. confpath:: /settings/NSCA/client
    :synopsis: NSCA CLIENT SECTION

**NSCA CLIENT SECTION**

    | Section for NSCA passive check module.


    .. csv-table:: 
        :class: contentstable 
        :delim: | 
        :header: "Key", "Default Value", "Description"
    
        :confkey:`channel` | NSCA | CHANNEL
        :confkey:`encoding` |  | NSCA DATA ENCODING
        :confkey:`hostname` | auto | HOSTNAME

    **Sample**::

        # NSCA CLIENT SECTION
        # Section for NSCA passive check module.
        [/settings/NSCA/client]
        channel=NSCA
        encoding=
        hostname=auto


    .. confkey:: channel
        :synopsis: CHANNEL

        **CHANNEL**

        | The channel to listen to.

        **Path**: /settings/NSCA/client

        **Key**: channel

        **Default value**: NSCA

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

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


    .. confkey:: encoding
        :synopsis: NSCA DATA ENCODING

        **NSCA DATA ENCODING**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client

        **Key**: encoding

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client]
            # NSCA DATA ENCODING
            encoding=


    .. confkey:: hostname
        :synopsis: HOSTNAME

        **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

        **Path**: /settings/NSCA/client

        **Key**: hostname

        **Default value**: auto

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client]
            # HOSTNAME
            hostname=auto




…  / targets
------------

.. confpath:: /settings/NSCA/client/targets
    :synopsis: REMOTE TARGET DEFINITIONS

**REMOTE TARGET DEFINITIONS**






    **Sample**::

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




…  / targets / default
----------------------

.. confpath:: /settings/NSCA/client/targets/default
    :synopsis: TARGET

**TARGET**

    | Target definition for: default


    .. csv-table:: 
        :class: contentstable 
        :delim: | 
        :header: "Key", "Default Value", "Description"
    
        :confkey:`address` |  | TARGET ADDRESS
        :confkey:`allowed ciphers` |  | ALLOWED CIPHERS
        :confkey:`ca` |  | CA
        :confkey:`certificate` |  | SSL CERTIFICATE
        :confkey:`certificate format` |  | CERTIFICATE FORMAT
        :confkey:`certificate key` |  | SSL CERTIFICATE
        :confkey:`dh` |  | DH KEY
        :confkey:`encoding` |  | ENCODING
        :confkey:`encryption` | aes | ENCRYPTION
        :confkey:`host` |  | TARGET HOST
        :confkey:`password` |  | PASSWORD
        :confkey:`payload length` | 512 | PAYLOAD LENGTH
        :confkey:`port` |  | TARGET PORT
        :confkey:`retries` | 3 | RETRIES
        :confkey:`time offset` | 0 | TIME OFFSET
        :confkey:`timeout` | 30 | TIMEOUT
        :confkey:`use ssl` | 0 | ENABLE SSL ENCRYPTION
        :confkey:`verify mode` |  | VERIFY MODE

    **Sample**::

        # TARGET
        # Target definition for: default
        [/settings/NSCA/client/targets/default]
        address=
        allowed ciphers=
        ca=
        certificate=
        certificate format=
        certificate key=
        dh=
        encoding=
        encryption=aes
        host=
        password=
        payload length=512
        port=
        retries=3
        time offset=0
        timeout=30
        use ssl=0
        verify mode=


    .. confkey:: address
        :synopsis: TARGET ADDRESS

        **TARGET ADDRESS**

        | Target host address

        **Path**: /settings/NSCA/client/targets/default

        **Key**: address

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # TARGET ADDRESS
            address=


    .. confkey:: allowed ciphers
        :synopsis: ALLOWED CIPHERS

        **ALLOWED CIPHERS**

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

        **Path**: /settings/NSCA/client/targets/default

        **Key**: allowed ciphers

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # ALLOWED CIPHERS
            allowed ciphers=


    .. confkey:: ca
        :synopsis: CA

        **CA**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/default

        **Key**: ca

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # CA
            ca=


    .. confkey:: certificate
        :synopsis: SSL CERTIFICATE

        **SSL CERTIFICATE**



        **Path**: /settings/NSCA/client/targets/default

        **Key**: certificate

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # SSL CERTIFICATE
            certificate=


    .. confkey:: certificate format
        :synopsis: CERTIFICATE FORMAT

        **CERTIFICATE FORMAT**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/default

        **Key**: certificate format

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # CERTIFICATE FORMAT
            certificate format=


    .. confkey:: certificate key
        :synopsis: SSL CERTIFICATE

        **SSL CERTIFICATE**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/default

        **Key**: certificate key

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # SSL CERTIFICATE
            certificate key=


    .. confkey:: dh
        :synopsis: DH KEY

        **DH KEY**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/default

        **Key**: dh

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # DH KEY
            dh=


    .. confkey:: encoding
        :synopsis: ENCODING

        **ENCODING**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/default

        **Key**: encoding

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # ENCODING
            encoding=


    .. confkey:: encryption
        :synopsis: ENCRYPTION

        **ENCRYPTION**

        | Name of encryption algorithm to use.
        | Has to be the same as your server i using or it wont work at all.This is also independent of SSL and generally used instead of SSL.
        | Available encryption algorithms are:
        | none = No Encryption (not safe)
        | xor = XOR
        | des = DES
        | 3des = DES-EDE3
        | cast128 = CAST-128
        | xtea = XTEA
        | blowfish = Blowfish
        | twofish = Twofish
        | rc2 = RC2
        | aes128 = AES
        | aes192 = AES
        | aes = AES
        | serpent = Serpent
        | gost = GOST

        **Path**: /settings/NSCA/client/targets/default

        **Key**: encryption

        **Default value**: aes

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # ENCRYPTION
            encryption=aes


    .. confkey:: host
        :synopsis: TARGET HOST

        **TARGET HOST**

        | The target server to report results to.

        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/default

        **Key**: host

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # TARGET HOST
            host=


    .. confkey:: password
        :synopsis: PASSWORD

        **PASSWORD**

        | The password to use. Again has to be the same as the server or it wont work at all.

        **Path**: /settings/NSCA/client/targets/default

        **Key**: password

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # PASSWORD
            password=


    .. confkey:: payload length
        :synopsis: PAYLOAD LENGTH

        **PAYLOAD LENGTH**

        | Length of payload to/from the NRPE agent. This is a hard specific value so you have to "configure" (read recompile) your NRPE agent to use the same value for it to work.

        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/default

        **Key**: payload length

        **Default value**: 512

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # PAYLOAD LENGTH
            payload length=512


    .. confkey:: port
        :synopsis: TARGET PORT

        **TARGET PORT**

        | The target server port

        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/default

        **Key**: port

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # TARGET PORT
            port=


    .. confkey:: retries
        :synopsis: RETRIES

        **RETRIES**

        | Number of times to retry sending.

        **Path**: /settings/NSCA/client/targets/default

        **Key**: retries

        **Default value**: 3

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # RETRIES
            retries=3


    .. confkey:: time offset
        :synopsis: TIME OFFSET

        **TIME OFFSET**

        | Time offset.

        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/default

        **Key**: time offset

        **Default value**: 0

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # TIME OFFSET
            time offset=0


    .. confkey:: timeout
        :synopsis: TIMEOUT

        **TIMEOUT**

        | Timeout when reading/writing packets to/from sockets.

        **Path**: /settings/NSCA/client/targets/default

        **Key**: timeout

        **Default value**: 30

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # TIMEOUT
            timeout=30


    .. confkey:: use ssl
        :synopsis: ENABLE SSL ENCRYPTION

        **ENABLE SSL ENCRYPTION**

        | This option controls if SSL should be enabled.

        **Path**: /settings/NSCA/client/targets/default

        **Key**: use ssl

        **Default value**: 0

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/default]
            # ENABLE SSL ENCRYPTION
            use ssl=0


    .. confkey:: verify mode
        :synopsis: VERIFY MODE

        **VERIFY MODE**



        **Path**: /settings/NSCA/client/targets/default

        **Key**: verify mode

        **Default value**: 

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

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




…  / targets / sample / sample
------------------------------

.. confpath:: /settings/NSCA/client/targets/sample/sample
    :synopsis: TARGET

**TARGET**

    | Target definition for: sample


    .. csv-table:: 
        :class: contentstable 
        :delim: | 
        :header: "Key", "Default Value", "Description"
    
        :confkey:`address` |  | TARGET ADDRESS
        :confkey:`allowed ciphers` |  | ALLOWED CIPHERS
        :confkey:`ca` |  | CA
        :confkey:`certificate` |  | SSL CERTIFICATE
        :confkey:`certificate format` |  | CERTIFICATE FORMAT
        :confkey:`certificate key` |  | SSL CERTIFICATE
        :confkey:`dh` |  | DH KEY
        :confkey:`encoding` |  | ENCODING
        :confkey:`encryption` | aes | ENCRYPTION
        :confkey:`host` |  | TARGET HOST
        :confkey:`password` |  | PASSWORD
        :confkey:`payload length` | 512 | PAYLOAD LENGTH
        :confkey:`port` |  | TARGET PORT
        :confkey:`retries` | 3 | RETRIES
        :confkey:`time offset` | 0 | TIME OFFSET
        :confkey:`timeout` | 30 | TIMEOUT
        :confkey:`use ssl` | 0 | ENABLE SSL ENCRYPTION
        :confkey:`verify mode` |  | VERIFY MODE

    **Sample**::

        # TARGET
        # Target definition for: sample
        [/settings/NSCA/client/targets/sample/sample]
        address=
        allowed ciphers=
        ca=
        certificate=
        certificate format=
        certificate key=
        dh=
        encoding=
        encryption=aes
        host=
        password=
        payload length=512
        port=
        retries=3
        time offset=0
        timeout=30
        use ssl=0
        verify mode=


    .. confkey:: address
        :synopsis: TARGET ADDRESS

        **TARGET ADDRESS**

        | Target host address

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: address

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # TARGET ADDRESS
            address=


    .. confkey:: allowed ciphers
        :synopsis: ALLOWED CIPHERS

        **ALLOWED CIPHERS**

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

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: allowed ciphers

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # ALLOWED CIPHERS
            allowed ciphers=


    .. confkey:: ca
        :synopsis: CA

        **CA**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: ca

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # CA
            ca=


    .. confkey:: certificate
        :synopsis: SSL CERTIFICATE

        **SSL CERTIFICATE**



        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: certificate

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # SSL CERTIFICATE
            certificate=


    .. confkey:: certificate format
        :synopsis: CERTIFICATE FORMAT

        **CERTIFICATE FORMAT**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: certificate format

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # CERTIFICATE FORMAT
            certificate format=


    .. confkey:: certificate key
        :synopsis: SSL CERTIFICATE

        **SSL CERTIFICATE**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: certificate key

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # SSL CERTIFICATE
            certificate key=


    .. confkey:: dh
        :synopsis: DH KEY

        **DH KEY**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: dh

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # DH KEY
            dh=


    .. confkey:: encoding
        :synopsis: ENCODING

        **ENCODING**



        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: encoding

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # ENCODING
            encoding=


    .. confkey:: encryption
        :synopsis: ENCRYPTION

        **ENCRYPTION**

        | Name of encryption algorithm to use.
        | Has to be the same as your server i using or it wont work at all.This is also independent of SSL and generally used instead of SSL.
        | Available encryption algorithms are:
        | none = No Encryption (not safe)
        | xor = XOR
        | des = DES
        | 3des = DES-EDE3
        | cast128 = CAST-128
        | xtea = XTEA
        | blowfish = Blowfish
        | twofish = Twofish
        | rc2 = RC2
        | aes128 = AES
        | aes192 = AES
        | aes = AES
        | serpent = Serpent
        | gost = GOST

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: encryption

        **Default value**: aes

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # ENCRYPTION
            encryption=aes


    .. confkey:: host
        :synopsis: TARGET HOST

        **TARGET HOST**

        | The target server to report results to.

        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: host

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # TARGET HOST
            host=


    .. confkey:: password
        :synopsis: PASSWORD

        **PASSWORD**

        | The password to use. Again has to be the same as the server or it wont work at all.

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: password

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # PASSWORD
            password=


    .. confkey:: payload length
        :synopsis: PAYLOAD LENGTH

        **PAYLOAD LENGTH**

        | Length of payload to/from the NRPE agent. This is a hard specific value so you have to "configure" (read recompile) your NRPE agent to use the same value for it to work.

        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: payload length

        **Default value**: 512

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # PAYLOAD LENGTH
            payload length=512


    .. confkey:: port
        :synopsis: TARGET PORT

        **TARGET PORT**

        | The target server port

        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: port

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # TARGET PORT
            port=


    .. confkey:: retries
        :synopsis: RETRIES

        **RETRIES**

        | Number of times to retry sending.

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: retries

        **Default value**: 3

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # RETRIES
            retries=3


    .. confkey:: time offset
        :synopsis: TIME OFFSET

        **TIME OFFSET**

        | Time offset.

        **Advanced** (means it is not commonly used)

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: time offset

        **Default value**: 0

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # TIME OFFSET
            time offset=0


    .. confkey:: timeout
        :synopsis: TIMEOUT

        **TIMEOUT**

        | Timeout when reading/writing packets to/from sockets.

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: timeout

        **Default value**: 30

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # TIMEOUT
            timeout=30


    .. confkey:: use ssl
        :synopsis: ENABLE SSL ENCRYPTION

        **ENABLE SSL ENCRYPTION**

        | This option controls if SSL should be enabled.

        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: use ssl

        **Default value**: 0

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # ENABLE SSL ENCRYPTION
            use ssl=0


    .. confkey:: verify mode
        :synopsis: VERIFY MODE

        **VERIFY MODE**



        **Path**: /settings/NSCA/client/targets/sample/sample

        **Key**: verify mode

        **Default value**: 

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

        **Used by**: :module:`CollectdClient`,  :module:`NSCAClient`

        **Sample**::

            [/settings/NSCA/client/targets/sample/sample]
            # VERIFY MODE
            verify mode=


