• 1 Votes
    15 Posts
    886 Views
    scottalanmillerS

    @manxam said in Looking for free RMM kind, or at least with H/W and S/W inventory software with agent.:

    How is this any different than SC? One can just use backstage to gain either powershell or CMD.
    The only benefit I see to MC is that you can run either as the currently logged in user (though don't have much of a need of that myself).

    Well for one thing, it's not Windows-only. Also it is lighter, no GUI being passed through. Backstage is, I think, a newer thing.

  • 0 Votes
    4 Posts
    793 Views
    wrx7mW

    Turns out that there was a wildcard A record in DomainA2.com

  • Cleanup script help

    Solved
    7
    1 Votes
    7 Posts
    471 Views
    JaredBuschJ

    ok this is what I came up with.

    #!/bin/bash # Send everything to logs and screen. exec 1> >(logger -s -t $(basename $0)) 2>&1 # Variables and descriptions of their use. # Array of dates found in the filename of the backup files. arrDates=() # Number of full backup sets to keep. keep=4 # How many full backup sets have been found. found=0 # Bas path to the backup files, minus the last folder. base="/home/jbusch/" # Full path to the backup files, populated by the script. path="" # This script requires that the final folder name be passed as a paramter. # This is because it is designed to be ran independently for each subfolder. # ex: ./file_cleanup.sh Hartford # ex: ./file_cleanup.sh Seymour #check for the path to be passed if [ ! -z "$1" ] then # Create the full path to be checked based on the passed parameter. path=$base$1 else exit 127 fi printf "Executing cleanup of backup files located in $path.\n" # Loop through all of the files in the path and parse out an array of the file dates from the file names. # All backups are named `backup-0000001-YYYYMMDD-XXXX*`. cd $path for f in backup-* do # The date is from character 15 for 8 characters. arrDates=("${arrDates[@]}" "${f:15:8}") done cd ~ # Sort in reverse order and only show unique dates. arrDates=($(printf '%s\n' "${arrDates[@]}" | sort -ru)) # Loop through the array of dates and check for there to be 4 files for each date. for checkdate in "${arrDates[@]}" do count=$(find "$path"/backup-0000001-"$checkdate"-* -type f -printf '.' | wc -c) if [ $count -eq 4 ] && [ $found -lt $keep ] then found=$((found+1)) printf "Checking $checkdate, we found $count files. We are keeping this date, currently we have $found dates saved.\n" elif [ $count -gt 0 ] && [ ! $count -eq 4 ] then printf "Incorrect number of files '('$count')' found, removing invalid backup dated $checkdate.\n" rm $path/backup-*-$checkdate-* elif [ $count -gt 0 ] && [ $found -eq $keep ] then printf "We have already found $keep full sets of backup files. Removing backup files dated $checkdate.\n" rm $path/backup-*-$checkdate-* else printf "The date $checkdate returned $count files. This is an unhandled scenario, doing nothing.\n" fi done

    output look like this

    [jbusch@dt-jared FTPTest]$ ./file_cleanup.sh FTPTest <13>Jan 7 16:51:59 file_cleanup.sh: Checking 20200107, we found 4 files. We are keeping this date, currently we have 1 dates saved. <13>Jan 7 16:51:59 file_cleanup.sh: Checking 20200105, we found 4 files. We are keeping this date, currently we have 2 dates saved. <13>Jan 7 16:51:59 file_cleanup.sh: Checking 20200104, we found 4 files. We are keeping this date, currently we have 3 dates saved. <13>Jan 7 16:51:59 file_cleanup.sh: Checking 20200103, we found 4 files. We are keeping this date, currently we have 4 dates saved. <13>Jan 7 16:51:59 file_cleanup.sh: We have already found 4 full sets of backup files. Removing backup files dated 20200102. <13>Jan 7 16:51:59 file_cleanup.sh: We have already found 4 full sets of backup files. Removing backup files dated 20191230. <13>Jan 7 16:51:59 file_cleanup.sh: We have already found 4 full sets of backup files. Removing backup files dated 20191228.
  • Chromebook and ScreenConnect

    20
    0 Votes
    20 Posts
    2k Views
    scottalanmillerS

    @JaredBusch said in Chromebook and ScreenConnect:

    @scottalanmiller said in Chromebook and ScreenConnect:

    @JaredBusch said in Chromebook and ScreenConnect:

    Heard more from the user.

    Would prefer 15" screen and a numeric keypad... /sigh..

    Found this one. https://www.amazon.com/Acer-CB715-1W-P4Y6-Chromebook-4417U-Chrome/dp/B07W996BQ5

    Anyone have a comment on it?

    Only 32GB, but it is supposed to be only for browsing and ScreenConnect.

    32GB is PLENTY. I don't even need the 16GB that I have. And 8GB of RAM, that's a monster of a Chromebook. Should be way, way fast enough. Just really expensive is all.

    Mostly it is the form factor, I think, 15” with the numeric keypad

    True, the extra size brings up the price quite quickly.

  • SodiumSuite Questions for 2020 Q1

    5
    0 Votes
    5 Posts
    342 Views
    scottalanmillerS

    Forked this out as it was all about SS and not the OP's RMM questions. Although he did also ask about SS status, so I'll just tag him here @openit

  • Wazuh Agent Dashboard

    Unsolved
    1
    0 Votes
    1 Posts
    457 Views
    No one has replied
  • Can you use fetchmail with a proxy?

    4
    0 Votes
    4 Posts
    467 Views
  • Batch rename to remove additional .EXTENSION

    5
    0 Votes
    5 Posts
    473 Views
    G I JonesG

    I figured it out!

    ren *.zip.jpg *.
  • When Can IT Know a Password for a User

    36
    0 Votes
    36 Posts
    1k Views
    DashrenderD

    @scottalanmiller said in When Can IT Know a Password for a User:

    When working with doctors, one of the first things we see everywhere is that they commonly require the same password for all staff and have it published everywhere. That our Rocket.Chat logins are the one secure thing in a sea of insecurity makes it the absolute last point of concern in their entire environment.

    ug - so true...

  • Building A Hugo Site From a Theme

    12
    3 Votes
    12 Posts
    1k Views
    stacksofplatesS

    @IRJ said in Building A Hugo Site From a Theme:

    Help @stacksofplates

    9ae3eb54-ad8b-448b-b2ee-5dfbf7a7b92c-image.png

    Do you need the source or are you just building a site with Hugo?

  • 2020 Dell XPS 13 Developer Edition

    1
    0 Votes
    1 Posts
    337 Views
    No one has replied
  • MeshCentral - 2019 Review and New Features

    2
    1 Votes
    2 Posts
    435 Views
    scottalanmillerS

    The new views really make a huge difference. Going to the top bar view, removing the bottom bar, adding dark mode. I have way more screen real estate and feel like I can get to what I need more quickly.

  • 1 Votes
    11 Posts
    5k Views
    M

    Got it all working. Thanks for everyone's assistance!

  • Memory Protection What are you using?

    1
    3 Votes
    1 Posts
    378 Views
    No one has replied
  • AviMark: Database Not Active

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    21 Posts
    4k Views
    scottalanmillerS

    This is working on several machines now. But @romo reports that it is still hit or miss, it's not a reliable or permanent fix, but it more reliable than other attempts. It remains, as MS has stated, somewhat random.

  • FusionPBX - 2020

    7
    2 Votes
    7 Posts
    684 Views
    JaredBuschJ

    @scottalanmiller said in FusionPBX - 2020:

    @JaredBusch said in FusionPBX - 2020:

    The developers use Debian. So use that.

    This is my general rule. unless they use something insane or unnecessarily expensive, I do this above all other things.

    For packaged systems like a PBX.

    For other things like web apps. I tend to put them on Fedora (my chosen OS), no matter what the dev team uses.

    Looking at you Nexcloud.

  • Zabbix 4.4 on Ubuntu 18.04

    3
    1 Votes
    3 Posts
    475 Views
    hobbit666H

    So i've been doing some playing and re-installed using the packages but on CentOS8.

    Once this was up i just created a simple zabbix.conf in the httpd/conf.d folder that pointed :80 traffic to /zabbix url.
    Then did the same with a ssl.conf pointing it to /zabbix. Once tested and OK, then added a re-direct lines to the zabbix.conf file to go direct to https://

    Guess a similar thing should work on Ubuntu.

  • 0 Votes
    4 Posts
    359 Views
    Emad RE

    @scottalanmiller

    I see , how is your PHP.ini

    max_execution_time = 300 max_input_time = 180 max_input_vars = 10000 memory_limit = 512M error_reporting = E_ALL post_max_size = 64M upload_max_filesize = 64M max_file_uploads = 40

    and PHP mode are you working on, mod_php or FPM.

  • NextCloud: Scan local files into db

    7
    0 Votes
    7 Posts
    4k Views
    scottalanmillerS

    @black3dynamite said in NextCloud: Scan local files into db:

    Why haven’t Nextcloud change occ to ncc?

    Would break scripts and stuff. Now sure, links, but that gets messy. OCC doesn't cause a problem, keeping it is the right thing.