📎 AI Summary:
The forum thread discusses a user's need for a Windows script to monitor an application's telnet port and notify a monitoring server, with the user planning to use Zabbix for this purpose. The initial poster seeks guidance on creating such a script, and a responder suggests using PowerShell instead of telnet for security reasons. The user clarifies their setup with Zabbix on Windows Server 2008 R2, and the conversation shifts towards developing a Windows script to check the telnet service, with the responder providing a PowerShell command snippet for checking a service status. Overall, the thread reflects a troubleshooting effort centered on Windows-based service monitoring and scripting.

mcolibaly

New Member
Joined
Dec 4, 2019
Messages
3
Thread Author #1
Hello everyone,

I come to you near for a topic of monitore. I am looking for a script under windows to periodically check an application by telnet on its port then inform the monitoring server that will send the notification turn.

Thank you for your help
 

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
If this is Windows to Windows I would use Powershell. Telnet is very insecure and you'd still need to run a script where as Powershell can connect and execute commands in the script itself.
 

mcolibaly

New Member
Joined
Dec 4, 2019
Messages
3
Thread Author #3
I have a supervion server Zabbix, and a service run on server windows server 2008R2 now i want to check my application on her telnet port if down the zabbix must notify me.
 

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
Zabbix looks like it's it's own product, you'd likely need to consult their documentation on how to do that. I doubt you'll find someone on here that uses Zabbix
 

mcolibaly

New Member
Joined
Dec 4, 2019
Messages
3
Thread Author #5
Neemobeer ok thanks for your reply but you can help me to make a script windows who check my service on telnet ?
 

Solution

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
((Get-Service -Name "ServiceName").Status -eq "Running")