Search found 11 matches

by duncan9562
25 Jan 2018, 17:57
Forum: Help
Topic: System monitoring
Replies: 10
Views: 14677

Re: System monitoring

Long shot, has anyone got this working in OTRS5?

I notice reneeb said
The object handling changed from OTRS3 to OTRS4
. Does the same apply for OTRS4 to OTRS5?

If anyone has any info on this it would be greatly appreciated!!!!
by duncan9562
15 Jan 2018, 16:12
Forum: General
Topic: SystemMonitoring additional fiellds
Replies: 0
Views: 2416

SystemMonitoring additional fiellds

Hi all, We have been using System Monitoring for some time to have our monitoring system create, and close alert tickets in OTRS. We have the following "out the box" fields set up:- - Host - Service What I am looking to do, is catch an event ID which has the following format and store this...
by duncan9562
23 Mar 2017, 12:23
Forum: General
Topic: Adding custom changes to User.pm
Replies: 8
Views: 4330

Re: Adding custom changes to User.pm

Glad it helped, you are very welcome :) Spoke to soon :p So, I have made the following changes in the custom User.pm file:- =item UserAdd() to add new users my $UserID = $UserObject->UserAdd( UserFirstname => 'Huber', UserLastname => 'Manfred', UserLogin => 'mhuber', UserPw => 'some-pass', # not re...
by duncan9562
22 Mar 2017, 16:54
Forum: General
Topic: Adding custom changes to User.pm
Replies: 8
Views: 4330

Re: Adding custom changes to User.pm

You could encapsulate your whole module into a "no-redefine warnings" scope. So from: package YourPackageName; use strict; use warnings; [... lots of module code ...] 1; you could write: package YourPackageName; use strict; use warnings; # disable redefine warnings in this scope { no warn...
by duncan9562
20 Mar 2017, 17:55
Forum: General
Topic: Adding custom changes to User.pm
Replies: 8
Views: 4330

Re: Adding custom changes to User.pm

Thanks for the quick reply! So, I copied /opt/otrs/Kernel/System/User.pm to /opt/otrs/Kernel/Config/Files/CustomUser.pm which is fine. I have made the changes I need to in /opt/otrs/Kernel/Config/Files/CustomUser.pm, however I get a lot of "Subroutine redefined at xxxxxx" in the apache err...
by duncan9562
15 Mar 2017, 21:11
Forum: General
Topic: Adding custom changes to User.pm
Replies: 8
Views: 4330

Adding custom changes to User.pm

Hey guys, To start, I am running OTRS v5.0.16. I need to make some changes to User.pm, however have been advised by OTRS support that making changes to any such file will result in them not supporting our installation which is not good news. We have some custom config in "/opt/otrs/Kernel/Confi...
by duncan9562
10 Jan 2017, 15:35
Forum: General
Topic: Custom LDAP sync in Agent Preferences issue
Replies: 6
Views: 3991

Re: Custom LDAP sync in Agent Preferences issue

Ignore the last post, I found the Update and Add sections in User.pm and this now works perfectly.

Thanks for your help :)
by duncan9562
10 Jan 2017, 15:21
Forum: General
Topic: Custom LDAP sync in Agent Preferences issue
Replies: 6
Views: 3991

Re: Custom LDAP sync in Agent Preferences issue

Testing this, it seems to work for new users who haven't logged into OTRS, but doesn't update the field for existing users.

Have I missed something in User.pm for existing users....?
by duncan9562
10 Jan 2017, 15:14
Forum: General
Topic: Custom LDAP sync in Agent Preferences issue
Replies: 6
Views: 3991

Re: Custom LDAP sync in Agent Preferences issue

Hi reneeb, I tried adding the following, but this didn't seem to make much of a difference. # set Telephone phone $Self->SetPreferences( UserID => $UserID, Key => 'UserMyFieldTelephone', Value => $Param{UserMyFieldTelephone}, ); I assume logging out and logging back in to OTRS is enough to pull in t...
by duncan9562
10 Jan 2017, 14:01
Forum: General
Topic: Custom LDAP sync in Agent Preferences issue
Replies: 6
Views: 3991

Custom LDAP sync in Agent Preferences issue

We are using LDAP for user authentication, however I am after getting more fields from AD into Agent preferences. Currently we sync:- UserFirstname UserLastname UserEmail UserMobile ...without any issues. I created a custom field in Agent Preferences using the below .xml (located in /opt/otrs/Kernel...
by duncan9562
23 Feb 2016, 15:14
Forum: Help
Topic: OTRS Dynamic Field Based Sender Address
Replies: 0
Views: 841

OTRS Dynamic Field Based Sender Address

I am looking to implement the dynamic field based sender address feature in OTRS. I have created a dynamic field called sender which is of field type dropdown. Adding the relevant users (Value) and email addresses (Key) in works fine, and I am able to switch and reply to tickets using the required e...