Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to know the name of EMS collectors

154 views
Skip to first unread message

calgary cn

unread,
Feb 20, 2018, 10:39:42 AM2/20/18
to
Hi,
I'm a newbie. There is a question always puzzled me. That is which command or how could help me to know the name and number of all EMS collectors in Tandem.? Appreciate very much if could help me out.


Thanks

Andre White

unread,
Feb 20, 2018, 1:28:42 PM2/20/18
to
try type this:

Whohas $system.system.emsdist or you can use EMSCINFO for display all information about a primary or alternate collector

Keith Dick

unread,
Feb 20, 2018, 1:31:36 PM2/20/18
to
This TACL command might be what you need:

status *,prog $system.*.emsacoll

That will list all the processes (and their backup processes) that are running the EMS Alternate Collector object file. The list includes the name of each process. You will have to eliminate the backup processes from the list yourself. You can do that visually, by skipping the lines that show the same process name as another line, or you could write a TACL macro or routine to automate that.

This list, plus $0, will show all of the EMS collectors that are running.

I am not sure why you would need to know the names of all the EMS collectors. When there are multiple collectors, it usually is the case that each one was started to collect events from a particular set of processes in the system, so you usually should not send events to a collector unless you already know that collector was set up to receive the kind of events you intend to send it. But I suppose if you are unfamiliar with a system and are trying to find out what has been set up, listing the names of all the collectors could be a useful thing to do.

calgary cn

unread,
Feb 21, 2018, 9:15:14 AM2/21/18
to
在 2018年2月20日星期二 UTC-5下午1:28:42,Andre White写道:
Thank you Andre. EMSDIST and EMSCINFO can display all information about all collectors when you knew them. If you don't know the collectors name, these 2 will do nothing. So, except these 2 commands, is there any way I can know the collectors and distributors name?

Andre White

unread,
Feb 21, 2018, 9:41:30 AM2/21/18
to
Hi calgary,

As keith mentioned above, u can use this command "status *,prog $system.*.emsacoll" or "whohas $system.*.emsacoll"

Thanks

calgary cn

unread,
Feb 21, 2018, 9:45:18 AM2/21/18
to
在 2018年2月20日星期二 UTC-5下午1:31:36,Keith写道:
Hi Keith,

You are right, I got it. Yes, I am not familiar with this system and learning EMS commands. After read through all EMS documents, I can not find how to know all collectors names. I am thinking I must miss some important details about this part. This command looks like TACL command, its not EMS command. Your reply is very helpful. Appreciate so much.

calgary cn

unread,
Feb 21, 2018, 10:00:17 AM2/21/18
to
在 2018年2月21日星期三 UTC-5上午9:41:30,Andre White写道:
You are so great. Yes, both are working. Thanks so much. I have one more question for you. I had checked EMS log files, looks like there are more events of EMS collectors and distributors have been logged than 2 commands displayed. Why?

Keith Dick

unread,
Feb 21, 2018, 12:32:58 PM2/21/18
to
You asked: "I had checked EMS log files, looks like there are more events of EMS collectors and distributors have been logged than 2 commands displayed. Why?"

I do not understand what it is that you checked, nor what you mean when you say there are more events logged than the 2 commands displayed. So far in this discussion no one has showed a command that displays any events from EMS. (Andre mentioned EMSDIST, but did not show a command that used it.) EMSCINFO displays the number of events the collector named has received, logged, and discarded. Are you asking something about those counts of events?

If you post again with more details about how you checked for events and what you saw that seems not to be consistent with that, we might be able to explain what is happening.

calgary cn

unread,
Feb 21, 2018, 12:40:18 PM2/21/18
to
在 2018年2月21日星期三 UTC-5下午12:32:58,Keith写道:
I figured out myself. Thank you so much Keith.
0 new messages