UNSOLVED

Dmitri_Lechtchi

updated

17 years ago

0

4137

September 24th, 2009 04:00

Adding discovery filter via dmctl/perl API

I'm trying to add AD filter entries via the Perl API. I got the following info for the add_filter function:

     add_filter(
      filter ,
      port ,
      snmpVersion ,
      accessMode ,
      communities
     )

but when I try to run it, I get this error message:

     [6] Reference to 2-element array expected for argument to InCharge primitive 'invokeOperation', stopped at ./set_ad_filters.pl line 42

I can't figure out the format for the filter argument. Does someone know what I should pass to this?

Thanks,

-Dmitri