
Hello I'm using otrs 2.2 beta3 ( debian otrs2 package ) and the modules with Version 0.9.3 I would like to send ALERT of nagios to otrs otrs_ticket_handler-0001.pl to send nagios alerts to otrs: I created the QUEUE NAGIOS and Configured the Module Config.pm. see: http://osdir.com/ml/otrs.devel/2005-01/txtZn0cx2beGE.txt /opt/otrs/bin/NagiosGenericAgent.pl -h test -S test -s ALERT -N RECOVERY -a 127.0.0.1 -C NAGIOS -o NAGIOS -T h Got no MainObject! at /opt/otrs/Kernel/System/DB.pm line 84, <PRODUCT> line 4. perl otrs_ticket_handler-0001.pl -T h -H test -S test -s ALERT -N RECOVERY -C NAGIOS Got no MainObject! at /opt/AFIotrs/Kernel/System/DB.pm line 84, <PRODUCT> line 4. I don't understand how the otrs system will receive emails Do i need to install there a mailserver ? any ideas ? Reto Schubnell System Engineer Amt für Informatik Kanton Thurgau Im Roos 6 8570 Weinfelden Tel: 071 627 69 03

Hi Reto
I'm using otrs 2.2 beta3 ( debian otrs2 package ) and the modules with Version 0.9.3
That's bad. To run the Beta4 of OTRS::ITSM (OPM Version 0.9.3) you also have to update to Beta4 of OTRS 2.2.0. See the INSTALL.ITSM file for details: ftp://ftp.otrs.org/pub/otrs/itsm/INSTALL.ITSM
I don't understand how the otrs system will receive emails Do i need to install there a mailserver ?
That's a mistake! Of course, you don't need a mail server. You must create the MainObject (NOT MailObject) in your NagiosGenericAgent.pl file. The MainObject Is needed by the DBObject. See ./bin/GenericAgent.pl for example: <--GenericAgent.pl start--> ... use Kernel::System::Main; ... $CommonObject{MainObject} = Kernel::System::Main->new(%CommonObject); ... <--GenericAgent.pl stop--> PS: This is no issue for the OTRS::ITSM-list Thanks for your message. Best regards, Manuel Hecht ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0)9421 56818 0 :: Fax: +49 (0)9421 56818 18 http://www.otrs.com/ :: Communication with success! Von: itsm-bounces@otrs.org [mailto:itsm-bounces@otrs.org] Im Auftrag von Reto Schubnell Gesendet: Mittwoch, 30. Mai 2007 16:54 An: itsm@otrs.org Betreff: [itsm] ITSM and Nagios Alerts Hello I'm using otrs 2.2 beta3 ( debian otrs2 package ) and the modules with Version 0.9.3 I would like to send ALERT of nagios to otrs otrs_ticket_handler-0001.pl to send nagios alerts to otrs: I created the QUEUE NAGIOS and Configured the Module Config.pm. see: http://osdir.com/ml/otrs.devel/2005-01/txtZn0cx2beGE.txt /opt/otrs/bin/NagiosGenericAgent.pl -h test -S test -s ALERT -N RECOVERY -a 127.0.0.1 -C NAGIOS -o NAGIOS -T h Got no MainObject! at /opt/otrs/Kernel/System/DB.pm line 84, <PRODUCT> line 4. perl otrs_ticket_handler-0001.pl -T h -H test -S test -s ALERT -N RECOVERY -C NAGIOS Got no MainObject! at /opt/AFIotrs/Kernel/System/DB.pm line 84, <PRODUCT> line 4. I don't understand how the otrs system will receive emails Do i need to install there a mailserver ? any ideas ? Reto Schubnell System Engineer Amt für Informatik Kanton Thurgau Im Roos 6 8570 Weinfelden Tel: 071 627 69 03
participants (2)
-
Manuel Hecht
-
Reto Schubnell