Group
Extension

Matches 2

Zabbix7-API ( S/SC/SCOTTH/Zabbix7-API-1.1.tar.gz, SCOTTH, 2025; MetaCPAN )
Zabbix7-API/lib/Zabbix7/API.pm ( view source; MetaCPAN )
blessed/;
use Module::Loaded;
use Module::Load;
use Params::Validate qw/validate :types/;
use JSON;
use LWP::UserAgent;
use Log::Any;

our $VERSION = '1.1';

has 'server' => (is => 'ro', req
    'Content-Type' => 'application/json-rpc',
                                          Content => encode_json({
                                              jsonrpc => '2.0',
                    
          $error, $response->code, $response->message);
    }

    my $decoded = eval { decode_json($response->decoded_content) };

    if (my $error = $@) {
        # no good either
        cr
Zabbix7-API ( S/SC/SCOTTH/Zabbix7-API-1.1.tar.gz, SCOTTH, 2025; MetaCPAN )
Zabbix7-API/lib/Zabbix7/API/Macro.pm ( view source; MetaCPAN )
o;

use strict;
use warnings;
use 5.010;
use Carp;
use autodie;
use utf8;

use Moo;
use JSON;
extends qw/Zabbix7::API::CRUDE/;

sub id {
    my ($self, $value) = @_;
    if (defined $va
       $self->_prefix('ids') => [ $self->id ],
            globalmacro => $self->globalp ? JSON::true : JSON::false,
            $self->_extension
        }
    )->[0];
    croak(sprintf(q{%s cla
       $self->_prefix('ids') => [ $self->id ],
            globalmacro => $self->globalp ? JSON::true : JSON::false,
            countOutput => 1,
        }
    );
    Log::Any->get_logger->debug

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.