Changes for page Unix Agent installieren
Last modified by Sabrina V. on 2026/03/31 05:56
From version 9.1
edited by Sabrina V.
on 2026/03/31 05:56
on 2026/03/31 05:56
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -Unix Agent - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. SV1 +XWiki.jklein - Content
-
... ... @@ -3,14 +3,6 @@ 3 3 (% class="wikigeneratedid" %) 4 4 The Unix Agent is the completely renewed and technically revised further development of the Linux and Mac agents. The agent can be deployed and installed without Python using a supplied Client Command. The inventory data is transmitted to the ACMP Server in full and updated. 5 5 6 -{{aagon.infobox}} 7 -If you use Unix clients that are not connected to the network, you can inventory them using the [[Unix Offline Scanner>>doc:ACMP.69.Arbeiten mit der ACMP Console.Clients erfassen.Offline Scanner.WebHome||anchor="“HRunUnixOfflineScanner”"]]. 8 -{{/aagon.infobox}} 9 - 10 -{{aagon.versionierungsbox}} 11 -Please note that the assignment of a maintenance window profile to containers with Unix agents is only supported in its full form starting with AESB version 1.12. Additionally, creating a maintenance window profile is possible starting with ACMP version 6.9. 12 -{{/aagon.versionierungsbox}} 13 - 14 14 = Installation requirements = 15 15 16 16 There are several requirements for you and your system for installing the Unix Agent. ... ... @@ -39,6 +39,10 @@ 39 39 * Linux and MacOS Clients must be able to reach SICS via Rest (any firewalls must allow port 3950). 40 40 * Firewall settings for SICS must be customizable if necessary. 41 41 34 +{{aagon.warnungsbox}} 35 +If you want to install the Unix agent on MacOS devices with an M1 or M2 chip, you must first install the //Rosetta 2 //framework on your MacOS devices. For more information, see [[Apple Support.>>https://support.apple.com/de-de/102527]] 36 +{{/aagon.warnungsbox}} 37 + 42 42 = Installation with the Client Command = 43 43 44 44 An existing SICS connection to the ACMP server is required to install the Unix Agent. If you have not yet configured a SICS connection, you must do so first. Instructions for configuring the SICS connection can be found in the section [[Configuring the SICS connection>>doc:AESB.19.AESB installieren, konfigurieren und aktualisieren.SICS-Verbindung konfigurieren.WebHome]]. ... ... @@ -45,11 +45,11 @@ 45 45 46 46 The Unix Agent is installed using a Client Command in ACMP. To do this, the Client Command must first be imported and released. 47 47 48 -{{aagon.warn ungsbox}}44 +{{aagon.warning box}} 49 49 Installing the Unix Agent stops and removes the Linux Agent. 50 50 51 51 The ClientID used by the Linux Agent is retained and reused by the Unix Agent. 52 -{{/aagon.warn ungsbox}}48 +{{/aagon.warning box}} 53 53 54 54 === Import and release Client Command === 55 55 ... ... @@ -67,7 +67,7 @@ 67 67 68 68 In the dialog window that opens, click the //Execute// button. The Client Command interface opens, where you can configure the installation of the Unix Agent. 69 69 70 -[[Configuring the Unix Agent using the Client Command>>image:Unix Agent - Fallback-SICS.png||alt= "“Configuring"data-xwiki-image-style-alignment="center"height="600" width="480"]]66 +[[Configuring the Unix Agent using the Client Command>>image:Unix Agent - Fallback-SICS.png||alt=“Configuring the Unix Agent using the Client Command” data-xwiki-image-style-alignment=“center” height="600" width="480"]] 71 71 72 72 = Configuring the Unix Agent = 73 73 ... ... @@ -77,7 +77,7 @@ 77 77 78 78 The Unix Agent is transferred to the target computers via SSH; valid user data must be entered accordingly. Unlike the Linux Agent, the Unix Agent transfers the scan data directly to the ACMP Server. 79 79 80 -{{aagon.warn ungsbox}}76 +{{aagon.warningsbox}} 81 81 The user whose user data is specified as SSH credentials for the installation must be created on each of the target computers and have “sudo” rights (superuser do) there. 82 82 {{/aagon.warnungsbox}} 83 83 ... ... @@ -91,9 +91,12 @@ 91 91 92 92 You can also specify multiple fallback SICS connections in the tabs. If the primary SICS connection fails and cannot be used, an attempt is made to establish a connection to another defined SICS and to carry out the transfer via one of the fallback connections. The list of fallback SICS connections is used continuously, starting with fallback SICS #1, until a connection to one of the defined fallback SICS connections can be established or there are no more fallback connections in the list. 93 93 94 -{{aagon.infobox}} 90 +(% class="box infomessage" %) 91 +(( 92 +[[image:https://doc.aagon.com/bin/download/XWiki/Aagon Infobox/WebHome/Information.svg||alt=“Note” height="32" width="32"]] **Note: ** 93 + 95 95 If the connection to one of the defined fallback SICS could be established successfully, the connection is maintained until the next restart. 96 - {{/aagon.infobox}}95 +))) 97 97 98 98 === Options === 99 99 ... ... @@ -111,9 +111,11 @@ 111 111 112 112 To install the Unix Agent as a permanent resource, you can execute the agent in the //Agent Installation// mode. The Unix Agent is now transferred to the target computer and registered as a service. Following installation, the agent starts automatically and obtains its configuration from ACMP within 10 minutes. The agent is now entered as a client in ACMP and contains the basic client details. The execution file can be found under the path: ##/usr/local/sbin/aagon/ACMPUnixAgent/## 113 113 114 -The agent also uses another directory to store various resources that are relevant to the agent. This directory can be found under the path:## /etc/aagon/ACMPUnixAgent/##113 +The agent also uses another directory to store various resources that are relevant to the agent. This directory can be found under the path:## /etc/aagon/ACMPUnixAgent/## 115 115 115 +(( 116 116 The Agent Tasks templates are used to execute the scanners. These can be used in exactly the same way as with the ACMP Windows Agent (Container). The following jobs are currently taken into account within the Agent Tasks: 117 +))) 117 117 118 118 * System scanner 119 119 * Software scanner ... ... @@ -127,7 +127,7 @@ 127 127 128 128 In the //Activated Scanners// area, you can disable individual scanners. This is useful if you do not need certain information or if problems occur with one or more scanners. 129 129 130 -=== C lientCommandSettings ===131 +=== CC Settings === 131 131 132 132 By clicking the checkbox in the CC Settings area, you can specify that no confidential information (e.g., passwords) is stored in the Client Command. 133 133 ... ... @@ -136,7 +136,7 @@ 136 136 After executing the Client Command, a dialog window will appear informing you whether the Client Command was executed successfully. The number of processed Clients is displayed, along with information on whether connection errors (SSH errors) were detected. 137 137 138 138 {{figure}} 139 -[[image:CC_Erfolgsmeldung.png||alt= "“Success"data-xwiki-image-style-alignment="“center”"]]140 +[[image:CC_Erfolgsmeldung.png||alt=“Success message about installation of the Unix Agent” data-xwiki-image-style-alignment=“center”]] 140 140 141 141 {{figureCaption}} 142 142 Success message about installation of the Unix Agent ... ... @@ -145,104 +145,86 @@ 145 145 146 146 = Logging = 147 147 148 - If connectionerrorsoccurduringthe execution oftheUnix Agent,theseerrorsare writtentothefile ##SSH_Errors.log##andtothelogof the Client Command.Youcanfindthefile either inthedefault folder ##C:\Logs## or inthedirectoryyouspecifiedforloggingthe Unix Agent.149 +Sollte es bei der Ausführung vom Unix Agent zu Verbindungsfehler kommen, werden diese Fehler in die Datei ##SSH_Errors.log## und in das Log des Client Commands geschrieben. Die Datei finden Sie entweder im Standard-Ordner ##C:\Logs## oder in dem Verzeichnis, das Sie für das Logging des Unix Agents angegeben haben. 149 149 150 150 {{aagon.infobox}} 151 - Theseconnectionerrorsdonotcausethe Client Commandto be terminated.Therefore,these errorsarenotdisplayedifyou haveselectedtheloggingsetting //Onlyonerrors//fortheconsolelog.152 +Diese Verbindungsfehler führen nicht zu einem Abbruch des Client Commands. Daher werden diese Fehler nicht angezeigt, wenn Sie die Logging-Einstellung //Nur bei Fehlern //für das Consolen-Log ausgewählt haben. 152 152 {{/aagon.infobox}} 153 153 154 - If you wouldliketo receiveimmediatefeedbackabout possibleconnectionerrorsafterexecutingthe Client Command,youshould eitherselectthe//Always//optionfortheconsole logsettingsorcheckthefile ##SSH_Errors.log##.155 +Falls Sie also nach einer Ausführung des Client Commands direkt Feedback über mögliche Verbindungsfehler haben möchte, sollte Sie für die Logging-Einstellung des Consolen-Logs entweder die Option //Immer //wählen oder in der Datei ##SSH_Errors.log## nachschauen. 155 155 156 156 = Troubleshooting = 157 157 158 - Belowyou willfind solutionstovariousproblemsthat may occurduring the installationof the Unix Agent.159 +Im Folgenden finden Sie Lösungen zu verschiedenen Problemen, die bei der Installation des Unix Agent auftreten können. 159 159 160 160 ---- 161 161 162 -**Symptom:** The Unix Agentcouldnotbedeployed ontheClientsand noerrorsare displayed inthelog.163 +**Symptom:** Der Unix Agent konnte nicht auf den Clients verteilt werden und im Log werden keine Fehler angezeigt. 163 163 164 -** Cause: **The Unix Agentdoes notyetexist asa service,sonoerrorscanbewrittentothelog.165 +**Ursache: **Der Unix Agent ist noch gar nicht als Service vorhanden, daher können auch keine Fehler in das Log geschrieben werden. 165 165 166 -** Action: **Start troubleshootinginyoursystem'sjournalctlandfind entriesforthe failedinstallationof the Unix Agent.167 +**Maßnahme: **Beginnen Sie die Fehlersuche im journalctl Ihres Systems und suchen Sie dort nach Einträgen zur fehlgeschlagenen Installation des Unix Agents. 167 167 168 168 ---- 169 169 170 -**Symptom:** Afterdistributingthe Unix Agentusingthe Client Command,the Unixclientdoesnotappearin ACMP.171 +**Symptom:** Nach der Verteilung des Unix Agents mittels des Client Commands taucht der Unix-Client nicht in ACMP auf. 171 171 172 -** Cause:**Anerroroccurred duringthe executionofthe Client Command,butwasnotimmediately apparent duetothesettings.173 +**Ursache:** Es trat ein Fehler bei der Ausführung des Client Commands auf, der aber aufgrund der Einstellungen nicht direkt ersichtlich war. 173 173 174 -** Action:**Inthepropertiesofthe Client Command inthe plugin //Options//inthe Combobox //Show consolelog//enabletheoption //Onlyonerrors//andconfirmthe175 - dialogwith//OK//.After executingthe Client Commandagain,a consolelog shouldnowbe displayedinthe eventof anerror,whichmay provideinformationaboutthecauseoftheproblem.175 +**Maßnahme:** Aktivieren Sie in den Eigenschaften des Client Commands im Plugin //Optionen //in der Combobox //Consolen-Log anzeigen// die Option //Nur bei Fehlern// und bestätigen Sie den 176 +Dialog mit //OK//. Nach einer erneuten Ausführung des Client Commands, sollte nun im Falle eines Fehlers ein Consolen-Log angezeigt werden, das ggf. Aufschluss über die Ursache des Problems liefert. 176 176 177 - Ifthe Unixsystemsstilldo notappearinACMP,theremaybemanyreasonsfor this.It isthereforerecommendedtoactivatelogging fortheagentandthe SICS.Then go throughthe chainfromstarttoend.178 +Falls die Unix-Systeme immer noch nicht im ACMP auftauchen, kann dies viele Gründe haben. Deswegen empfiehlt es sich, das Logging für den Agent und den SICS zu aktivieren. Anschließend sollte man die Kette von Anfang bis Ende durchgehen. 178 178 179 179 ---- 180 180 181 -**Symptom:** Afterdistributingthe Unix Agentusingthe Client Command,the Unixclientdoesnotappearin ACMP.The error“Invalid input detected: endpoint”is displayed intheSmartInspect log.182 +**Symptom:** Nach der Verteilung des Unix Agents mittels des Client Commands taucht der Unix-Client nicht in ACMP auf. Im SmartInspect Log wird der Fehler „Invalid input detected: endpoint" angezeigt. 182 182 183 -** Cause:**Anerroroccurred duringtheconnectiontoSICSbecausetheprotocolmaynot havebeenprefixedduringthe connection.You canseethisinthe SmartInspectlog intherow//Application settings//: ##“SicsEndpoint: <AESB-SICS-NAME_IP>:3950”##184 +**Ursache:** Es trat ein Fehler bei der Verbindung zum SICS auf, weil das Protokoll ggf. bei der Verbindung nicht vorangestellt wurde. Dies können Sie im SmartInspect Log in der Zeile //Application settings// erkennen: ##„SicsEndpoint: <AESB-SICS-NAME_IP>:3950“## 184 184 185 -** Action:**MakesurethattheSICSendpointis set to##wss:~/~/<AESB-SICS-NAME_IP>:3950##and notjust##<AESB-SICS-NAME_IP>:3950##186 +**Maßnahme:** Stellen Sie sicher, dass als SICS-Endpoint ##wss:~/~/<AESB-SICS-NAME_IP>:3950## verwendet wird und nicht nur ##<AESB-SICS-NAME_IP>:3950## 186 186 187 187 ---- 188 188 189 -**Symptom:** The Unix Agent isnotlocatedon thetargetsystem atthefollowing location: ##/usr/local/sbin/aagon/ACMPUnixAgent.##190 +**Symptom:** Der Unix Agent liegt nicht auf dem Zielsystem an der Stelle: ##/usr/local/sbin/aagon/ACMPUnixAgent.## 190 190 191 -** Cause:**Theremaybeseveral causes forthisproblem:192 +**Ursache:** Diesem Problem können mehrere Ursachen zugrunde liegen: 192 192 193 -* Theloginuseris notallowedto obtain rootrightsviasudo.194 -* Theuserhasrootrights, butrootis notallowedtologinvia SSH.195 -* Theuserhasrootrightsandrootis notallowedtologinvia SSH, butthe SSHdaemonisnot runningproperly.194 +* Der Loginuser darf sich nicht per sudo Root-Rechte verschaffen. 195 +* Der User besitzt Root-Rechte, aber Root darf sich nicht per SSH einloggen. 196 +* Der User besitzt Root-Rechte und Root darf sich nicht per SSH einloggen, aber der SSH-Daemon läuft nicht ordnungsgemäß. 196 196 197 -** Action:**Makesurethatthe SSHuserisallowedtologinviaSSH and canobtain rootrights.198 +**Maßnahme:** Stellen Sie sicher, dass der SSH-Benutzer sich per SSH einloggen darf und sich Root-Rechte verschaffen kann. 198 198 199 199 ---- 200 200 201 -**Symptom:** The Unixagent startsbutdoesnotreachthe//running//status.202 +**Symptom:** Der Unix Agent startet, erreicht aber nicht den Status //running//. 202 202 203 -** Cause:**Theagentdoesnotseemto beable to connecttoSICS.204 +**Ursache:** Der Agent scheint keine Verbindung zum SICS zu bekommen. 204 204 205 -** Action:**CheckwhetherthenetworkconnectiontoSICSis working.If this doesnotsolvethe problem,enablelogginginthe Client Command andperformtheactionagain.Then lookforerrormessagesintheoutput.206 +**Maßnahme:** Überprüfen Sie, ob die Netzwerkverbindung zum SICS funktioniert. Falls dies das Problem nicht behebt, aktivieren Sie das Client Command das Logging und führen Sie die Aktion erneut durch. Suchen Sie anschließend in der Ausgabe nach Fehlermeldungen. 206 206 207 207 ---- 208 208 209 -**Symptom:** Theagent isnotstartedatsystem start.210 +**Symptom:** Der Agent wird beim Systemstart nicht mit gestartet. 210 210 211 -** Cause:**Somethingwent wrong whensetting uporstartingthe service.212 +**Ursache:** Beim Einrichten oder Starten des Dienstes ist etwas fehlgeschlagen. 212 212 213 -** Action:**Executethe Client Commandforinstallingthe UnixAgentagain.214 +**Maßnahme:** Führen Sie das Client Command zur Installation des Unix-Agent erneut aus. 214 214 215 215 ---- 216 216 217 -**Symptom:** The Unix Agentis running, but thecorrespondingUnixclientdoesnotappearinan ACMPquery.218 +**Symptom:** Der Unix Agent läuft, aber der entsprechende Unix-Client taucht nicht in einer ACMP-Abfrage auf. 218 218 219 -** Cause:**The SICScannotforwardthescandataof the Unix Agent tothe ACMP Serverbecausetheconnectionisnotavailable.220 +**Ursache:** Der SICS kann die Scan-Daten des Unix Agenten nicht an den ACMP Server weiterleiten, weil die Verbindung nicht verfügbar ist. 220 220 221 -** Action:**Checkin the ACMP ConsolesettingswhethertheSICSconnectionof the ACMP Serverisstill working(intheACMP Server / SICSconnectionplugin)andwhetherthecheckbox for SICSuserstoaccessthepublic APIisactivated.Furtherinformationonthisproblemcanbe foundinthe logof the ACMP Server orthe Unix Agent.222 +**Maßnahme:** Prüfen Sie in den Einstellungen der ACMP Console, ob die SICS-Verbindung des ACMP Servers noch funktioniert (im Plugin ACMP Server / SICS-Verbindung) und ob die Checkbox für den Zugriff von SICS-Benutzern auf die Public API aktiviert ist. Weitere Informationen zu diesem Problem finden Sie ggf. im Log des ACMP Servers oder des Unix Agents. 222 222 223 223 ---- 224 224 225 -**Symptom:** The Unixclient appears inanACMP query,but no scandatais available.226 +**Symptom:** In einer ACMP-Abfrage taucht der Unix-Client auf, aber es sind keine Scandaten verfügbar. 226 226 227 -** Cause:**Duringinstallation,thesystemwaitsbetween 2and 10minutes untilthe scansettingsforthis Unixclientareretrievedby sending a requesttotheACMP Server.228 +**Ursache:** Bei der Installation wird zwischen 2 und 10 Minuten gewartet, bis mittels einer Anfrage an den ACMP Server die für diesen Unix-Client getätigten Scan-Einstellungen geholt werden. 228 228 229 -**Action: **If necessary, wait a little longer until the scan data has been loaded. If no scan data appears after significantly more than 10 minutes, you should enable logging for all components involved and check the entire chain from start to end for errors. 230 - 231 -= **Updating the Unix Agent** = 232 - 233 -Updating the Unix Agent is done in the same way as its [[installation via a Client Command.>>https://doc.aagon.com/bin/view/ACMP/69/Arbeiten%20mit%20der%20ACMP%20Console/Clients%20erfassen/Unix%20Agent%20installieren/?language=en#HInstallationwiththeClientCommand]] 234 - 235 -In this process, the agent is redistributed and installed on the target systems via the ACMP Console. The transfer takes place via SSH using the appropriate permissions. During execution, the existing agent is replaced by the current version and reconfigured as a service. 236 - 237 -The agent then starts automatically and takes over the existing communication with the ACMP Server. 238 - 239 -= Administration of Linux and MacOS Clients = 240 - 241 -Previously, clients running Linux or macOS could only be detected and inventoried with the Unix Agent. They could not, however, be administered, and no shell scripts or jobs could be executed on these clients. Now, newly detected Linux and macOS clients can be managed if inventoried using the Unix Agent. This also enables the automated, time-controlled execution of Unix scripts as jobs. For more info, see the section [[Unix Scripts>>doc:ACMP.68.ACMP-Solutions.Desktop Automation.Unix Scripts.WebHome]]. 242 - 243 -(% class="box infomessage" %) 244 -((( 245 -[[image:https://doc.aagon.com/bin/download/XWiki/Aagon Infobox/WebHome/Information.svg||alt="Hinweis" height="32" width="32"]] **Note: ** 246 - 247 - All Linux and MacOS clients that are registered with Unix Agent version 1.10 or older cannot be managed. To make your Linux or MacOS clients manageable, register them again via the Unix Agent. 248 -))) 230 +**Maßnahme: **Warten Sie ggf. noch etwas länger, bis die Scandaten geladen wurden. Falls nach deutlich mehr als 10 Minuten immer noch keine Scandaten auftauchen, sollten Sie das Logging für alle beteiligten Komponenten aktivieren und die gesamte Kette von Anfang bis Ende auf Fehler prüfen. 231 +{{/aagon.warning}}

