Synchronet v3.17b-Win32 (install) has been released (Jan-2019).

New Synchronet YouTube channel

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 revision Previous revision
monitor:syslog [2016/11/19 03:34]
digital man [See Also] Link to UNIX Configuration page
monitor:syslog [2018/10/14 20:39] (current)
digital man Let's only put syslog-related stuff on the "syslog" page
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  ​ or  ​
-  $tail -f /​var/​log/​sbbs.log +  $ tail -f /​var/​log/​sbbs.log
-===== Monitoring Socket Usage =====   +
-  $watch '​netstat -nap | grep /​sbbs'​ +
- +
-===== Monitoring Threads ===== +
-  $top -o -COMMAND -H -p "​$(pgrep sbbs)"+
   ​   ​
 ===== See Also ===== ===== See Also =====
Line 37: Line 22:
   * [[:​config:​nix|UNIX Configuration]]   * [[:​config:​nix|UNIX Configuration]]
  
-{{tag>​unix syslog ​node}}+{{tag>​unix syslog}}
  
 {{indexmenu_n>​4}} {{indexmenu_n>​4}}

In Other Languages