Networking NVIDIA NVOS User Manual for InfiniBand Switches

Remote Logging

To send syslog messages to a remote syslog server, follow these steps. For the remote logging commands, see Remote Logging Commands.

  • Set the remote syslog server (IP address or hostname):

    admin@nvos:~$ nv set system syslog server <server-id>
    
  • (Optional) Set the destination port on the remote server: 1–65535. The default port is 514.

    admin@nvos:~$ nv set system syslog server <server-id> port <port>
    
  • (Optional) Define rules for filtering logs:

    • Create a selector:

      admin@nvos:~$ nv set system syslog selector <selector-id>
      
    • Add filtering rules to the selector; for example, a minimum severity level:

      admin@nvos:~$ nv set system syslog selector <selector-id> severity info
      
    • Attach the selector to the server with a priority (1–65535):

      admin@nvos:~$ nv set system syslog server <server-id> selector <priority> selector-id <selector-id>
      


      If multiple selectors are attached to a single syslog server, they are applied using an OR condition. This means a log line may be sent more than once if it matches more than one selector. To prevent this, it is recommended to use a single selector with combined options (such as severity and filters).

  • (Optional) Set the protocol for communication with the remote syslog server: tcp or udp. The default protocol is udp.

    admin@nvos:~$ nv set system syslog server <server-id> protocol tcp
    

Last updated: