Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
monitor:syslog [2016/11/19 03:29] – Example top usage for monitoring sbbs threads. digital manmonitor:syslog [2018/10/14 20:39] – Let's only put syslog-related stuff on the "syslog" page digital man
Line 1: Line 1:
-====== Synchronet Daemon (UNIX) ======+====== syslog (UNIX) ======
  
-===== Monitoring Node Status ===== +Synchronet for *nix-like OSes can send its server and services output to your system's ''[[wp>syslog]]'' facility (e.g. ''rsyslogd'' on Debian Linux). When running ''sbbs'' as a daemon, syslog-output is automatically enabled. When running ''sbbs'' interactively (not daemonized), syslog output can be enabled by passing the ''syslog'' command-line option to ''sbbs'':
-  $watch /sbbs/exec/node list+
  
-<code>   +  $ sbbs syslog
-Every 2.0s: /sbbs/exec/node list+
  
-Synchronet Node Display/Control Utility v1.22+===== Configuring ===== 
  
-Node  1: User #1 posting message via telnet (MP) [U] +The syslog functionality is configurable via the ''LogFacility'' (default: ''U'') and ''LogIdent'' (default: ''synchronet''values of the ''[[config:nix|[UNIX]]]'' section of your ''[[dir:ctrl]]/[[config:sbbs.ini]]'' file.
-Node  2: Waiting for connection +
-Node  3Waiting for connection +
-Node  4: Waiting for connection +
-Node  5: Waiting for connection +
-Node  6: Waiting for connection +
-Node  7: Waiting for connection +
-Node  8: Waiting for connection +
-Node  9: Waiting for connection +
-Node 10: Waiting for connection +
-</code>+
  
-===== Monitoring Log Messages =====+You can further configure your syslog output (e.g. directories and filenames) through the setup of your system's syslog facility (e.g. via the ''/etc/rsyslogd.conf'' file on Debian Linux). 
 + 
 +===== Monitoring =====
 The ''syslog'' output of the Synchronet daemon will usually go to a file in your ''/var/log'' directory. You can monitor real-time changes to this file with the ''tail -f'' command. The ''syslog'' output of the Synchronet daemon will usually go to a file in your ''/var/log'' directory. You can monitor real-time changes to this file with the ''tail -f'' command.
  
-  $tail -f /var/log/messages +  $ tail -f /var/log/messages 
-   +or   
-===== Monitoring Socket Usage =====   +  $ tail -f /var/log/sbbs.log
-  $watch 'netstat -nap | grep /sbbs+
- +
-===== Monitoring Threads ===== +
-  $top -o -COMMAND -H -p "$(pgrep sbbs)"+
      
 ===== See Also ===== ===== See Also =====
   * [[:monitor:|Monitoring]]   * [[:monitor:|Monitoring]]
 +  * [[:config:nix|UNIX Configuration]]
  
-{{tag>unix syslog node}}+{{tag>unix syslog}}
  
 {{indexmenu_n>4}} {{indexmenu_n>4}}