XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 2.2.6
    • API (A)
    • None
    • zabbix version 22.3 on linux redhat 6.5 server

      I , i have the following sub

      sub item_get {
      
          my $hostname = shift;
      
          $json = {
      
              jsonrpc => '2.0',
              method  => 'item.get',
              params  => {
                  host           => $hostname,
                  output         => 'extend',
                  selectTriggers => 'extend',
                  webitems       => 1,
              },
              id   => $id++,
              auth => $authID,
          };
      
          $response = $client->call( $url, $json );
      
          if ( $debug > 0 ) { print Dumper $response; }
      
          return @{ $response->content->{'result'} };
      }
      

      This subroutin display item characteristic, but not the discoveryItem
      Is possible display the discovery item characteristics ?

      thanks
      Pier

            Unassigned Unassigned
            pietro.montesano Pietro Montesano
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: