How to List All Active Sessions

Keeping track of your proxy connections is important for smooth and efficient operations. Inside Geonode is a helpful feature that lists all active sessions. By seeing all the current connections, you can better manage your resources, spot any issues quickly, and ensure everything runs smoothly.

Step 1: View a List of All Active Sessions

To view a list of all active sessions currently being used with your account, you can make a request using the following command:

Request
GET
curl -X GET "https://monitor.geonode.com/sessions/?page=1&pageSize=250" -u geonode_:


Parameters

username string

Your API username (Required)


password string

Your API password (Required)


service-name e.g., residential-premium

The name of the service that you purchase.


page number (default=1)

(optional)


pageSize number (default=250)

(optional) maximum of 250


Implementation

Fill in the needed credentials from the service you purchased:

curl -X GET "https://monitor.geonode.com/sessions/?page=1&pageSize=250" -u geonode_:

Please note that you need to have active sessions to receive a response like the one below. In case there are no sticky sessions active, the response will be empty, stating the session count is zero.

Conclusion

Being able to view all active sessions within Geonode provides valuable insight into your proxy usage. By accessing this feature, you can effectively manage your resources, identify any potential issues, and ensure the smooth operation of your proxy connections. With the ability to monitor and track sessions, you can optimize your proxy usage for maximum efficiency and performance.