Thank you.
Can you please specify license (GPL, MIT, Public domain) - I'll include it into official packages repository.
Can you please specify license (GPL, MIT, Public domain) - I'll include it into official packages repository.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
public void updateZmqEventSubscription(long objectId, long dciId, boolean subscribe) throws IOException, NXCException;
public void updateZmqDataSubscription(long objectId, long dciId, boolean subscribe) throws IOException, NXCException;
public List<ZmqSubscription> getZmqSubscriptions(ZmqSubscriptionType type) throws IOException, NXCException;
mkdir c:\tmp
cd c:\tmp
git clone git://github.com/kennethreitz/requests.git
java -jar nxshell-2.0.5.jar
Server IP [127.0.0.1]:
Login [admin]:
Password [netxms]:
NetXMS 2.0.5 Interactive Shell
>>> import requests
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named requests
>>> import sys
>>> sys.path.append('c:\\tmp\\requests')
>>> import requests
>>> r = requests.get('https://www.netxms.org/')
<Response [200]>
>>> r.status_code
200
>>> r.headers
{'Keep-Alive': 'timeout=15, max=100', 'Server': 'Apache/2.2.16 (Debian)', 'Connection': 'Keep-Alive', 'Date': 'Wed, 17 Aug 2016 14:06:34 GMT', 'Accept-Ranges': 'bytes', 'Content-Encoding': 'gzip', 'Vary': 'Accept-Encoding', 'Content-Length': '3237', 'Content-Type': 'text/html'}