You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to extend the server view with history logging capability.
The usecase is to keep track what happen with server in past.
Like: cabling change, IP assignment, HW expansion etc.
For the beginning I would like to make it available as a free text form. (timestamp, tag, author, description) The tags should be implemented like server roles. In view It will be a separate tab like inventory items.
Later I would like to extend it with automated comments, like when the IP was assigned, changed any field etc. which is now available just on dashboard, without any filtering possibility.
If you need this, I can share with the community. If not I will keep it in our repo.
Regards,
Mark
The text was updated successfully, but these errors were encountered:
Not so much, check my modell.py:
class HistoryLog(models.Model):
time = models.DateTimeField(auto_now_add=True, editable=False)
user = models.ForeignKey(User, related_name='history_log', on_delete=models.CASCADE) device = models.ForeignKey('Device', related_name='history_log', on_delete=models.CASCADE)
role = models.ForeignKey('HitoryRole', related_name='history', blank=True, null=True, on_delete=models.PROTECT) message = models.TextField(blank=True)
class HistoryRole(models.Model):
name = models.CharField(max_length=50, unique=True)
slug = models.SlugField(unique=True)
color = ColorField()
Hi,
I would like to extend the server view with history logging capability.
The usecase is to keep track what happen with server in past.
Like: cabling change, IP assignment, HW expansion etc.
For the beginning I would like to make it available as a free text form. (timestamp, tag, author, description) The tags should be implemented like server roles. In view It will be a separate tab like inventory items.
Later I would like to extend it with automated comments, like when the IP was assigned, changed any field etc. which is now available just on dashboard, without any filtering possibility.
If you need this, I can share with the community. If not I will keep it in our repo.
Regards,
Mark
The text was updated successfully, but these errors were encountered: