Getting remote pmon port

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
v.yarymov
Posts:15
Joined: Fri Jul 27, 2018 3:15 pm

Getting remote pmon port

Post by v.yarymov »

Hello!

I work on script for managers diagnostic.
There are many question, but all will be simple, if I will know how to get remote pmon port for getting data from remote hosts.

In other topic I was know how resolving IP adresses in project for getting data from 4999 port.
Now I want know how to get port if port number was changed manually in config file.

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Getting remote pmon port

Post by mkoller »

The CTRL function pmonPort() tells you the port from the config file the manager has read.
if you are using a manager running on a different computer which reads its own config file however, it might be different than the one from the server.

2 posts • Page 1 of 1