This key is already associated with an element of this collection
Posted: Tue Oct 10, 2023 2:01 am
After adding two exclusions in the arguments for the automatic services check ,the following error occurs. But i'm not sure why this is occuring.
C:\Program Files (x86)\Nagios\NCPA\plugins\check_automatic_services.wsf(377, 18) Microsoft VBScript runtime error: This key is already associated with an element of this collection
$USER1$/check_ncpa.py -H $HOSTADDRESS$ -t '$USER3$' -P 5693 $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
-M 'plugins/check_automatic_services.wsf'
-a '-exclude:bits,StoredStudies,sppsvc,Traps Reporting Service,traps,twdservice, tiledatamodelsvc, RemoteRegistry,Windows Biometric Service,Windows Modules Installer'
C:\Program Files (x86)\Nagios\NCPA\plugins\check_automatic_services.wsf(377, 18) Microsoft VBScript runtime error: This key is already associated with an element of this collection
$USER1$/check_ncpa.py -H $HOSTADDRESS$ -t '$USER3$' -P 5693 $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
-M 'plugins/check_automatic_services.wsf'
-a '-exclude:bits,StoredStudies,sppsvc,Traps Reporting Service,traps,twdservice, tiledatamodelsvc, RemoteRegistry,Windows Biometric Service,Windows Modules Installer'