From Asenjo
Jump to: navigation, search

Change root password

The first thing to do in a new RT installation is to change the database root user password. The default password is 'password' and provided this user has all rights in the database, we need to change this.

Log in the web interface of RT and click on the home page in 'preferences'
Error creating thumbnail: File missing
Click then in 'About me'
Error creating thumbnail: File missing

and enter your new password twice in the 'Password' fields 'New Password' and 'Retype Password' and click on 'Save

Preferences' on the right bottom corner.
Error creating thumbnail: File missing

Grant the database root user superuser rights to Asset Tracker

First, let's grant the superuser (root) of the database also rights to the assets. Standard it has no rights to the assets table.

  • we go to 'Configuration' (image 1)
  • we click on 'Global' (image 2)
  • click on 'At User Rights' (image 3)
  • we see that the only user in the system is 'root' (this is a new installation, remember?). This user has 'no rights granted'.
  • To make it superuser of AT, we select the field 'SuperUser' from 'New Rights' and click on 'Modify User rights' (image 4).
  • After that, we see the result: the rights have been granted (image 5)

Create asset types

what is an asset tracker database without assets :-)? First we will create asset types. Asset types are routers, servers, pc's, whatever. You are free to create your own. This is how you do it:

  • in 'Configuration', click on 'Asset Types' (image 1)
  • click on 'New type' (image 2)
  • Fill in the 'Asset Type' and the 'Description' fields and click on 'Save changes'. In my case, I create a 'routers' asset type.

Create some custom fields

  • click on the 'configuration' link (image 1)
  • click on 'Custom Fields' (image 2, you may choose any of the two links)
  • click on 'Create' (image 3).
  • on the next page, fill in the form with the data necessary for a custom field. In the example, I have made one for serial numbers. On the name field I entered 'serialnumber', as description 'serial number of asset', the type is 'enter one value' (serial numbers are unique), I chose 'Assets' in the field 'Applies to' and made it mandatory by choosing the right option in 'validation'. The box 'enabled' is marked on by default, if in the future you no longer need this custom field you uncheck it and it will not show in the asset (image 4)
  • now we want to apply this new custom field to an asset type. Click on 'Applies to' (image 5)
  • select the asset type(s) to which this custom field must apply and click on 'Submit' (image 6)
  • when you are done with this custom field, click on 'save changes'.
  • on the next page the object routers is selected (image 7)

If you need more custom fields, repeat the process.

Create assets

Now that we have some asset types and some custom fields for the asset types, we are ready for populating the asset database.

  • click on the 'Assets' link on the left hand side of the home page of RT (image 1)
  • click on 'New Asset of type ..." (choose one of the asset types you have created earlier) (image 2)
  • on the 'Asset create' page fill in the necessary fields and click on 'Save changes' (imag 3)

That'it! you have just created your first asset in Asset Tracker.