This key is already associated with an element of this collection

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
cvds
Posts: 1
Joined: Tue Oct 10, 2023 1:36 am

This key is already associated with an element of this collection

Post 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'
User avatar
jmichaelson
Posts: 337
Joined: Wed Aug 23, 2023 1:02 pm

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

Post 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.
Please let us know if you have any other questions or concerns.

-Jason
Post Reply