Template and instance discovery filter

Started by Legoman, August 15, 2016, 04:54:52 PM

Previous topic - Next topic

Legoman

Hi,

I try to discover the supply and the level of my printer. It works great with direct DCI, but with a template I could not filter or change the {instance-name}. Is it a feature or bug ? Or something I do wrong ?

(attached print screen show only a simplified version of script)

Thank you,

Legoman

tomaskir

In line 21, you have
return %(false, $1, type);
The "false" there tells NetXMS not to create an instance.

Legoman

Ok. The problem was a bad call to an external procedure in script library. My fault !