Monitoring Ports

Started by tonym, August 12, 2011, 08:13:15 PM

Previous topic - Next topic

tonym

Just wondering if it is possible to monitor whether a port is open / active or closed.  We have computer blades running software that communicate on various ports.  Each computer may have 65 ports that it communicate on.  It would be of interest to monitor each of the ports whether they are active / open or closed.

Comments would be appreciated.

Tony.

Victor Kirhenshtein

Hi!

Yes, it's possible. You can check this topic: https://www.netxms.org/forum/general-support/check-telnet-is-listening-on-host/ for configuration example.

Best regards,
Victor

tonym

Thanks for the answer Victor.  One more question if I may.

If I monitored all 65 ports is there an expression that would allow one to be able to suggest that if more than 'X' number of ports are down (not communicating) that a threshold could be triggered to send an email.

Tony.

Victor Kirhenshtein

Depends on how do you monitor service status. If it is done via set of DCIs, then you can create additional DCI and in transformation script, read values of all service checking DCIs, count number of services in "down" state, and return that value. Then you will be able to set threshold on this DCI as usual.

Best regards,
Victor

tonym

Thanks Victor.  I will give it a try.

Tony.