Group
Extension

Matches 2

Zabbix2-API ( S/SU/SUJITSALI/Zabbix2-API-0.014.tar.gz, SUJITSALI, 2020; MetaCPAN )
Zabbix2-API/lib/Zabbix2/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 = '0.014';

has 'server' => (is => 'ro',
    '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
Zabbix2-API ( S/SU/SUJITSALI/Zabbix2-API-0.014.tar.gz, SUJITSALI, 2020; MetaCPAN )
Zabbix2-API/lib/Zabbix2/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/Zabbix2::API::CRUDE/;

sub id {
    ## mutator for id
    my ($self, $value) = @
$self->id ],
                                              globalmacro => $self->globalp ? JSON::true : JSON::false,
                                              $self->_extension })->[0];
    cro
lf->id],
                                                  globalmacro => $self->globalp ? JSON::true : JSON::false,
                                                  countOutput => 1 });
    retur

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