Head of troll department / Xuxe dominator
is uber awesome!
diagSinusbot.sh - Sinusbot diagnostic script
What is it?
diagSinusbot.sh collects some important diagnostic data about the operating system and the bot installation. When finished it returns informative information, ready to copy and paste it in the support section in the sinusbot forum. The main purpose of this script is to solve bugs and any other issues easier and faster with more details about the situation - easily collected with this script.
Remember: Once the output has been generated, please append it to your forum thread. This tool is not officially developed from the SinusBot team.
The development is done on GitHub here, publicly viewable for everyone. Contributions welcome.
Requirements (Important! Otherwise it won't work!)
- Operating Systems: Debian, Ubuntu (others may work, but are not supported)
- Required installed packages: bc binutils coreutils lsb-release util-linux net-tools curl
- Install: apt-get install bc binutils coreutils lsb-release util-linux net-tools curl
- (Most packages are already pre-installed by default on the most systems.)
$ cd /opt/sinusbot/ # <= change to your path $ curl -O https://raw.githubusercontent.com/patschi/sinusbot-tools/master/tools/diagSinusbot.sh $ bash diagSinusbot.sh # execute with root privileges, sudo may be required
Some information which may be scanned:
- Operating system
- Load average
- CPU model, cores and speed
- RAM usage
- SWAP usage
- DISK usage
- Bot autostart script checks
- Status of bot and webinterface
- Performs ts3client checks
- Some configuration pre-checks
- Checks if bot plugin is installed to ts3client
- Checks LogLevel
- Checks youtube-dl and installed version
- Installed bot scripts (filenames only)
- Checks if all required OS packages got installed
- ...and more as extended over time.
========================================================== SINUSBOT RELATED SYSTEM INFORMATION - Operating System: Debian GNU/Linux 8.1 (jessie) - OS x64 check: OK - Kernel: Linux 3.16.0-4-amd64 x86_64 - Load Average: 0.24 0.32 0.32 - Uptime: 58 days, 23 hours, 44 minutes, 32 seconds - OS Updates: 0 (well done!) - OS Missing Packages: None (v1) - OS APT Last Update: 23.08.2015 00:41:12 CEST +02:00:00 - Bot Start Script: found at /etc/init.d/sinusbot [perms: 0644] - DNS resolution check: google.com -> OK - CPU: Architecture: x86_64 CPU(s): 2 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2 Model name: Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz CPU MHz: 3499.999 Hypervisor vendor: VMware Virtualization type: full - RAM: 449.76 MB/1000.32 MB in use (44%) - SWAP: 0 B/871.99 MB in use (0%) - DISK: 2.01 GB/15.73 GB in use (12%) - Report date: 26.11.2015 21:13:47 CET +01:00:00 (timezone: Europe/Berlin) BOT INFORMATION - Status: running (PIDs: 23012 23011, User: sinusbot) - Webinterface: port locally reachable (Port: 8087) - Binary: /home/sinusbot/sinusbot/sinusbot (Hash: dfaa2dae26ee80b782b8b4b6cbf9fa5e) - Version: 0.9.9-4965f0f - TS3 Plugin: installed (md5 hash match) - Bot Plugin: 4f888043455d865231047616da069ed8 - TS3 Client: 4f888043455d865231047616da069ed8 - Config: - LogLevel = 4 - TS3Path = /home/sinusbot/ts3/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 22.214.171.124) - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2015.08.16.1) - Installed Scripts: advertising.js; aloneMode.js; badchan.js; bookmark.js; covatar.js; dev.js; followme.js; idle.js; metadata.js; norecording.js; showcase.js; welcometext.js ==========================================================
Notice: Because this script does also collect information like CPU, RAM, SWAP, DISK usage and more, this script needs to be executed with root privileges. The script is not installing any dependencies of the script or bot without asking.
Tell me! Feel free to use the forum or the issues functionality on GitHub.
Only for german users: Für eine deutsche Übersetzung, bitte hier entlang.
Last edited by a moderator: