Right now it's RS232-only. We have plans to integrate with NUT (they have windows version too), but definitely not in next release.
We really need your input in this questionnaire
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 Menugpg --no-default-keyring --keyring /etc/apt/trusted.gpg --list-keysapt-get install debian-keyring debian-archive-keyringExternalParameter=CheckDiskCustom(*):/usr/lib64/nagios/plugins/check_nrpe -H $1 -c check_disk_custom -a 20 10 / >/dev/null 2>&1 ; echo $$?Quote from: parovoZZ on May 06, 2015, 01:37:31 PM
А из таблицы-то как получить значения? Вставляю колонки, прописываю OID и сервер уходит в ошибку. Перезапускаю службу и все изменения исчезают.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import csv, sys
menuPath = "Table1" # Table's "Menu Path"
baseObjectId = 2 # Infrastructure Services
outputFile = 'test.csv'
for table in session.listDciSummaryTables():
if table.getMenuPath() == menuPath:
result = session.queryDciSummaryTable(table.getId(), baseObjectId)
if result:
with open(outputFile, 'w') as f:
w = csv.writer(f, dialect='excel')
columns = []
for c in result.getColumns():
columns.append(c.getDisplayName())
w.writerow(columns) # Header
for row in result.getAllRows():
cells = []
for i in range(0, row.size()):
cells.append(row.get(i).getValue())
w.writerow(cells)
Quote from: jhuliagraziella on April 30, 2015, 09:00:46 PM
Hi!
I'm having a problem after updating to version M4.
I started making some scripts to add and configure nodes in python and tested them using version M2, they worked perfectly! But now they simply don't even run.
When I run this command:
java -Dnetxms.server=127.0.0.1 -Dnetxms.user=admin -jar nxshell-2.0-M4.jar script.py
I get the following error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named api
I verified my scripts and it looks everything is alright...What can I do about it?