check_snclient_version

Check and return SNClient version.

Implementation

WindowsLinuxFreeBSDMacOSX
✅✅✅✅

Argument Defaults

ArgumentDefault Value
empty-state0 (OK)
empty-syntax
top-syntax%(list)
ok-syntax
detail-syntax%(name) %(version) (Build: %(build), %(go))

Check Specific Arguments

None

Attributes

Filter Keywords

these can be used in filters and thresholds (along with the default attributes):

AttributeDescription
nameThe name of this agent
versionVersion string
buildgit commit id of this build

Examples

Default Check

check_snclient_version
SNClient v0.12.0036 (Build: 5e351bb, go1.21.6)

There is an alias ‘check_nscp_version’ for this command.

Example using check_snclient and Naemon

Naemon Config

define command{
    command_name         check_snclient
    command_line         $USER1$/check_snclient -k -p 'your-password' -u 'https://$HOSTADDRESS$:8443' $ARG1$ $ARG2$
}

define service {
    host_name            testhost
    service_description  check_snclient_version
    use                  generic-service
    check_command        check_snclient!check_snclient_version!
}