Quenten Grasso Posted August 7, 2018 Share Posted August 7, 2018 Hi, So as I start to get used to Pulseway, here's quick script I've made up to change the *Nix/Win computer group on the fly. I haven't yet found an easier way to do it yet. This seems to work for me so hopefully it helps someone else. I've just created a Script Category and added a version of this script per customer/group in this folder. So create your script edit the Group below to suite your requirements. Linux/Bash Tab #!/bin/bash if [ -f /bin/sed ] then cp /etc/pulseway/config.xml /etc/pulseway/config.xml.backup /bin/sed -i '/<ComputerInformation Name="" Group="/c\<ComputerInformation Name="" Group="My Company - Linux Servers"/>' /etc/pulseway/config.xml else echo "Sed not found!" fi Windows/Powershell Tab Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name GroupName -Value "My Company - Windows Servers" David 1 Link to comment Share on other sites More sharing options...
David Posted August 10, 2018 Share Posted August 10, 2018 Excellent, thanks Quenten. Link to comment Share on other sites More sharing options...
NathanB Posted October 19, 2018 Share Posted October 19, 2018 Super helpful, but these kinds of basic function should be available as a default in the Pulseway portal. Link to comment Share on other sites More sharing options...
Staff Chris Posted October 25, 2018 Staff Share Posted October 25, 2018 Hi @NathanB, Please note, that this functionality will no longer work after we will upgrade Pulseway to the version 6.0. In version 6.0 all your monitored systems will be owned by the server and server will no longer trust any changes which are maid on the system in regards of the change of the group name. If the system is known to the server, then server will overwrite all the changes which are made on the agent. In order to move the system from one group to another you will need to use the Pulseway WebApp -> Server Admin -> Configuration section. Or for the Free accounts Systems -> Configuration section. NathanB 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now