Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global automation polices aren't applied to Linux agents #1191

Closed
1 task done
ddkooker2 opened this issue Jun 25, 2022 · 4 comments
Closed
1 task done

Global automation polices aren't applied to Linux agents #1191

ddkooker2 opened this issue Jun 25, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@ddkooker2
Copy link

Server Info (please complete the following information):

  • OS: Ubuntu 20.04 LTS
  • Browser: Edge
  • RMM Version (as shown in top left of web UI): v0.13.4

Installation Method:

  • Standard

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): v2.1.0-dev
  • Agent OS: Ubuntu 20.04 LTS

Describe the bug
I've assigned some Global Polices for Servers/Workstations under settings -> Global Settings
I've made some monitoring Scripts for windows and for Linux, both are added in the automation policy which is configured under Global Settings, under Windows all checks and tasks are assigned correctly and are showing only Windows Scripts (configured in script manager as platform. However the Linux agents aren't getting any policies from the Global configuration.

I've tested this in 2 different environments (both use the same operating systems as given aboven) and both have the same behavior as described here.

To Reproduce
Steps to reproduce the behavior:

  1. Configure a Policy with Check scripts for Windows and for Linux
    image
  2. Go to Settings -> Global Setting and configure the policy created in step 1
  3. Check under your agents if the checks become available
    3.1. Under a Windows agent:
    image
    3.2. Under a Linux agent:
    image

Expected behavior
What I expect to happen is that the available Linux scripts would be applied on the Linux Agents.
When i manually assign the same Automation Policy to the agent the Linux check scripts show up and are working.
image
image

@silversword411 silversword411 added the bug Something isn't working label Jun 25, 2022
@Zebble
Copy link

Zebble commented Aug 11, 2022

To add to this...

Something changed in at least 0.14.6.

Now none of my Linux agents have any checks applied by a policy listed (I haven't tried manually adding directly to an agent), whether they were added before or after the upgrade.

I also tried the "Clear Cache" trick that worked before for policy issues.

@wh1te909
Copy link
Member

the policy stuff hasn't really been reworked yet for multi OS support so for now the workaround is to just use add the checks individually on each linux agent, or create a new site just for linux and apply policy there

@sadnub
Copy link
Collaborator

sadnub commented Aug 14, 2022

You need to make sure the supported platform for those scripts is set to ALL or linux for script checks to apply to Linux agents. Only script checks and ping checks are supported at this time.

@sadnub sadnub self-assigned this Aug 14, 2022
@sadnub
Copy link
Collaborator

sadnub commented Aug 14, 2022

I actually was able to track down the issue. This will be in the next release.

Thanks!

@sadnub sadnub closed this as completed Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants