Service Desk Practitioners Forum
cancel

host from the user is logged in?

SOLVED
Go to solution
Highlighted
Peter!
Super Contributor.

host from the user is logged in?

Hi,

what is the proper way to ensure what is the hostname from the user is working on. I would like to execute a command with the agent on that station.


Thanks
Peter
3 REPLIES
Err_1
Acclaimed Contributor.

Re: host from the user is logged in?

Hi,

you can take the hostname from the application account record, knowing that:
1. You have defined the hostname for each application account, and
2. The users always login from the same PC.

Then, in the rule definition action enter the following field in the Host: [Entered by person;Account;Host]

Regards;
Randall Barrantes
SW Support Delivery Manager
Peter!
Super Contributor.

Re: host from the user is logged in?

Thanks,

But, I need a solution when user login occurs anywhere where sd client is installed.

Peter
Alexander Kriku
Honored Contributor.
Solution

Re: host from the user is logged in?

hi

well, there's an undesirable way:

create a trigger on the database table "rep_sessions"
this trigger will update the account ip-adress if the user connects.

account id is stored in the field "ses_acc_oid"
client ip is stored in the field "ses_client_ipaddress"

But modifying the SD database is NOT recommended&supported by HP.
The database BACKUP should be performed BEFORE any modifications