Script telnet check windows

mcolibaly

New Member
Joined
Dec 4, 2019
Messages
3
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,998
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
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,998
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
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,998
((Get-Service -Name "ServiceName").Status -eq "Running")
 

Back
Top