| Version 3 (modified by trac, 10 months ago) (diff) |
|---|
TracNav
Documentation
Guides
Information
Sponsoring
Modules
- overview
Checks and commands
- overview
CauseCrashes
CheckNSCP
CheckDisk
CheckLogFile
CheckEventLog
CheckSystem
CheckHelpers
- overview
- check_always_ok
- check_always_critical
- check_always_warning
- check_ok
- check_critical
- check_warning
- check_multi
- check_version
- check_timeout
- check_negate
CheckTaskSched
CheckTaskSched2
CheckWMI
Scripting Languages?
Servers and protocols?
- overview?
check_nrpe (NRPE Server)
check_nrpe (NRPE Client)
check_nt (NSClient Server)
check_nt (NSClient Client)?
NSCA (NSCA Server)
NSCA (NSCA Client)
NRDP (NRDP Client)
check_mk (CheckMK Server)
check_mk (CheckMK Client)
graphite (Graphite Client)
SMTP (SMTP Client)
syslog (Syslog Client)
Utilities and tools?
Donate
SMTPClient
Passive check support via SMTP
Queries (commands)
- smtp_query? Check remote SMTP host
- smtp_help? Help on using SMTP Client
- smtp_exec? Execute (via query) remote SMTP host
- smtp_submit Submit (via query) remote SMTP host
- smtp_forward? Forward query to remote SMTP host
Commands (executable)
TODO: Add command list
Configuration
REMOTE TARGET DEFINITIONS
Section: /settings/SMTP/client/targets
Sample:
# REMOTE TARGET DEFINITIONS # [/settings/SMTP/client/targets]
CLIENT HANDLER SECTION
Section: /settings/SMTP/client/handlers
Sample:
# CLIENT HANDLER SECTION # [/settings/SMTP/client/handlers]
SMTP CLIENT SECTION
Section for SMTP passive check module.
Section: /settings/SMTP/client
Keys:
| Key | Title | Description |
| channel | CHANNEL | The channel to listen to. |
Sample:
# SMTP CLIENT SECTION # Section for SMTP passive check module. [/settings/SMTP/client] # CHANNEL # The channel to listen to. channel=SMTP
CHANNEL
Description: The channel to listen to.
Key: channel
Default value: SMTP
Sample:
# CHANNEL # The channel to listen to. [/settings/SMTP/client] channel=SMTP
TARGET DEFENITION
Target definition for: default
Section: /settings/SMTP/client/targets/default
Keys:
| Key | Title | Description |
| sender | SENDER | Sender of email message |
| timeout | TIMEOUT | Timeout when reading/writing packets to/from sockets. |
| template | TEMPLATE | Template for message data |
| address | TARGET ADDRESS | Target host address |
| recipient | RECIPIENT | Recipient of email message |
Advanced Keys:
| Key | Title | Description |
| parent | TARGET PARENT | The parent the target inherits from |
| is template | IS TEMPLATE | Declare this object as a template (this means it will not be avalible as a separate object) |
| alias | TARGET ALIAS | The alias for the target |
| host | TARGET HOST | The target server to report results to. |
| port | TARGET PORT | The target server port |
Sample:
# TARGET DEFENITION # Target definition for: default [/settings/SMTP/client/targets/default] # SENDER # Sender of email message sender=nscp@localhost # TARGET PARENT # The parent the target inherits from parent=default # TIMEOUT # Timeout when reading/writing packets to/from sockets. timeout=30 # IS TEMPLATE # Declare this object as a template (this means it will not be avalible as a separate object) is template=0 # TARGET ALIAS # The alias for the target alias=default # TARGET HOST # The target server to report results to. host= # TEMPLATE # Template for message data template=Hello, this is %source% reporting %message%! # TARGET ADDRESS # Target host address address= # RECIPIENT # Recipient of email message recipient=nscp@localhost # TARGET PORT # The target server port port=0
SENDER
Description: Sender of email message
Key: sender
Default value: nscp@localhost
Sample:
# SENDER # Sender of email message [/settings/SMTP/client/targets/default] sender=nscp@localhost
TARGET PARENT
Description: The parent the target inherits from
Key: parent
Default value: default
Sample:
# TARGET PARENT # The parent the target inherits from [/settings/SMTP/client/targets/default] parent=default
TIMEOUT
Description: Timeout when reading/writing packets to/from sockets.
Key: timeout
Default value: 30
Sample:
# TIMEOUT # Timeout when reading/writing packets to/from sockets. [/settings/SMTP/client/targets/default] timeout=30
IS TEMPLATE
Description: Declare this object as a template (this means it will not be avalible as a separate object)
Key: is template
Default value: 0
Sample:
# IS TEMPLATE # Declare this object as a template (this means it will not be avalible as a separate object) [/settings/SMTP/client/targets/default] is template=0
TARGET ALIAS
Description: The alias for the target
Key: alias
Default value: default
Sample:
# TARGET ALIAS # The alias for the target [/settings/SMTP/client/targets/default] alias=default
TARGET HOST
Description: The target server to report results to.
Key: host
Sample:
# TARGET HOST # The target server to report results to. [/settings/SMTP/client/targets/default] host=
TEMPLATE
Description: Template for message data
Key: template
Default value: Hello, this is %source% reporting %message%!
Sample:
# TEMPLATE # Template for message data [/settings/SMTP/client/targets/default] template=Hello, this is %source% reporting %message%!
TARGET ADDRESS
Description: Target host address
Key: address
Sample:
# TARGET ADDRESS # Target host address [/settings/SMTP/client/targets/default] address=
RECIPIENT
Description: Recipient of email message
Key: recipient
Default value: nscp@localhost
Sample:
# RECIPIENT # Recipient of email message [/settings/SMTP/client/targets/default] recipient=nscp@localhost
TARGET PORT
Description: The target server port
Key: port
Default value: 0
Sample:
# TARGET PORT # The target server port [/settings/SMTP/client/targets/default] port=0








