ZabbixSender.Async 1.3.0

dotnet add package ZabbixSender.Async --version 1.3.0
                    
NuGet\Install-Package ZabbixSender.Async -Version 1.3.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.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZabbixSender.Async" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="ZabbixSender.Async" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZabbixSender.Async --version 1.3.0
                    
#r "nuget: ZabbixSender.Async, 1.3.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.
#:package ZabbixSender.Async@1.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZabbixSender.Async&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=ZabbixSender.Async&version=1.3.0
                    
Install as a Cake Tool

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(response.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 net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.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.3.0 132 9/6/2025
1.2.0 58,740 1/29/2023
1.2.0-rc2 248 1/29/2023
1.2.0-rc1 235 1/29/2023
1.2.0-rc0 245 1/29/2023
1.1.0 3,504 6/8/2021
1.0.7 1,239 6/25/2020
1.0.6 719 3/25/2020
1.0.5 21,196 12/18/2018
1.0.4 1,098 12/18/2018
1.0.3 856 12/3/2018
1.0.2 856 12/3/2018
1.0.1 850 12/3/2018
1.0.0 859 12/1/2018

Added .Net 9.