Migrate your Sipmon Central server
If the module Sipmon-poller-display-central-1.6.x is installed:
Go to the Administration > Extensions > Modules menu and uninstall the Sipmon-poller-display-central.
Remove the associated package:
shellyum remove Sipmon-poller-display-central
If your server uses the CentOS or Red Hat v7 operating system, refer to the upgrade procedure to upgrade your Central server. Otherwise, refer to the migration procedure.
If you use the Sipmon EMS modules, you must update these repositories. Be sure to contact Sipmon support and request new licenses.
Migrate a Poller from Poller Display module to Remote Server
Go to the Administration > Extensions > Modules menu and uninstall the Sipmon Poller Display module.
If you installed the module using an RPM package, remove it with the following command:
yum remove Sipmon-poller-displayIf your server uses the CentOS or Red Hat v7 operating system, refer to the upgrade procedure to upgrade your Remote Server. Otherwise, refer to the migration procedure.
If you use Sipmon EMS modules, you must update the repositories. Be sure to contact your Sipmon support and request new licenses.
Go to Administration > Extensions > Modules menu and install the Sipmon-license-manager module.
Register the server
To transform the server into a Remote Server and register it to the Sipmon Central server, execute the following command:
/usr/share/Sipmon/bin/registerServerTopology.sh -u <API_ACCOUNT> \
-t remote -h <IP_TARGET_NODE> -n <REMOTE_SERVER_NAME>Example:
/usr/share/Sipmon/bin/registerServerTopology.sh -u admin -t remote -h 192.168.0.1 -n remote-1Replace <IP_TARGET_NODE> by the IP of the Sipmon server seen by the Remote Server.
The <API_ACCOUNT> must have access to configuration API. You can use default admin account.
If you need to change the HTTP method or the port, you can use the following format for the -h option: HTTPS://<IP_TARGET_NODE>:PORT
Then follow instructions by
Entering your password:
shell192.168.0.1: please enter your password:Select the IP address if multiple network interfaces exist:
shellWhich IP do you want to use as CURRENT NODE IP ? 1) 192.168.0.2 2) 192.168.0.3 1Then validate the information:
shellSummary of the informations that will be send: Api Connection: username: admin password: ****** target server: 192.168.0.1 Pending Registration Server: name: remote-1 type: remote address: 192.168.0.2 Do you want to register this server with those informations ? (y/n)yAdd additional information to enable future communication between your Remote Server and its Central, Kindly fill in the required information to convert your platform into Remote :
<CURRENT_NODE_ADDRESS> : Please enter your username:
admin
<CURRENT_NODE_ADDRESS> : Please enter your password:
<CURRENT_NODE_ADDRESS> : Protocol [http]:
<CURRENT_NODE_ADDRESS> : Port [80]:
<CURRENT_NODE_ADDRESS> : Sipmon root folder [Sipmon]:If you use a proxy, please define credentials:
shellAre you using a proxy ? (y/n) y enter your proxy Host: myproxy.example.com enter your proxy Port [3128]: Are you using a username/password ? (y/n) y enter your username: my_proxy_username enter your password:
You will receive the validation of the Sipmon central server:
2020-10-16T17:19:37+02:00 [INFO]: The CURRENT NODE 'remote: 'remote-1@192.168.0.2' has been converted and registered successfully.Main errors messages
2020-10-20T10:23:15+02:00 [ERROR]: Invalid credentialsYour credentials are incorrect for the <API_ACCOUNT>.
2020-10-20T10:24:59+02:00 [ERROR]: Access Denied.The <API_ACCOUNT> doesn't have access to configuration API.
Failed connect to 192.168.0.1:444; Connection refusedUnable to access to the API. Please check <IP_TARGET_NODE>, scheme and port.
2020-10-20T10:39:30+02:00 [ERROR]: Can’t connect to the API using: https://192.168.0.1:443/Sipmon/api/latest/loginThe access url is not complete or is invalid. Use the --root option to define the API URL Path. For example: --root monitoring.
2020-10-20T10:42:23+02:00 [ERROR]: No route found for “POST /Sipmon/api/latest/platform/topology”Your Sipmon target version is invalid. It should be greater or equal to 21.04.
Add rights to Sipmon database user to use LOAD DATA INFILE command:
SQLGRANT FILE on *.* to 'Sipmon'@'localhost';On the Sipmon Central server, edit all pollers and attach them to the Remote Server using the selection list.
Remember to generate the configuration for your Remote Server.
A Sipmon Remote Server is self-administered.
Thus, the configuration of the LDAP directory, users and ACLs are specific to this server and must be configured through the Administration menu.