Generic Agent nur manuel
Generic Agent nur manuel
Ich habe im Generic einen Job erstellt, der 10 minütig ausgeführt werden soll.
Manuell funktioniert er immer top, aber das automatische triggern halt nicht.
ich habe etwas gelesen, dass man die cron dateien unbennen muss. bin mir dort aber nicht sicher.
kann mir jemend helfen?
VG
Manuell funktioniert er immer top, aber das automatische triggern halt nicht.
ich habe etwas gelesen, dass man die cron dateien unbennen muss. bin mir dort aber nicht sicher.
kann mir jemend helfen?
VG
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Generic Agent nur manuel
ist der Job auf "is Valid: Yes" gesetzt?
laufen Deine OTRS cronjobs?
was bekommst Du bei
so etwas wie das?
laufen Deine OTRS cronjobs?
was bekommst Du bei
Code: Select all
crontab -l -u otrs | grep Generic
Code: Select all
# cron/generic_agent - GenericAgent.pl cron of the OTRS
*/20 * * * * $HOME/bin/GenericAgent.pl >> /dev/null
# example to execute GenericAgent.pl on 23:00 with
# Kernel::Config::GenericAgentMove job file
#0 23 * * * $HOME/bin/GenericAgent.pl -c "Kernel::Config::GenericAgentMove" >> /dev/null
# cron/generic_agent - GenericAgent.pl cron of the OTRS
*/10 * * * * $HOME/bin/GenericAgent.pl -c db >> /dev/null
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Re: Generic Agent nur manuel
verdammt, ich habe gerde nicht die rechte dafür.
ich brauche executerechte auf die Genericagent.pl oder?
ich brauche executerechte auf die Genericagent.pl oder?
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Generic Agent nur manuel
Du nicht, der OTRS user
unter diesem User laufen ja auch die cron-jobs
unter /opt/otrs/var/cron # findest du die einzelnen Jobs
schau Dir mal den Inhalt der generic_agent agent an
sollte so (oder ähnlich) aussehen
wenn nicht: entsprechend abändern und die OTRS cron jobs neu starten (unter SUSE: rcotrs restart)
unter diesem User laufen ja auch die cron-jobs
unter /opt/otrs/var/cron # findest du die einzelnen Jobs
schau Dir mal den Inhalt der generic_agent agent an
sollte so (oder ähnlich) aussehen
Code: Select all
# --
# cron/generic_agent - GenericAgent.pl cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: generic_agent.dist,v 1.12 2009/02/16 20:53:10 tr Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# start generic agent every 20 minutes
*/20 * * * * $HOME/bin/GenericAgent.pl >> /dev/null
# example to execute GenericAgent.pl on 23:00 with
# Kernel::Config::GenericAgentMove job file
#0 23 * * * $HOME/bin/GenericAgent.pl -c "Kernel::Config::GenericAgentMove" >> /dev/null
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Re: Generic Agent nur manuel
hm ich habe halt die ganze zeit das problem, ich komm im moment nur über putty(ssh) an die daten ran und habe bei den meisten auch keine -x rechte
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Generic Agent nur manuel
das sollte kein Problem sein
als welche User kommst du per Putty aufs system?
als welche User kommst du per Putty aufs system?
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Re: Generic Agent nur manuel
da bin ich mir ni sicher, weil mir ein kollege per mail geschickt hat.
der uder heißt otrs, aber das wird nix aussagen.
der uder heißt otrs, aber das wird nix aussagen.
Re: Generic Agent nur manuel
so ich konnte es jetzt erst einmal öffnen
Re: Generic Agent nur manuel
ich habe in die generic_agent in cron herein geschaut und sie sieht so aus wie deine
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Generic Agent nur manuel
das ist genau der richtige userphilipp_s wrote:da bin ich mir ni sicher, weil mir ein kollege per mail geschickt hat.
der uder heißt otrs, aber das wird nix aussagen.
dann probier doch einfach mal
Code: Select all
rcotrs restart
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Re: Generic Agent nur manuel
es kommt das gleich, wie bei der ersten abfrage
Code: Select all
If 'rcotrs' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf rcotrs
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Generic Agent nur manuel
dann probieren wir folgendes
Code: Select all
crontab -l | grep Generic
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Re: Generic Agent nur manuel
jetzt kommt
Code: Select all
no crontab for otrs
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Generic Agent nur manuel
und hier haben wir das Problem!
Sag Deinem Sysadmin er soll
ausführen und dann laufen die Cronjobs
Sag Deinem Sysadmin er soll
Code: Select all
rcotrs restart
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Re: Generic Agent nur manuel
vielen dank!
wunde mich trotzdem, dass ich es nicht selber ausführen kann.
wunde mich trotzdem, dass ich es nicht selber ausführen kann.
Re: Generic Agent nur manuel
das ist doch aber eine skript, welches dort ausgeführt wird.
kann ich da nicht einfach die executerechte ändern, dann müsst es doch auch gehen
kann ich da nicht einfach die executerechte ändern, dann müsst es doch auch gehen