Classifier is running once for each running process generating multiple CIs

GrimaceJD
Tera Contributor

Greetings experts. 


I'm trying to write a custom classifier (and pattern, but that's not the issue) for the Caché database engine. The issue is that RDBMS seems to have many running "cache.exe" processes on the servers it's installed on. If I look for the "cache.exe" process, it runs the classifier once for each running process (and there are over 100 of them on each server). This generates a whole bunch of duplicate database instance CIs. How would I go about making sure the classifier runs only once? I've been trying to think of a way, and I'm sure there is, but I can't figure it out.

 

Thanks!

3 REPLIES 3

Community Alums
Not applicable

Hi @GrimaceJD

 

Are there any unique identifiers for this cache.exe running process records 

  • name
  • PID
  • PPID
  • command
  • parameters
  • listening_on_ports
  • connecting_to_ports
  • connecting_to
  • key_parameters
  • classify

Hi @Community Alums,

Thanks for your response. Unfortunately, I haven't been able to find any values that are unique on each server, but common across other servers. Running processes on the same server may have the same values in all of those fields, which is why this is super frustrating, and why I think I need a solution outside of the Conditions on the Classifier. 
I have found that if I restrict it by "Parent is empty" that cuts down quite a bit as most of them are child processes, but even then there are still several per server.

Community Alums
Not applicable

hi @GrimaceJD , 

 

Did you try writing a custom script to remove the duplicate running process and to run the discovery pattern only once. 

 

Regards, 

 

Srinija