Table of Contents
Environnement virtuel Python
-
Se connecter en SSH au serveur Tactical RMM.
-
Lancer l'environnement virtuel python :
cd /rmm/api/tacticalrmm source ../env/bin/activate
Les commandes
-
Reset a user's password :
python manage.py reset_password USERNAME
-
Reset a user's 2fa token :
python manage.py reset_2fa USERNAME
-
Find all agents that have X software installed :
python manage.py find_software "adobe"
-
Show outdated online agents :
python manage.py show_outdated_agents
-
Log out all active web sessions :
python manage.py delete_tokens
-
Check for orphaned tasks on all agents and remove them :
python manage.py remove_orphaned_tasks
-
Create a MeshCentral agent invite link :
python manage.py get_mesh_exe_url
-
Bulk update agent offline/overdue time :
- Change offline time on all agents to 5 minutes :
python manage.py bulk_change_checkin --offline --all 5
- Change offline time on all agents in site named Example Site to 2 minutes :
python manage.py bulk_change_checkin --offline --site "Example Site" 2
- Change offline time on all agents in client named Example Client to 12 minutes :
python manage.py bulk_change_checkin --offline --client "Example Client" 12
- Change overdue time on all agents to 10 minutes :
python manage.py bulk_change_checkin --overdue --all 10
- Change overdue time on all agents in site named Example Site to 4 minutes :
python manage.py bulk_change_checkin --overdue --site "Example Site" 4
- Change overdue time on all agents in client named Example Client to 14 minutes :
python manage.py bulk_change_checkin --overdue --client "Example Client" 14