-
Incident report
-
Resolution: Cannot Reproduce
-
Trivial
-
None
-
5.0.5
-
None
-
CentOS 8.2.2004
perl 5.26.3
percona-server-server-8.0.19
Zabbix::Tiny library
The operational data for this event is a long string from Windows event log. Opdata is displayed correctly in the web interface. When querying the event using event.get method, opdata is truncated and suffixed with '...'.
Steps to reproduce:
- Run the script below:
#!/usr/bin/perl use strict; use warnings; use Zabbix::Tiny; my $username = 'service.zbx'; my $password = 'yyyyyyyyyyy'; my $url = 'https://zbx.xxx.com/api_jsonrpc.php'; my $zabbix = Zabbix::Tiny->new( server => $url, password => $password, user => $username ); my $events = $zabbix->do( 'event.get', { eventids => "120469480", } ); for my $event (@$events) { print STDERR "Event opdata '" . $event->\{opdata} . "'\n"; }
Result:
Event opdata 'Log: Usuario com matricul...'
Expected:
Event opdata 'Log: Usuario com matricula 12345 nao encontrado no AD para ser alterado'