diff --git a/VERSION b/VERSION index cb4f71a..57399a7 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -9.2.0.6 -9.2.0.6 +9.2.0.7 +9.2.0.7 diff --git a/app.manifest b/app.manifest index 8eae928..8777a00 100644 --- a/app.manifest +++ b/app.manifest @@ -29,7 +29,7 @@ "id": { "group": null, "name": "TA-nix", - "version": "9.2.0.6" + "version": "9.2.0.7" }, "license": { "name": "Splunk Software License Agreement", diff --git a/default/app.conf b/default/app.conf index 75677db..3e4130c 100644 --- a/default/app.conf +++ b/default/app.conf @@ -17,7 +17,7 @@ docs_section_override = AddOns:released [launcher] author = Michael Erdely -version = 9.2.0.6 +version = 9.2.0.7 description = Technical Add-on for Unix and Linux #[package] @@ -26,5 +26,5 @@ description = Technical Add-on for Unix and Linux [id] name = TA-unix -version = 9.2.0.6 +version = 9.2.0.7 diff --git a/docs/ReleaseNotes.md b/docs/ReleaseNotes.md index 8377af6..8eab784 100644 --- a/docs/ReleaseNotes.md +++ b/docs/ReleaseNotes.md @@ -1,5 +1,14 @@ # Technical Add-on for Unix and Linux +## Version 9.2.0.7 (2025-01-20) + +Fix run_nix_ta_commands script + +Changes: + +* Make run_nix_ta_commands (in extra) use /etc/nix_ta.conf for its settings + instead of hard-coding them in the script + ## Version 9.2.0.6 (2025-01-17) Fix docker script and props diff --git a/extra/run_nix_ta_commands b/extra/run_nix_ta_commands index 3e9b7fc..64ef8ba 100755 --- a/extra/run_nix_ta_commands +++ b/extra/run_nix_ta_commands @@ -21,7 +21,7 @@ # # End of sample rsyslog.conf # # To use: -# * Modify the variables below to fit your environment +# * Create a new file (/etc/nix_ta.conf) with the following settings in it # * ta_home: The directory you copied the Technical Add-on for Unix and Linux files # * tag_prefix: The events will be sent to syslog with ${tag_prefix}SCRIPTNAME as a tag # * syslog_server: The UDP syslog server to send events to @@ -32,12 +32,15 @@ # Ensure the logger command is available which logger > /dev/null 2>&1 || { echo "Error: The logger command is required for this script"; exit; } +# Example/default settings -- override in /etc/nix_ta.conf ta_home=/srv/TA-unix tag_prefix=nix_ta_ syslog_server=192.168.1.1 run_minute=2 run_hour=6 +[ -r /etc/nix_ta.conf ] && . /etc/nix_ta.conf + # Get the current minute now to be consistent through the script run minute=$(date +%_M | tr -d ' ') # Get the current hour now to be consistent through the script run