object discoveryrule.create(object/array lldRules)
This method allows to create new LLD rules.
(object/array) LLD rules to create.
The method accepts LLD rules with the standard LLD rule properties.
(object) Returns an object containing the IDs of the created LLD rules under the
itemids property. The order of the returned IDs matches the order of the passed LLD rules.
Create a Zabbix agent LLD rule to discover mounted file systems. Discovered items will be updated every 30 seconds.
CDiscoveryRule::create() in frontends/php/api/classes/CDiscoveryRule.php.