HP UX Internet and Networking Software manual Querycentrallogging, Supplied Parameters

Models: UX Internet and Networking Software

1 651
Download 651 pages 11.83 Kb
Page 313
Image 313

Administration Commands

query_central_logging

2.106.1 Supplied Parameters

[query_central_logger]

No parameters are supplied for this command.

2.106.2 Returned Parameters

Parameter name

Type

Length

node_name

character

128

If the command executes successfully, SNAplus2 returns the following parameter:

node_name

The name of the node defined as the central logger. You can issue query_central_logging to this node to determine whether central logging is currently enabled.

2.106.3 Error Return Codes

If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.

Parameter Check

No parameter errors occur for this command.

State Check

If the command does not execute because of a state error, SNAplus2 returns the following parameters:

primary_rc

STATE_CHECK

secondary_rc

NO_CENTRAL_LOG

No master server is currently active.

Other Conditions

Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.

2.107 query_central_logging

The query_central_logging command returns information about whether SNAplus2 log messages are sent to a central file from all servers, or to a separate file on each server. For more information about log files, see Section 2.189, set_log_file.

This command must be issued without specifying a node name.

2.107.1 Supplied Parameters

[query_central_logging]

313

Page 313
Image 313
HP UX Internet and Networking Software manual Querycentrallogging, Supplied Parameters