UPDATE ......From Tuesday 8 April 2025 we have changed the way that Single Sign-on works on this wiki. Please see here for more information:
Update
...
Tip: "application.properties" file needs to be created in "/msr-cacti-utilisation/src/main/resources" inside that file it should have this line "files.outputdirectory=C:\\Users\\Omar\\projects\\fix-scripts\\ " This is the path for "fix_scripts" folder.
Steps to follow:
- Open Eclipse/IntelliJ and browse to "msr-cacti-utilisation" - As mentioned above, this is in Git https://gitlab.geant.net/msr-automation/cacti-utilisation
- Make sure to change the month and year in the "Main" class "cacti-utilisation\src\main\java\org\geant\msr\utilisation\Main.java" Lines 36 and 37
- Run the maven project (cacti utilisation) from Eclipse/IntelliJ. This will generate the script files and will save them in ""fix-scripts" folder.
- Copy the produced files (C:\Users\Omar\projects\fix-scripts) to your home directory on "prod-cacti01-fra-de.geant.net". You can use WinSCP client from Windows machine.
- Log into prod-cacti01-fra-de.geant.net as yourself
- Copy the scripts from your home directory to "/home/cactiuser/scripts" on "prod-cacti01-fra-de.geant.net". To copy multiple files: sudo cp fix_* /home/cactiuser/scripts/
...