Hi All,
We want to monitor the Established connection of one of the window server.
Is it possible to use generic execution plugin in this case?? because we can use the netstat for local machine but dont know whether we can use netstat for remote machine.
So please help how can we find the established connection for any window machine
Best Regards,
Jaydatt
Answer by Jaydatt D. ·
Can you please more elaborate on your last line that is local shell part.
Logon to the machine that runs your collector - make sure you use the same user account as the Collector runs. If your collector runs on Windows open a Command Line and execute your netstat statement and verify that it delivers the output that you anticipate. If your collector runs on Linux open a shell and do the same.
What I am saying is that you should first double check if the command you want to execute actually works on that machien where your Collector runs using the same user account as the Collector.
Answer by Jaydatt D. ·
Hi Andi,
Using Windows performance monitor we are getting the current connection count which gives the count of the incoming connections to the web server that we are monitoring using IIS plugin. but we want the out going connection that can be retrieve using the netstat command.
for that we are trying the below command
netstat -anp tcp | find "ESTABLISHED" /c
but using the generic execution monitor I am not able to do this. No out out is coming and monitor is keep on running.
Please Help
Best Regards,
Jaydatt
Remember - the commands executed by the generic executor plugin are executed on the collector. So - you have to use a command that can retrieve the data you are looking for on the machine where the collector runs. Best thing is to try this in a local shell on that machine.
Answer by Andreas G. ·
Hi
What is it really that you want to monitor? Is it the number of open connections on that Windows Machine? Or do you simply want to check whether this machine is available?
Number of Connections?
The Generic Execution Plugin will allow you to execute a command on a collector. If you find a command that can query this data for a remote machine than it will work. One other option that you have is to use the Windows Performance Monitor as I assume the number of active connections is also available via a Performance Counter
Availability Check?
In this case you can do two things:
a) install a Host Monitorig Agent on that machine. That will automatically show you whether the host is up or not - and dynaTrace will also alert in case it is not
b) you can use the Availability Monitor Plugin which does a ping to check whether a machine is available
Hope this helps
JANUARY 15, 3:00 PM GMT / 10:00 AM ET