Page 1 of 1

This key is already associated with an element of this collection

Posted: Tue Oct 10, 2023 2:01 am
by cvds
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'

Re: This key is already associated with an element of this collection

Posted: Fri Oct 27, 2023 3:23 pm
by jmichaelson
Which specific NCPA plugin are you using? My guess is that it's this one: https://github.com/HariSekhon/Nagios-Pl ... rvices.wsf

If that's the case, or it is another plugin that isn't created by Nagios, reach out to the developer for assistance with this issue.

If it is a Nagios created plugin, let me know which one specifically.