AgentGeneric
Moderator: crythias
AgentGeneric
hello
when I configure the agentGeneric I get this error
Error message: Warning: Can not run GenericAgent Job climbing-ticket2 'Because no search Attri [..]
and can't find the file / opt / otrs / Kernal / Config I work on version 3.1
Help Help
when I configure the agentGeneric I get this error
Error message: Warning: Can not run GenericAgent Job climbing-ticket2 'Because no search Attri [..]
and can't find the file / opt / otrs / Kernal / Config I work on version 3.1
Help Help
-
- Znuny newbie
- Posts: 11
- Joined: 13 Dec 2011, 10:50
- Znuny Version: 3
- Company: Gateway Communications
- Location: Belgium
Re: AgentGeneric
I think you could tell us more about your error...taji89 wrote:hello
when I configure the agentGeneric I get this error
Error message: Warning: Can not run GenericAgent Job climbing-ticket2 'Because no search Attri [..]
and can't find the file / opt / otrs / Kernal / Config I work on version 3.1
Help Help
A first sight, i'd say you didn't configure you GenericAgent properly, you must have missed a mandatory field or something like that.
The best advice I could give you is to read the whole otrs documentation and more precisely here the part about GenericAgent.
PS : the config.pm file is located on otrs/otrs/kernel
OTRS 3.1.1, Apache, Oracle running on Windows 2003 SP2 connected to an Active Directory for Agents.
Re: AgentGeneric
hi
the problèm now it I can't found the Frontend :: Module # # # Notify 4-Ticket Ticket :: Notify on system configuration settings
help
the problèm now it I can't found the Frontend :: Module # # # Notify 4-Ticket Ticket :: Notify on system configuration settings
help
-
- Znuny superhero
- Posts: 630
- Joined: 17 Mar 2011, 14:40
- Znuny Version: 5.0.6
- Real Name: Yuri Kolesnikov
- Location: Russia
Re: AgentGeneric
You will find needed in Admin Area Notification section in agent/admin Web-interface, not in System Cofiguration.
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Re: AgentGeneric
hello
i can't found it plz could you explain more i found just interface web
i can't found it plz could you explain more i found just interface web
Re: AgentGeneric
sorry
i found web service and not web interface
i found web service and not web interface
Re: AgentGeneric
the problem want to show agents important tickets I select the notification on the file but I get no mail ,I read that I need to activate Frontend::NotifyModule###4-Ticket::TicketNotify but i cant found it in systemconfig
Re: AgentGeneric
The problem now is that I not receive the notification on escalating ticket at the right time I indicated on the line 10 minutes the first time to provide an answer when I receive mail after 20 minutes
-
- Znuny advanced
- Posts: 121
- Joined: 30 Aug 2011, 10:48
- Znuny Version: 3.3.8 && 4.0.9
- Real Name: Artjoms Petrovs
- Location: Latvia
Re: AgentGeneric
What I suggest is to set escalaton notification not through GenericAgent database but through GenericAgent.pm file, and set the according time as much as you want!
E.g.
in file /var/cron/generic_agent set value like
and after that in file /Kernel/Config/GenericAgent.pm
It will check escalation time every minute (guaranteed) 
BTW, it is written in Admin manual, so please read it more carefully!!!
Cheers,
A.
E.g.
in file /var/cron/generic_agent set value like
Code: Select all
*/1 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
Code: Select all
%Jobs = (
# [name of job] -> send escalation notifications
'send escalation notifications' => {
Escalation => 1,
# # new ticket properties
New => {
Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue',
},
},
...

BTW, it is written in Admin manual, so please read it more carefully!!!
Cheers,
A.
Ar cieņu / Kind regards,
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
Re: AgentGeneric
i found juste generic_agent.dist in file /var/cron i have changed but no change.
and in the agent_generic area admin system interface web in filter ticket i selected :
Dates climbing :Time of escalating ticket reached last 1year
:(:(:(
and in the agent_generic area admin system interface web in filter ticket i selected :
Dates climbing :Time of escalating ticket reached last 1year

Re: AgentGeneric
i think i have to found the extension with .pm i mean GenericAgent.pm but the problem i cant found it
i change also in generic_agent-database.dist but no change
could you help me plzzzzz
i change also in generic_agent-database.dist but no change
could you help me plzzzzz
-
- Znuny advanced
- Posts: 121
- Joined: 30 Aug 2011, 10:48
- Znuny Version: 3.3.8 && 4.0.9
- Real Name: Artjoms Petrovs
- Location: Latvia
Re: AgentGeneric
Okay - read this article http://doc.otrs.org/2.1/en/html/x325.html
the part 3.2.5. Setting up the cron jobs for OTRS
What I can add: remove .dist extension from the file and add a code I gave you in there. It is just like Apache .conf files, which are gathered only if the extension matches.
wth .pm file is the same - find a GenericAgent.pm.dist and rename it as GenericAgent.pm (Escalation job will already be in there) that should work
the part 3.2.5. Setting up the cron jobs for OTRS
What I can add: remove .dist extension from the file and add a code I gave you in there. It is just like Apache .conf files, which are gathered only if the extension matches.
wth .pm file is the same - find a GenericAgent.pm.dist and rename it as GenericAgent.pm (Escalation job will already be in there) that should work

Ar cieņu / Kind regards,
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
Re: AgentGeneric
are you token about this code ?? i have to insert this ??
" */1 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null "
" */1 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null "
Re: AgentGeneric
where i have to insert this code if i remove the file ??
-
- Znuny advanced
- Posts: 121
- Joined: 30 Aug 2011, 10:48
- Znuny Version: 3.3.8 && 4.0.9
- Real Name: Artjoms Petrovs
- Location: Latvia
Re: AgentGeneric
Hey!
Okay.. Try to explain it simplier
a) There are Cron jobs that are running by time schedule
b) Cron jobs has its own syntax, the are taken from files without an extension from folder .../var/cron/...
c) These cron jobs run files with jobs (what to do) or PERL modules which shows the way to those Cronjob files
e.g. */1 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
will run file otrs.GenericAgent.p, which calls file /Kernel/Config/GenericAgent.pm
so
!!!) Change extension of /var/cron/generic_agent.dist to /var/cron/generic_agent and paste there that code */1 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
after that change extension of /Kernel/Config/GenericAgent.pm.dist to /Kernel/Config/GenericAgent.pm
and after that yous hould rebuild cronjob for linux user... with running update script ../bin/Cron.sh (check the manual how to run this file correctly, because I don' t know names of your web-users)
Let the Google be with you
Cheers,
A.
Okay.. Try to explain it simplier

a) There are Cron jobs that are running by time schedule
b) Cron jobs has its own syntax, the are taken from files without an extension from folder .../var/cron/...
c) These cron jobs run files with jobs (what to do) or PERL modules which shows the way to those Cronjob files
e.g. */1 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
will run file otrs.GenericAgent.p, which calls file /Kernel/Config/GenericAgent.pm
so
!!!) Change extension of /var/cron/generic_agent.dist to /var/cron/generic_agent and paste there that code */1 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
after that change extension of /Kernel/Config/GenericAgent.pm.dist to /Kernel/Config/GenericAgent.pm
and after that yous hould rebuild cronjob for linux user... with running update script ../bin/Cron.sh (check the manual how to run this file correctly, because I don' t know names of your web-users)
Let the Google be with you
Cheers,
A.
Ar cieņu / Kind regards,
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
Re: AgentGeneric
generic_agent-database.pm ; generic_agent-database.pm ; generic_agent.pm ;fetchmail.pm ; postmaster_mailbox.pm
i have change the extension from this file and also the extension from file GenericAgent.pm.dist to GenericAgent.pm
But no change maybe i have to change other things i just change the extension and the replace 20mn to 1mn i still can't see the change .
i have change the extension from this file and also the extension from file GenericAgent.pm.dist to GenericAgent.pm
But no change maybe i have to change other things i just change the extension and the replace 20mn to 1mn i still can't see the change .
Re: AgentGeneric
!!!) Change extension of /var/cron/generic_agent.dist to /var/cron/generic_agent and paste there that code */1 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
here i change /var/cron/generic_agent.dist to /var/cron/generic_agent or to /var/cron/generic_agent.pm ????? plz help me
here i change /var/cron/generic_agent.dist to /var/cron/generic_agent or to /var/cron/generic_agent.pm ????? plz help me
-
- Znuny advanced
- Posts: 121
- Joined: 30 Aug 2011, 10:48
- Znuny Version: 3.3.8 && 4.0.9
- Real Name: Artjoms Petrovs
- Location: Latvia
Re: AgentGeneric
just /var/cron/generic_agent and afterwards run Cron rebuild script .../bin/Cron.sh
Ar cieņu / Kind regards,
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
Re: AgentGeneric
how to rebuild on windows ??
Re: AgentGeneric
i still receive the escalation after 20mn




Re: AgentGeneric
did you restart the OTRS Service?
As you are firing a lot of requests here you should consider professional support.
Please also have a look on: http://faq.otrs.org/otrs/public.pl?Acti ... ItemID=317
As you are firing a lot of requests here you should consider professional support.
Please also have a look on: http://faq.otrs.org/otrs/public.pl?Acti ... ItemID=317
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: AgentGeneric
i restart services and finally it work
thank's for your helps...
thank's for your helps...

-
- Znuny newbie
- Posts: 3
- Joined: 15 Apr 2012, 09:37
- Znuny Version: OtterHub
- Company: Power Strong
- Contact:
Re: AgentGeneric
I can add is removed from the file extension, and add a code, I gave you in there.