Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: HP-UX SNAplus2 Administration Command Reference > Chapter 3 Commands (query_3270_diag to query_userid_password)

query_central_logger

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The query_central_logger command returns the name of the node currently defined as the central logger. The central logger is the node holding the central log file to which SNAplus2 log messages from all servers are sent. This command does not return information about whether central logging is active; use query_central_logging to determine this.

This command must be issued without specifying a node name.

Supplied Parameters

No parameters are supplied for this command.

Returned Parameters

Parameter name           Type           Length
node_name character 64

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.

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001 Hewlett-Packard Development Company, L.P.