Page 1 of 1

Sources

Posted: Wed Feb 26, 2025 12:40 pm
by frankbe
Hi,

i run the scanner script - should there be the version number in the column available ?
atmbehost.png
atmbehost.png (66.84 KiB) Viewed 1739 times
and in the list of sources, should the button be green ?
atmbehost1.png
atmbehost1.png (15.16 KiB) Viewed 1739 times

Re: Sources

Posted: Thu Feb 27, 2025 5:55 pm
by Cubert
By default you do not need to apply a source to your Linux distros unless you want to add a 3rd party repo to capture a LOB application or such. But yes, grey is the color of icon.

As for the updates. obviously thats not right. We need to see what was returned from the agent during the scheduled script execution on agent.

Have a look at script and command logs during the timefram of a scheduled script scan and look at what it was returning. Post a copy of that here and I can see if there was some malformation. Open up the agent in the control center and review the script logs and command logs while script was running.

Scripts Log:

Screenshot 2025-02-27 125356.png
Screenshot 2025-02-27 125356.png (46.22 KiB) Viewed 1559 times

Commands Log


Screenshot 2025-02-27 125451.png
Screenshot 2025-02-27 125451.png (80.94 KiB) Viewed 1559 times

Re: Sources

Posted: Fri Feb 28, 2025 11:39 am
by frankbe
i think i found the problem:

Your script depends on english for the default system language
We have german System and so output for german is for example :

apt-cache policy bash
bash:
Installiert: 5.2.15-2+b2
Installationskandidat: 5.2.15-2+b7
Versionstabelle:
5.2.15-2+b7 500
500 http://ftp.de.debian.org/debian bookworm/main amd64 Packages
*** 5.2.15-2+b2 100
100 /var/lib/dpkg/status

and in english:
bash:
Installed: 5.2.15-2+b2
Candidate: 5.2.15-2+b7
Version table:
5.2.15-2+b7 500
500 http://ftp.de.debian.org/debian bookworm/main amd64 Packages
*** 5.2.15-2+b2 100
100 /var/lib/dpkg/status


You look for the string "candidate"

Can you check your sripts and change the language to english maybe with
LANG=en_US_8859_1

Re: Sources

Posted: Fri Feb 28, 2025 8:24 pm
by Cubert
yes Let me look at this as well.

Re: Sources

Posted: Sat Mar 01, 2025 6:40 pm
by Cubert
In build 1.0.0.26 Due out today, I added to all scripts that create bash scripts for Linux or Mac to now include at the top

Code: Select all

export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8