#EMS collectors not working ,

1 messages · Page 1 of 1 (latest)

sage vortex
#

i don't see data, i also crated another object custom but does not show in promethesu. i m trying to build alets like we do active qa as subscribe event

clever pagoda
sage vortex
#

@clever pagoda Thank you , do need add in same or i can create new for custom ?

#

conf/ems/default.yaml updated with new object and created file

clever pagoda
sage vortex
#

conf/ems/custom.yaml

objects:
Ems: custom_ems.yaml

#

custom_ems.yaml location under conf/ems/9.6.0/

clever pagoda
#

Location of custom_ems.yaml should be conf/ems . custom_ems.yaml file should contain everything from ems.yaml and new ems events which you want add.

sage vortex
#

Thank you , moved file and restated and added custom even that we want to have

sage vortex
#

@clever pagoda EMS still not collecting any event , i m trying to troubleshoot EMS collectors

clever pagoda
sage vortex
#

@clever pagoda Thank you logs uploaded

clever pagoda
#

Thanks. Logs show no ems events collected. Could you share your ems configuration which you have modified and which ems you have added to it?

sage vortex
#

@clever pagoda Sure

  • name: secd.ldap.trust.noServers
    exports:

    • parameters.vserverName => vserverName
    • parameters.trustedDomain => trustedDomain
    • parameters.ldapOperation => ldapOperation
  • name: exports.hostname.notFound
    exports:

    • parameters.hostname => hostname
    • parameters.addrfamily => addrfamily
    • parameters.ruleindex => ruleindex
    • parameters.policyid => policyid
    • parameters.vserver => vserver
  • name: exports.hostname.transient
    exports:

    • parameters.hostname => hostname
    • parameters.addrfamily => addrfamily
    • parameters.retcode => retcode
    • parameters.ruleindex => ruleindex
    • parameters.policyid => policyid
    • parameters.vserver => vserver
clever pagoda
#

Could you share complete file. Indentation is bit off in above message.

sage vortex
clever pagoda
#

I am getting the records as below

#

From logs you have shared earlier I see below error

26604:time=2025-12-15T07:48:33.896-05:00 level=WARN source=poller.go:866 msg="init collector-object" Poller=ntap08 error="no best-fit template for custom_ems.yaml models [] on confPath [conf] no template matches" collector=Ems object=Ems

#

It means your custom_ems.yaml is not found

#

Could you double check path of custom_ems.yaml in your file system?

sage vortex
#

conf]# tree ems/
ems/
├── 9.6.0
│   └── ems.yaml
├── custom_ems.yaml
├── custom.yaml
└── default.yaml

1 directory, 4 files

clever pagoda
#

That's the issue. custom_ems.yaml should be inside conf/ems/9.6.0

sage vortex
#

tree ems
ems
├── 9.6.0
│   ├── custom_ems.yaml
│   └── ems.yaml
├── custom.yaml
└── default.yaml

#

should be good now

clever pagoda
#

Yes, Let's restart and then once ems is fired, We should see an event collected in harvest

#

You can test also via below command in ontap which will fire an ems event

set diag
event generate -message-name secd.ldap.trust.noServers -values 103 136 672 163 845 159 270 529 593 909 909 9090

sage vortex
#

@clever pagoda Thank you now i event now