ZabbixCG 1.0.9.30440

There is a newer version of this package available.
See the version list below for details.
dotnet add package ZabbixCG --version 1.0.9.30440
NuGet\Install-Package ZabbixCG -Version 1.0.9.30440
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ZabbixCG" Version="1.0.9.30440" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ZabbixCG --version 1.0.9.30440
#r "nuget: ZabbixCG, 1.0.9.30440"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ZabbixCG as a Cake Addin
#addin nuget:?package=ZabbixCG&version=1.0.9.30440

// Install ZabbixCG as a Cake Tool
#tool nuget:?package=ZabbixCG&version=1.0.9.30440

ZabbixApi

C# Zabbix Api to retrieve and modify the configuration of Zabbix

Overview

This library allows you to make CRUD operations using Zabbix API. You just need to instantiate the context and the service that you want and call the operation.Like that:

Installing package

On the Package Manager Cosole type this to install:

Install-Package ZabbixCG

Configuring

Ajust the parameters on the config file:

<configuration>
  <appSettings>
    <add key="ZabbixApi.url" value="http://myZabbixServer/zabbix/api_jsonrpc.php" />
    <add key="ZabbixApi.user" value="Admin" />
    <add key="ZabbixApi.password" value="zabbix" />
  </appSettings>
</configuration>

Using

Instantiate the context and the service that you want and call the operation:

using(var context = new Context())
{
  var service = new HostService(context);
  var host = service.GetByName("myHost");
}

You can make your own query too, like that:

using(var context = new Context())
{
  var service = new HostService(context);
  var host = service.Get(new {
      name = "myHost"
  });
}

Or that:

using (var context = new Context())
{
    var service = new HostService(context);
    var host2 = service.Get(new
    {
        hostid = "1"
    });
}
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.7 530 2/14/2020
1.0.9.30440 421 2/14/2020
1.0.8.30291 402 2/14/2020