opsi-product-updater
opsi-product-updater
Der Opsi-Product-Updater sendet ja eine E-Mail wenn er etwas getan hat.
Bei uns sendet er diese E-Mail nur steht nichts mehr in der Mail.
Was kann das sein wir benutzen jetzt leider Windows Exchange 2010
und hatten schon Probleme mit angehängten Dateien Die blat versendet hat dort muste
-attach statt -attacht eingestellt werden kann das hier auch sein?
Mfg
ed_2
Re: opsi-product-updater
schwer zu sagen, das ist aber das zweite mal, dass ich höre, dass es mit dem Mailversenden ein Problem gibt, wenn ein Umstieg auf Exchange gemacht wurde. Ich denke wir werden versuchen der Sache auf den Grund zu gehen, allerdings ist das wahrscheinlich für uns nicht so einfach, denn wir benutzen intern keinen Exchange (Wir sind ja auch eine OpenSource Firma

Ich kann sagen, dass wir der Sache eventuell mal bei Gelegenheit nachgehen, aber ich kann nicht versprechen dass es einen Fix geben wird und bald schon gar nicht. Was uns helfen könnte an der Stelle ist entweder ein offizieller Auftrag, oder jemand aus der Community, der uns Debug Arbeit an der Stelle abnimmt und seine Ergebnisse mit uns teilt.
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: opsi-product-updater
ich beobachte auf meinem Server ein Ähnliches verhalten. Ich rufe den Cronjob wie folgt auf:
Code: Alles auswählen
00 6 * * * root opsi-product-updater -vv | mailx -s "CRON: opsi-product-updater" operator_opsi@mydomain.com
und eine seltsam formatierte Mail...From: root <root@helios77.mydomain.com>
To: operator_opsi@mydomain.com
Subject: CRON: opsi-product-updater
Date: Wed, 17 Oct 2012 06:01:05 +0200 (CEST)
obwohl ich eigentlich nur eine erhalten möchte. Als MTA kommt dabei ein gewöhnlicher Postfix zum Einsatz.From: Cron Daemon <root@helios77.mydomain.com>
To: root@helios77.mydomain.com
Subject: Cron <root@opsi> opsi-product-updater -vv | mailx -s "CRON: opsi-product-updater" operator_opsi@mydomain.com
Date: Wed, 17 Oct 2012 06:01:05 +0200 (CEST)
[0;32;40mZsync command found: /usr/bin/zsync[0;0;0m
[0;32;40mReading config file '/etc/opsi/opsi-product-updater.conf'[0;0;0m
[0;32;40mGetting installed products[0;0;0m
[0;32;40mGetting info for local packages in '/var/lib/opsi/repository'[0;0;0m
[0;32;40mGetting package infos from repository 'http://download.uib.de'[0;0;0m
[0;32;40mconfig-win-base_4.0.1-1.opsi - installation not required: installed version '4.0.1-1' of product 'config-win-base' is up to date[0;0;0m
[0;32;40mhwaudit_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'hwaudit' is up to date[0;0;0m
[0;32;40mjavavm_1.6.0.35-2.opsi - installation not required: installed version '1.6.0.35-2' of product 'javavm' is up to date[0;0;0m
[0;32;40mjedit_4.5-3.opsi - installation not required: installed version '4.5-3' of product 'jedit' is up to date[0;0;0m
[0;32;40mopsi-adminutils_4.0.1.12-1.opsi - installation not required: installed version '4.0.1.12-1' of product 'opsi-adminutils' is up to date[0;0;0m
[0;32;40mopsi-client-agent_4.0.2.1-1.opsi - installation not required: installed version '4.0.2.1-1' of product 'opsi-client-agent' is up to date[0;0;0m
[0;32;40mopsi-template-with-admin_1.0-8.opsi - installation not required: installed version '1.0-8' of product 'opsi-template-with-admin' is up to date[0;0;0m
[0;32;40mopsi-template_4.0.1-5.opsi - installation not required: installed version '4.0.1-5' of product 'opsi-template' is up to date[0;0;0m
[0;32;40mopsi-winst-test_4.11.3-2.opsi - installation not required: installed version '4.11.3-2' of product 'opsi-winst-test' is up to date[0;0;0m
[0;32;40mopsi-winst_4.11.2.9-1.opsi - installation not required: installed version '4.11.2.9-1' of product 'opsi-winst' is up to date[0;0;0m
[0;32;40mshutdownwanted_1.0-4.opsi - installation not required: installed version '1.0-4' of product 'shutdownwanted' is up to date[0;0;0m
[0;32;40mswaudit_4.0-11.opsi - installation not required: installed version '4.0-11' of product 'swaudit' is up to date[0;0;0m
[0;32;40mhwinvent_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'hwinvent' is up to date[0;0;0m
[0;32;40mmemtest86_3.5b-1.opsi - installation not required: installed version '3.5b-1' of product 'memtest86' is up to date[0;0;0m
[0;32;40mntfs-restore-image_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'ntfs-restore-image' is up to date[0;0;0m
[0;32;40mntfs-write-image_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'ntfs-write-image' is up to date[0;0;0m
[0;32;40mwipedisk_1.0-2.opsi - installation not required: installed version '1.0-2' of product 'wipedisk' is up to date[0;0;0m
[0;32;40macroread9_9.5.2-1.opsi - installation not required: installed version '9.5.2-1' of product 'acroread9' is up to date[0;0;0m
[0;32;40macroread_10.1.4-1.opsi - installation not required: installed version '10.1.4-1' of product 'acroread' is up to date[0;0;0m
[0;32;40mfirefox_10.0.7esrorstandard-3.opsi - installation not required: installed version '10.0.7esrorstandard-3' of product 'firefox' is up to date[0;0;0m
[0;32;40mflashplayer_10.3.183.29or11.4.402.287-1.opsi - installation not required: installed version '10.3.183.29or11.4.402.287-1' of product 'flashplayer' is up to date[0;0;0m
[0;32;40mgnupg_1.4.9-1.opsi - installation not required: installed version '1.4.9-1' of product 'gnupg' is up to date[0;0;0m
[0;32;40mlibreoffice_3.5.6-1.opsi - installation not required: installed version '3.5.6-1' of product 'libreoffice' is up to date[0;0;0m
[0;32;40mooffice3_3.4.1-1.opsi - installation not required: installed version '3.4.1-1' of product 'ooffice3' is up to date[0;0;0m
[0;32;40mthunderbird_10.0.7esrorstandard-2.opsi - installation not required: installed version '10.0.7esrorstandard-2' of product 'thunderbird' is up to date[0;0;0m
Null message body; hope that's ok
Das am Anfang der Zeile sind sicherlich shell Farbcodes, die den Spaß auf der shell einfärben, was aber in einem cronjob völlig sinnfrei ist.
Mit der Formatierung der 2. Mail könnte ich leben, dass aber immer noch eine leere zusätzlich verschickt wird nervt allerdings.
Beste Grüße,
Thomas
Re: opsi-product-updater
mal ohne -vv probieren.
Ein cron-job soll ja eher schweigsam sein und sich nur melden wenn es ein Problem gibt.
Daher sind die -vv Ausgaben vom Entwickler nur für den interaktiven Einsatz gedacht gewesen.
gruß
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
-
- Beiträge: 23
- Registriert: 24 Mai 2011, 11:20
Re: opsi-product-updater
Das bei dir 2 Mails verschickt werden liegt daran wie dein Cronjob eingerichtet ist. Was du machst ist den opsi-product-updater im verbose-Modus zu starten und die Ausgabe dann per E-Mail zu versenden, deshalb bekommst du auch diese "komisch" formatierte E-Mail. Wenn du das so belassen willst bleibt dein Cronjob wie gehabt:
Code: Alles auswählen
00 6 * * * root opsi-product-updater -vv | mailx -s "CRON: opsi-product-updater" operator_opsi@mydomain.com
Code: Alles auswählen
[notification]
; Activate/deactivate eMail notification
active = false
Code: Alles auswählen
00 6 * * * root opsi-product-updater
Code: Alles auswählen
[notification]
; Activate/deactivate eMail notification
active = true
; SMTP server address
;smtphost =
; SMTP server port
;smtpport = 25
; Sender eMail address
sender = opsi@deine-domain.tld
; Comma separated list of receivers
receivers = empfänger@deine-domain.tld