ZabbixSender.Async 1.2.0

dotnet add package ZabbixSender.Async --version 1.2.0                
NuGet\Install-Package ZabbixSender.Async -Version 1.2.0                
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="ZabbixSender.Async" Version="1.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ZabbixSender.Async --version 1.2.0                
#r "nuget: ZabbixSender.Async, 1.2.0"                
#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 ZabbixSender.Async as a Cake Addin
#addin nuget:?package=ZabbixSender.Async&version=1.2.0

// Install ZabbixSender.Async as a Cake Tool
#tool nuget:?package=ZabbixSender.Async&version=1.2.0                

Overview NuGet Actions Status Coverage Status

The package provides a tool to send data to Zabbix in the same way as zabbix_sender tool. It implements Zabbix Sender Protocol 4.4.

Installation

NuGet package is available here.

PM> Install-Package ZabbixSender.Async

Example

var sender = new ZabbixSender.Async.Sender("192.168.0.10");
var response = await sender.Send("MonitoredHost1", "trapper.item1", "12");
Console.WriteLine(reponse.Response); // "success" or "fail"
Console.WriteLine(response.Info);    // e.g. "Processed 1 Failed 0 Total 1 Seconds spent 0.000253"

Remarks

In order for the request above to be successfully processed, the host MonitoredHost1 should be configured. The same should be done for the item trapper.item1. The item(s) type should be Zabbix trapper. Also the value 12 should respect the type of information, configured for the item.

Try standalone out-of-the-box Zabbix server with Docker.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

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
1.2.0 22,165 1/29/2023
1.2.0-rc2 164 1/29/2023
1.2.0-rc1 161 1/29/2023
1.2.0-rc0 161 1/29/2023
1.1.0 3,041 6/8/2021
1.0.7 1,069 6/25/2020
1.0.6 584 3/25/2020
1.0.5 20,318 12/18/2018
1.0.4 864 12/18/2018
1.0.3 725 12/3/2018
1.0.2 720 12/3/2018
1.0.1 705 12/3/2018
1.0.0 717 12/1/2018

Added .Net 6.