zc

Documentation
Login

Documentation

ZC-CLOSE(1) - General Commands Manual

NAME

zc-close - logout from a session on a zabbix server

SYNOPSIS

zc close

DESCRIPTION

zc-close take care of closing the session for an authentication context with a zabbix server.

ENVIRONMENT

ZC_CTX

Context environment variable.

FILES

$HOME/.zc.d

Authentication contexts directory.

$HOME/.zc.d/default

Default authentication context.

EXIT STATUS

The zc-close utility exits 0 on success, and >0 if an error occurs.

EXAMPLES

Close the session on the "local" authentication context:

$ zc -c local close

Do the same operations as the previous one, but by exporting the ZC_CTX environment variable first:

$ export ZC_CTX=local
$ zc close

SEE ALSO

zc-auth(1)

AUTHORS

Andrea Biscuola <a@abiscuola.com>

OpenBSD 6.9 - November 27, 2019