Monitor the operational status of a Zylinc solution, part 4
In this post (number four of six in the series), we cover Windows services that run on the Zylinc Windows Application Server.
Background: Many organizations want to be able to monitor how their critical IT and communications solutions perform, so that they can quickly deal with any potential problems before many users become affected. If you work in IT operations or a similar function, and your organization uses Zylinc, this blog series is for you. It covers what you need to know if you’re going to monitor the operational status of a Zylinc solution.
You should monitor some relevant Windows services that run on the Zylinc Windows Application Server. The names of the services, and the binary paths to the related processes, contain version numbers, so the names and binary paths will change every time you upgrade the system.
That in turn means that when you upgrade the Zylinc system, you’ll also need to review the service names and process names that you’ve have set up for monitoring.
Because of the dynamic nature of service names and binary paths, we don’t maintain an exact list of services and binary paths to monitor. Instead, I’ll show you how to quickly extract such a list when you need it:
Services
The names of the services that you should monitor all begin with zymt_. You can use the sc command to extract a list of all services whose names begin with zymt_.
On the Zylinc Windows Application Server, open a Windows command prompt.
Copy this line, and run it the prompt:
sc queryex type= service state= all|find /i "service_name: zymt_">1.bat
Then run this line in the command prompt:
notepad 1.bat
A Notepad window will open. You can make the list of services look a little prettier, if you replace all instances of SERVICE_NAME: (note that there should be a space after the colon) with an empty string.
Binary file paths
Do the following to extract a list of the binary paths of all the services whose names begin with zymt_.
Open a Windows command prompt and run these two lines one after the other in the command prompt:
sc queryex type= service state= all|find /i "service_name: zymt_">1.bat
notepad 1.bat
A Notepad window will open.
Replace all instances of SERVICE_NAME: (again with a space after the colon) with sc qc (with a space after sc qc).
Add >2 to the end of the first line.
Add >>2 to the end of all the other lines, like in this example:
Save, and then exit Notepad.
Now, run these three lines one after the other in the command prompt:
1.bat
find /i "binary_path_name" <2>3.txt
notepad 3.txt
A Notepad window will open, and you’ll see a list of the binary paths for all the service processes.
Ports
To give you a good overview of the many different Zylinc services and modules, we have an Excel spreadsheet that you can use to decide which network ports you need to monitor on your Zylinc Windows Application Server.
The spreadsheet contains all known network ports of the system, and you can download it from Zylinc unified help. As usual, if you get a sign-up page when you access the link, simply fill in the sign-up form, and my colleagues in Zylinc’s admin office will give you access quickly.
The next post in this blog series will be about monitoring relevant Tomcat services on Windows. Here’s an overview of the rest of the series:
- Monitor relevant Tomcat services on Windows
- Monitor SQL Server availability