Hello. admin/netxms is default credentials, but you have another issue – WebUI can't connect to the server. Check that netxmsd is running and accepting connections on port 4701/TCP.
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 MenuSubagent=ups.nsm
[ups]
Device = 0:"COM1:":MEGATEC
gpg --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)