HP-UX SNAplus2 R7 NOF Programmer's Guide

Introduction to the NOF API
NOF Verbs to Manage Specic SNAplus2 Functions
To dene these permissions and enable NetView operators to access SPCF or UCF or both, use the following verb:
DEFINE_RCF_ACCESS
To check the permissions currently dened, use the following verb:
QUERY_RCF_ACCESS
To prevent operators from using either SPCF or UCF, use the following verb:
DELETE_RCF_ACCESS
To remove access to one function but leave the other available, use the following verb:
DEFINE_RCF_ACCESS
1.5.14 Managing Diagnostics Settings
The SNAplus2 default setting for log messages is to log problem and exception messages but not audit messages,
and to use central logging (messages from all servers sent to a central log le on the master server). Succinct
logging is used (that is, logging of header parameters and message text, but not full details of cause and action for
each message). The error log le, used for problem and exception messages, is
/var/opt/sna/sna.err; the
audit log le, used for audit messages if these are enabled, is /var/opt/sna/sna.aud. Each of these les is
backed up and reset when the le size reaches 1 megabyte. The default settings for succinct logging, exception
and audit logging, le names, and le sizes can all be overridden using NOF verbs, as described in the following
information.
The verbs to manage central logging and global logging options apply to clients as well as to servers. However,
other diagnostics settings on Windows clients are controlled by options in the Windows Registry (Win32 clients) or
in the Windows client initialization le sna.ini (Win16 clients), and not by NOF verbs. For more information,
refer to the
HP-UX SNAplus2 Administration Guide.
SNAplus2 also maintains a usage log le /var/opt/sna/sna.usage, which is used to record information
about the current and peak usage of SNAplus2 resources. This le is backed up and reset in the same way as the
error and audit log les, and the le name and le size can be specied in the same way.
To specify whether central logging is enabled, use the following verb:
SET_CENTRAL_LOGGING
To specify whether exception messages or audit messages or both are logged, or to specify whether succinct logging
or full logging is to be used, either to establish global default settings for all servers or to override the defaults for
a particular server, use the following verbs:
SET_GLOBAL_LOG_TYPE, SET_LOG_TYPE
To change the le names or directories used for log messages or to change the size at which les are backed up
and reset, use the following verb:
SET_LOG_FILE
To check which server is currently dened as the central logger or to check whether central logging is enabled, use
the following verbs:
QUERY_CENTRAL_LOGGER, QUERY_CENTRAL_LOGGING
To check the types of messages being recorded or to check whether succinct logging or full logging is being used,
either globally or on a particular server, use the following verbs:
QUERY_GLOBAL_LOG_TYPE, QUERY_LOG_TYPE
To check the le, le size, or directory being used for a particular log type, use the following verb:
QUERY_LOG_FILE
If you want to activate tracing to diagnose problems with connectivity components on a particular SNAplus2 node
or to deactivate it after collecting the required data, use the following verbs:
58