See www.zabbix.com for the official Zabbix site.

Docs/specs/ZBXNEXT-2160

From Zabbix.org
Jump to: navigation, search

Extended IP range format

ZBXNEXT-2160

Status: 1.2

Owner: Andris Zeila

Summary

Currently IP range for IP address matching can be specified in 3 ways:

# IP address - 192.168.1.1 (fe80::800:27ff:fe00:0)
# IP range - 192.168.1.1-255 (fe80::800:27ff:fe00:1-ffff)
# IP mask - 192.168.1.0/24 (fe80::800:27ff:fe00:0/112)

However it's not enough to specify address ranges from multiple subnets. To achieve this the IP range option must be extended to allow specifying range for all IP address numbers. For example: 192.168.1-10.1-2 (fe80::800:27ff:1-ffff:1).

Server changes

  • Discoverer must be updated to support the new range format when querying hosts.
  • Discoverer must be updated to support new range format for Host IP condition in discovery based actions.

Frontend changes

  • User should be able to use the new range format in network discovery rule configuration. It must be limited by the total number of covered addresses, which should be less than 64K. Hitting this limit should give specific error message.
  • User should be able to use the new range format in Host IP condition for discovery based actions.
  • Action conditions should not limit the acceptable range by the total number of covered addresses.

API changes

  • The new range format must be supported by drule.create, drule.update API method parameter validation. It must be limited by the total number of covered addresses, which should be less than 64K. Hitting this limit should give specific error message.
  • The new range format must be supported by action.create, action.update API method parameter validation.
  • Range should not be limited by action.create, action.update API methods.

Documentation

  • What's new
  • Network discovery rule configuration
  • Action condition configuration for discovery based events

ChangeLog

1.0

  • Initial version

1.1

  • Added IPv6 examples, range limits

1.2

  • Range limit removal from action conditions