<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NxShell]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">After couple of requests we made a  small tool to help automate operations, which are currently available only thru user interface or java api. In essence, it's wrapper around Jython (Java implementation of Python) and NetXMS API, with some glue in between to make it easier to use.</p>
<p dir="auto">More details in our Wiki: <a href="http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations" rel="nofollow ugc">http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations</a></p>
]]></description><link>https://forum.netxms.org/topic/2146/nxshell</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 06:38:22 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2146.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 25 Jan 2013 11:36:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NxShell on Sun, 17 Feb 2013 01:21:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi Alex.</p>
<p dir="auto">Thanks for the upgrade to 2.7 version and for the Jython versions clarification. Now I can add current versions of modules I need. It is also possible to list all availables modules (in the previous version modules command gave me an error):</p>
<blockquote>
<p dir="auto">NetXMS 1.2.6 Interactive Shell<br />
&gt;&gt;&gt; import xlrd<br />
&gt;&gt;&gt; help()</p>
<p dir="auto">Welcome to Python 2.7!  This is the online help utility.</p>
<p dir="auto">If this is your first time using Python, you should definitely check out<br />
the tutorial on the Internet at <a href="http://docs.python.org/tutorial/" rel="nofollow ugc">http://docs.python.org/tutorial/</a>.</p>
<p dir="auto">Enter the name of any module, keyword, or topic to get help on writing<br />
Python programs and using Python modules.  To quit this help utility and<br />
return to the interpreter, just type "quit".</p>
<p dir="auto">To get a list of available modules, keywords, or topics, type "modules",<br />
"keywords", or "topics".  Each module also comes with a one-line summary<br />
of what it does; to list the modules whose summaries contain a given word<br />
such as "spam", type "modules spam".</p>
<p dir="auto">help&gt; modules</p>
<p dir="auto">Please wait a moment while I gather a list of all available modules...</p>
<p dir="auto">BaseHTTPServer      codecs              jffi                sched<br />
CGIHTTPServer       codeop              json                select<br />
ConfigParser        collections         keyword             sets<br />
Cookie              colorsys            linecache           setuptools<br />
DocXMLRPCServer     command             locale              sgmllib<br />
HTMLParser          commands            logging             sha<br />
MimeWriter          compileall          macpath             shelve<br />
Queue               compiler            macurl2path         shlex<br />
SimpleHTTPServer    contextlib          mailbox             shutil<br />
SimpleXMLRPCServer  cookielib           mailcap             signal<br />
SocketServer        copy                markupbase          site<br />
StringIO            copy_reg            marshal             smtpd<br />
UserDict            csv                 math                smtplib<br />
UserList            ctypes              md5                 sndhdr<br />
UserString          datetime            mhlib               socket<br />
_LWPCookieJar       dbexts              mime                sre<br />
_MozillaCookieJar   decimal             mimetools           sre_compile<br />
_<em>builtin_</em>         difflib             mimetypes           sre_constants<br />
_<em>future_</em>          dircache            mimify              sre_parse<br />
_abcoll             dis                 modjy               ssl<br />
_ast                distutils           multifile           stat<br />
_codecs             doctest             mutex               string<br />
_collections        dom                 netrc               struct<br />
_csv                dumbdbm             new                 subprocess<br />
_fsum               dummy_thread        nntplib             symbol<br />
_functools          dummy_threading     nt                  synchronize<br />
_google_ipaddr_r234 easy_install        ntpath              sys<br />
_hashlib            email               nturl2path          sysconfig<br />
_io                 encodings           numbers             tabnanny<br />
_jyio               errno               opcode              tarfile<br />
_marshal            etree               operator            telnetlib<br />
_py_compile         exceptions          optparse            tempfile<br />
_pyio               filecmp             os                  test<br />
_random             fileinput           parsers             tests<br />
_rawffi             fnmatch             pawt                textwrap<br />
_sre                formatter           pdb                 this<br />
_strptime           fpformat            pickle              thread<br />
_systemrestart      fractions           pickletools         threading<br />
_threading          ftplib              pipes               time<br />
_threading_local    functools           pkg_resources       timeit<br />
_warnings           future_builtins     pkgutil             token<br />
_weakref            gc                  platform            tokenize<br />
_weakrefset         genericpath         plistlib            trace<br />
abc                 getopt              popen2              traceback<br />
aifc                getpass             poplib              tty<br />
anydbm              gettext             posixfile           types<br />
argparse            glob                posixpath           ucnhash<br />
array               grp                 pprint              unicodedata<br />
ast                 gzip                profile             unittest<br />
asynchat            hashlib             pstats              urllib<br />
asyncore            heapq               pty                 urllib2<br />
atexit              hmac                pwd                 urlparse<br />
base64              htmlentitydefs      py_compile          user<br />
bdb                 htmllib             pycimport           uu<br />
binascii            httplib             pyclbr              uuid<br />
binhex              ihooks              pydoc               warnings<br />
bisect              imaplib             pyexpat             weakref<br />
bz2                 imghdr              quopri              whichdb<br />
cPickle             imp                 random              wsgiref<br />
cStringIO           importlib           re                  xdrlib<br />
calendar            inspect             readline            xlrd<br />
cgi                 io                  repr                xml<br />
cgitb               isql                rfc822              xmllib<br />
chunk               itertools           rlcompleter         xmlrpclib<br />
cmath               jarray              robotparser         zipfile<br />
cmd                 javapath            runpy               zipimport<br />
code                javashell           sax                 zlib</p>
<p dir="auto">Enter any module name to get more help.  Or, type "modules spam" to search<br />
for modules whose descriptions contain the word "spam".</p>
<p dir="auto">help&gt;</p>
</blockquote>
<p dir="auto">I will continue testing this good tool...</p>
]]></description><link>https://forum.netxms.org/post/9711</link><guid isPermaLink="true">https://forum.netxms.org/post/9711</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Sun, 17 Feb 2013 01:21:35 GMT</pubDate></item><item><title><![CDATA[Reply to NxShell on Sat, 16 Feb 2013 17:46:30 GMT]]></title><description><![CDATA[<p dir="auto">It's build around Jython which is 2.5.4 right now (not CPython, which is 3.3.0 right now), 2.7 is in beta stage.<br />
I've did couple of quick tests with 2.7-beta1 version and it seems to work fine. You can try this jar: <a href="https://netxms.org/nxshell-1.2.5_jython27.jar" rel="nofollow ugc">https://netxms.org/nxshell-1.2.5_jython27.jar</a>.</p>
]]></description><link>https://forum.netxms.org/post/9706</link><guid isPermaLink="true">https://forum.netxms.org/post/9706</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Sat, 16 Feb 2013 17:46:30 GMT</pubDate></item><item><title><![CDATA[Reply to NxShell on Sat, 16 Feb 2013 02:19:53 GMT]]></title><description><![CDATA[<p dir="auto">Hi Alex.</p>
<p dir="auto">I'm trying NetXMS 1.2.5 Interactive Shell and and I can see it's a nice tool. It is much easier any automatic bulk operation.</p>
<blockquote>
<p dir="auto">NetXMS 1.2.5 Interactive Shell<br />
&gt;&gt;&gt; help()</p>
<p dir="auto">Welcome to Python 2.5!  This is the online help utility.</p>
</blockquote>
<p dir="auto">But Interactive Shell use python 2.5 vesion and the latest current production versions is Python 3.3.0<br />
I'm trying to modify nxshell-1.2.5.jar contents to replace the lib directory from 3.3.0 version, but then I get an error in org.python.core<br />
How can I upgrade python shell to 3.3.0 version?<br />
I need to import some Python modules which only work with 2.7 version and later.</p>
<p dir="auto">Best regards.</p>
]]></description><link>https://forum.netxms.org/post/9701</link><guid isPermaLink="true">https://forum.netxms.org/post/9701</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Sat, 16 Feb 2013 02:19:53 GMT</pubDate></item><item><title><![CDATA[Reply to NxShell on Mon, 04 Feb 2013 08:49:21 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much for your support, it is just what I needed.<br />
nxshell opens a world of great possibilities for large environments!</p>
<p dir="auto">Best regards.</p>
]]></description><link>https://forum.netxms.org/post/9534</link><guid isPermaLink="true">https://forum.netxms.org/post/9534</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Mon, 04 Feb 2013 08:49:21 GMT</pubDate></item><item><title><![CDATA[Reply to NxShell on Mon, 04 Feb 2013 00:36:45 GMT]]></title><description><![CDATA[<p dir="auto">I've added couple more samples to Wiki (<a href="http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations#Sample_Scripts" rel="nofollow ugc">http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations#Sample_Scripts</a>)</p>
]]></description><link>https://forum.netxms.org/post/9531</link><guid isPermaLink="true">https://forum.netxms.org/post/9531</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 04 Feb 2013 00:36:45 GMT</pubDate></item><item><title><![CDATA[Reply to NxShell on Thu, 31 Jan 2013 17:30:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/testos" aria-label="Profile: testos">@<bdi>testos</bdi></a> said in <a href="/post/9510">NxShell</a>:</p>
<blockquote>
<ul>
<li>Modify some node properties: polling options, comments, custom attributes, calculation status, etc.</li>
<li>Edit some properties for the previous DCIs (description, transformation, thresholds, etc..)</li>
</ul>
</blockquote>
<p dir="auto">y can do this with sql query</p>
]]></description><link>https://forum.netxms.org/post/9511</link><guid isPermaLink="true">https://forum.netxms.org/post/9511</guid><dc:creator><![CDATA[SKYnv]]></dc:creator><pubDate>Thu, 31 Jan 2013 17:30:44 GMT</pubDate></item><item><title><![CDATA[Reply to NxShell on Thu, 31 Jan 2013 17:18:33 GMT]]></title><description><![CDATA[<p dir="auto">I had planned to read nodes from a file and check if exist in certain containers. If they did not exist would be created and then:</p>
<ul>
<li>Modify some node properties: polling options, comments, custom attributes, calculation status, etc.</li>
<li>Manage network interfaces only having a certain name, others unmanaged.</li>
<li>Create DCI for managed interfaces.</li>
<li>Edit some properties for the previous DCIs (description, transformation, thresholds, etc..)</li>
<li>Create other DCI for node (MTBF &amp; MTTR -<a href="https://www.netxms.org/forum/general-support/mtbf-%28mean-time-between-failures%29-and-mttr-%28mean-time-to-repair%29/msg8953/#msg8953-" rel="nofollow ugc">https://www.netxms.org/forum/general-support/mtbf-(mean-time-between-failures)-and-mttr-(mean-time-to-repair)/msg8953/#msg8953-</a>, etc.)</li>
</ul>
<p dir="auto">All this for about 400 nodes  :-[.</p>
<p dir="auto">Best regards.</p>
]]></description><link>https://forum.netxms.org/post/9510</link><guid isPermaLink="true">https://forum.netxms.org/post/9510</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Thu, 31 Jan 2013 17:18:33 GMT</pubDate></item><item><title><![CDATA[Reply to NxShell on Wed, 30 Jan 2013 17:41:37 GMT]]></title><description><![CDATA[<p dir="auto">Yes, all operations done by GUI can be done using API. Right now it's just a raw Java API with some glue for more convenient use, but I plan to make it more Python-ish.</p>
<p dir="auto">I can add more samples – do you have any particular idea in mind?</p>
]]></description><link>https://forum.netxms.org/post/9482</link><guid isPermaLink="true">https://forum.netxms.org/post/9482</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Wed, 30 Jan 2013 17:41:37 GMT</pubDate></item><item><title><![CDATA[Reply to NxShell on Wed, 30 Jan 2013 14:08:21 GMT]]></title><description><![CDATA[<p dir="auto">Hello Alex.</p>
<p dir="auto">Thanks for this tool, I'm very interested in trying it.<br />
Is it possible to automate any task we can be done by console?<br />
Is there available other sample scripts in addition to the one in the wiki?</p>
<p dir="auto">Best regards.</p>
]]></description><link>https://forum.netxms.org/post/9475</link><guid isPermaLink="true">https://forum.netxms.org/post/9475</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Wed, 30 Jan 2013 14:08:21 GMT</pubDate></item></channel></rss>