Hi All,
I am working on OTRS and OpenNMS integration. so got OTRS Ticket plugin from the following link and follow
the procedure provided in that link.
http://www.opennms.org/wiki/OTRS_Troubl ... ntegration
and i have created user/password in OpenNMS opennms/opennms
I add nodes in OpenNMS and alarms are creating in OpenNMS for different services.
When i press button create ticket, in Ticket State it is showing CREATE_PENDING after few seconds,
it is showing CREATE_FAILED.
I go through ticketer.log file in OpenNMS. i got following error in that file:
2010-10-04 12:37:28,894 ERROR [OpenNMS.TroubleTicketer] OtrsTicketerPlugin: Failed to create or update OTRS ticketApplication failed during request deserialization:
no element found at line 1, column 0, byte -1 at /usr/lib/perl5/XML/Parser.pm line 187
And also i have gone through Parser.pm file under the path: /usr/lib/perl5/XML/Parser.pm line 187.
In this file 187 line code is as follows:
$result = $expat->parse($arg);
And i got reply for this problem in OpenNMS forum. They provide link as follows:
https://rt.cpan.org/Public/Bug/Display.html?id=58538
Further, I install SOAP::Lite,SOAP::DATETIME, SOAP::Manip, SOAP::Transport::HTTP via CPAN.
and based on link i have changed
sysread ( STDIN, $buffer, $length ) to read ( STDIN, $buffer, $length ) in following location.
root@sun:~/.cpan/build/SOAP-Lite-0.712-dFKQWa/lib/SOAP/Transport#HTTP.pm
root@sun:~/.cpan/build/SOAP-Lite-0.712-dFKQWa/blib/lib/SOAP/Transport/HTTP.pm
Still i am getting following error :
2010-10-19 18:24:59,651 ERROR [OpenNMS.TroubleTicketer] OtrsTicketerPlugin: Failed to create or update OTRS ticketApplication failed during request deserialization:
no element found at line 1, column 0, byte -1 at /usr/lib/perl5/XML/Parser.pm line 187
2010-10-19 18:24:59,711 ERROR [OpenNMS.TroubleTicketer] DefaultTicketerServiceLayer: Unable to create ticket for alarm: Failed to create or update OTRS ticket
Pls help me to configure OTRS with OpenNMS.
Thanks,
mail2vs.dvg1
Ticket Create Failure
Moderator: crythias
-
- Znuny newbie
- Posts: 3
- Joined: 06 Oct 2010, 13:51
- Znuny Version: 2.4.7
Re: Ticket Create Failure
I meet the same problem, everything is same. anybody help
?

-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Ticket Create Failure
You should ask on the opennms forums, also please update your signature.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask