Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zabbix-sender

Package Overview
Dependencies
Maintainers
10
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zabbix-sender

A zabbix_sender wrapper.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
10
Created
Source

zabbix-sender

A zabbix_sender wrapper.

Install

npm install zabbix-sender

Usage

var ZabbixSender = require('zabbix-sender');
var sender       = new ZabbixSender();

sender.send({
  'valueA': 1,
  'nested': {
    'valueB': 2,
  }
}, function(err) {
  if (err) throw err;

  console.log('Wrote keys to zabbix');
});

Nested properties

Nested properties are represented as flat strings. The join Character can be defined via the "joinString" option.

Configuration options

The ZabbixSender constructor takes an object which has the following defaults:

  • config: The configuration file to use. Default: /etc/zabbix/zabbix_agentd.conf
  • bin: The path to the zabbix_sender program. Default: /usr/bin/zabbix_sender
  • hostname: The hostname to report to zebbix. Default: - (zabbix default)
  • server: The zabbix server (IP or hostname) to use. Default: (zabbix default)
  • port: The zabbix server port to use. Default: (zabbix default)
  • debug: If set to true, the binary will not be called. Default : false
  • log: Output a message on the console, when data is send to the server. Default : false
  • joinString: String for concatenating nested object properties. Default: .

NPM Maintainers

The npm module for this library is maintained by:

  • Felix Geisendörfer
  • Dan Jenkins

License

zappix-sender is licensed under the MIT license.

Keywords

FAQs

Package last updated on 05 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc