Add column in HOST MANAGEMENT
-
FOG Already tracks user’s logged in if you add the FOG Client to the machines.
-
Tom’s answer is the correct one.
-
Tom,
Thank you very much for quick answer. Yes, I am aware of it. I can go in login History but I like to add this column in HM. Is it possible?Thanks,
Olduser -
@Olduser You could make a hook to do it, but Login history is available on every host. Seeing as multiple users can login on a machine, it wouldn’t make sense to me to have a single column in a database.
-
@Tom-Elliott said in Add column in HOST MANAGEMENT:
Seeing as multiple users can login on a machine, it wouldn’t make sense to me to have a single column in a database.
Not only does it not make sense, it can’t be done. That would be a many-to-many relationship. This is why this is already in two tables instead of one (a one-to-many relationship).
-
@Wayne-Workman I can say that Spiceworks (the app not the online community) does this. But the last logged on user is just that. Its not a one to many relationship its literally the last user that was logged in when the device was scanned.
I plugin is the right answer on how to add this. Understand I say that not knowing the details on how to do this. But is also raises the a philosophical question of, is fog moving towards system management tool or a deployment tool with a few system management add-ins?
But back on point, this mythical plugin would need to add the field to the page and then query the login history for that device and return the record with the last date.
-
@george1421 It’s easy to see the last logged in person already though. And not only can you see the last logged in person, you can see every person who ever logged in. It just requires clicking on the host and going to the login history.
-
@Wayne-Workman I think @Olduser was hoping to see the last logged on user from the list/search pages though? (Maybe not asking for a new table entry?)
-
@Tom-Elliott Maybe a custom report would be better?
-
@Wayne-Workman There’s already reports for this. Login History, and Hosts and users.
This would not present the info on the host management page.
A hook can/should be used to perform this if you really feel it necessary though.