Commit Graph
102 Commits
Author SHA1 Message Date
loki 1bc0c2eb5e added 'log' as Logger destination 2026-03-03 14:10:44 +01:00
loki 50e0126dd3 Merge pull request 'fix permission for wh20.sh' (#10) from loki/fix_permission into main
Reviewed-on: https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets/pulls/10
2026-03-03 13:58:27 +01:00
loki 60856b0312 fix permission for wh20.sh 2026-03-03 13:57:31 +01:00
loki 84e6a6eefe Merge pull request 'fixing ip addresses output' (#9) from loki/fix_ip_addresses_output into main
Reviewed-on: https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets/pulls/9
2026-03-02 10:43:47 +01:00
loki aa7cab41d7 fixing ip addresses output 2026-03-02 10:43:27 +01:00
loki c299e074b8 Merge pull request 'fixed log navigation - thanks cursor' (#8) from loki/fix_checkms into main
Reviewed-on: https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets/pulls/8
2026-03-02 09:29:35 +01:00
loki fc48de8132 fixed log navigation - thanks cursor 2026-03-02 09:28:41 +01:00
loki 93089d6eac Merge pull request 'Enhance mail.sh to prevent file name collisions during downloads' (#7) from loki_bugfix_mail.sh into main
Reviewed-on: https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets/pulls/7
2026-01-28 12:51:41 +01:00
loki 00fac9ff89 Enhance mail.sh to prevent file name collisions during downloads 2026-01-28 12:51:19 +01:00
loki 52dfa9de5f Merge pull request 'added wh20 quick ssh connect script' (#6) from loki/mailing-project-menu into main
Reviewed-on: https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets/pulls/6
2025-12-30 13:32:36 +01:00
loki 75d5680364 added wh20 quick ssh connect script 2025-12-30 13:30:51 +01:00
loki 9810a03376 Merge pull request 'loki/mailing-project-menu' (#5) from loki/mailing-project-menu into main
Reviewed-on: https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets/pulls/5
2025-12-15 14:13:02 +01:00
loki 6116e9283e updated mail.sh README 2025-12-15 14:11:48 +01:00
loki 10b000feef Refactor mail.sh to enhance user input handling and project selection
- Replaced parameter input with interactive prompts for customer number and project selection.
- Updated remote directory path based on user-selected project.
- Adjusted local save path and file pattern to use the customer number input.
2025-12-15 14:08:59 +01:00
ljp 0d56365fcf Merge pull request 'added getIps.sh script' (#4) from getIps into main
Reviewed-on: https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets/pulls/4
2025-09-15 12:32:01 +02:00
loki b657d768ee added getIps.sh script 2025-09-15 12:04:43 +02:00
ljp c39398637b Merge pull request 'added reinis mysql_backup script, renamed it to mysqltool.sh, added README.md for mysqltool.sh' (#3) from peignerpausz/eign01 into main
Reviewed-on: https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets/pulls/3
2025-09-11 23:32:17 +02:00
ljp 1befa79366 Merge pull request 'feature/deploy-system' (#2) from feature/deploy-system into main
Reviewed-on: https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets/pulls/2
2025-09-11 17:56:20 +02:00
Philipp Ljubeko 6c0a9749d0 Merge branch 'main' of https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets into feature/deploy-system 2025-09-11 17:38:37 +02:00
Philipp Ljubeko f1f7babfd7 Merge branch 'feature/exitrace-modular' of https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets into feature/deploy-system 2025-09-11 17:09:20 +02:00
h0tznpl0tzandClaude 06647a1bf1 Improve deployment organization and bashrc structure
Script Organization:
- Deploy scripts to ~/scripts/ instead of ~/ directly
- Create proper symlinks ~/bin/script -> ~/scripts/script
- Libraries go to ~/scripts/lib_scriptname/ for better organization

Bashrc Improvements:
- Add modular .bashrc with .bash_env, .bash_aliases, .bash_paths
- Include HISTTIMEFORMAT and enhanced history settings
- Smart PATH detection - only adds ~/bin if not already present
- Proper bash completion and dircolors setup
- Maintains all original functionality from complex version

Deployment now creates clean, organized structure on target servers.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 16:25:37 +02:00
h0tznpl0tzandClaude 034018de87 Fix syntax error in select statement
Remove invalid stderr redirection from select statement.
Select cannot be redirected with >&2 syntax.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 16:21:53 +02:00
h0tznpl0tzandClaude 012d3158a0 Fix SSH target parsing bug in deploy.sh
- Redirect select UI output to stderr to prevent multiline capture
- Only SSH target goes to stdout for clean variable assignment
- Fixes 'invalid user name' error from corrupted ssh_target variable
- SSH connection now works properly like manual ssh command

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 16:19:28 +02:00
Patrick Eigner-Pausz 55efaf776d added reinis mysql_backup script, renamed it to mysqltool.sh, added README.md for mysqltool.sh 2025-09-11 16:03:02 +02:00
h0tznpl0tzandClaude 63121c71f8 Simplify deploy.sh following KISS principle
- Reduce from 419 to 230 lines (45% reduction)
- Replace complex find-based script detection with simple for loop
- Use bash select builtin instead of manual state management
- Consolidate server selection into single function
- Simplify bashrc deployment with direct PATH setup
- Remove unnecessary abstractions while preserving all features

Features preserved:
- Auto-detection of scripts via ~/bin symlinks
- Interactive script and server selection
- Support for web N, mx N, logger, support servers
- Bashrc deployment with PATH configuration
- Lib dependencies handling
- Dry-run functionality
- Symlink creation in ~/bin

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 15:48:14 +02:00
h0tznpl0tzandClaude 248b2f9c1a Simplify exitrace.sh following KISS principle
- Eliminate 345 lines of duplicated HERE-document code
- Replace complex remote execution with local deployment approach
- Remove AWK array context errors from shell escaping
- Preserve all features: -FROM/-TO/-DOMAIN/-MSGID/-GREP, time filters, MX records, status classification
- Maintain backwards compatibility with -f/-t/-D/-m/-G parameters
- Use deploy.sh for installation on logger.in.nessus.at

Reduces complexity while maintaining full functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 15:46:04 +02:00
h0tznpl0tzandClaude fb66a3a014 Add interactive deployment system for easyname server infrastructure
- Auto-detects scripts via symlinks in ~/bin
- Interactive script and server selection
- Supports bashrc deployment
- Handles lib/ dependencies
- Includes security improvements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 15:14:57 +02:00
ljp ad6666d901 Merge pull request 'Added bashprofile for eign01' (#1) from peignerpausz/eign01 into main
Reviewed-on: https://vps.dominikus.one:3443/ljp/esn-support-bash-snippets/pulls/1
2025-09-11 15:08:08 +02:00
h0tznpl0tzandClaude 9241cc3d14 Improve exitrace parameter naming for better usability
- Add descriptive parameter names: -FROM, -TO, -DOMAIN, -MSGID, -GREP
- Maintain backwards compatibility with old short forms (-f, -t, -D, -m, -G)
- Update README with new examples and backwards compatibility section
- More intuitive and self-documenting command line interface

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 15:06:40 +02:00
h0tznpl0tzandClaude 0774ed0729 Fix AWK array initialization error
- Initialize rcpts array properly to avoid scalar/array error
- Skip empty recipient strings in output formatting
- Ensures proper 2D array handling in AWK

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 15:02:08 +02:00
h0tznpl0tzandClaude aa6a470b0d Fix AWK regex syntax error in exitrace
- Fix unterminated regexp in deferred detection
- Simplify regex pattern for 'all hosts failing' detection
- Removes problematic single quote escaping in AWK

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 15:00:48 +02:00
h0tznpl0tzandClaude 7d5d4cb7b1 Refactor exitrace to remote execution model
- Complete rewrite following checkms pattern
- Remote execution on logger.in.nessus.at via SSH/go-tool
- Inline all functions for remote heredoc execution
- Remove lib/ directory - no longer needed
- Maintains full API compatibility
- Automatic fallback: go tool -> LUSER ssh -> error

Fixes issue where exitrace could not access logs on logger.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 14:59:00 +02:00
h0tznpl0tzandClaude 124337e0a4 Fix symlink resolution in exitrace
- Make SCRIPT_DIR robust for symlink execution
- Resolves lib/ dependency loading when called via ~/bin symlink
- Maintains compatibility with direct execution

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 14:29:52 +02:00
Patrick Eigner-Pausz 5877e71982 Added bashprofile for eign01 2025-09-11 14:23:30 +02:00
h0tznpl0tzandClaude 72537749c5 Fix file permissions for legacy scripts
- Make checkms.sh and go.sh executable
- Required for proper script execution

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 14:16:57 +02:00
h0tznpl0tzandClaude d1e28599c9 Refactor exitrace to modular architecture
- Split monolithic exitrace.sh into focused lib/ modules
- date_utils.sh: Date validation and generation functions
- mx_lookup.sh: MX record lookup functionality
- log_analyzer.awk: Core log analysis logic extracted from main script
- Maintains full backward compatibility with existing interface
- Improves maintainability, testability, and code organization

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 14:04:12 +02:00
loki a0ca330492 added adino and dona to plesk script 2025-09-11 13:10:50 +02:00
peignerpausz aa1fdc4811 README.md extended concerning adino and dona 2025-09-11 13:07:01 +02:00
peignerpausz 1e6c621dd9 now with the proper user name XD 2025-09-11 13:01:41 +02:00
= 530c4f730b added variations of plesk script for dona and adino 2025-09-11 12:56:49 +02:00
h0tznpl0tz bddb3cf1e9 Add exitrace tool and improve documentation
- Add exitrace: Enhanced Exim log analyzer with status classification
- Add Maintainer: ljp to all ljp-owned scripts
- Update READMEs: Use installer-compatible command examples
- Update main and legacy READMEs to include exitrace tool
2025-09-11 12:35:48 +02:00
h0tznpl0tzandClaude 84ecfaf278 Update legacy/README.md for new repository structure
- Changed title from "Connect Tools" to "Legacy Tools"
- Updated description and overview text
- Fixed outdated file paths (connect/ -> legacy/)
- Aligned with current repository structure

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 12:03:39 +02:00
h0tznpl0tzandClaude 87b5c60437 Update README for new repository structure
- Updated WH20 section: no longer empty, now includes plesk tool
- Fixed installer categories description
- Updated How-To examples (removed connect/ references)
- Fixed script extension examples (.sh)
- Aligned documentation with current repo structure

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 12:02:03 +02:00
h0tznpl0tz 10d3459678 Merge branch 'main' of http://vps.dominikus.one:3000/ljp/esn-support-bash-snippets 2025-09-11 12:00:44 +02:00
loki a3e68d73cd bugfix main readme 2025-09-11 12:00:15 +02:00
loki 0176624bf3 Added Plesk Admin Panel script 2025-09-11 11:58:36 +02:00
h0tznpl0tzandClaude 6036648d76 Update install.sh with auto-discovery and README with Quick Start
- Enhanced install.sh with script auto-discovery functionality
- Added Quick Start section to README with one-liner commands
- Created update.sh for repository updates
- Resolved merge conflicts from upstream changes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 11:58:15 +02:00
loki 5706152a82 updated main README to reflect recent changes; got rid of unnecessary hairlines 2025-09-11 11:07:28 +02:00
loki 541d173a18 merged connect and legacy directorys and adapted corresponding readme 2025-09-11 10:57:16 +02:00
loki 81915ddee9 Removed quicknav as it was a clone of "go" 2025-09-11 10:47:13 +02:00