Menu

Show posts

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

Messages - Alex Kirhenshtein

#976
Какая система? Windows, Linux, Mac?
Есть ли лог файл? (Unix: $HOME/.nxmc/data/.metadata/.log, Windows: C:\Users\username\.nxmc\data\.metadata\.log)

Quote from: dolph2005 on May 04, 2012, 03:49:33 PM
После обновления сервера и консоли при запуске появляется ошибка:
Cannot load MIB file from server: URI has an authority component
#977
Общие вопросы / Re: Reporting bug?
April 26, 2012, 01:17:13 AM
Quote from: SKYnv on April 26, 2012, 12:38:16 AM
еще бы инструмент для удобного создания (можно и не удобного) шаблонов для отчетов ))

Я использую iReport (http://jasperforge.org/projects/ireport)
#978
Общие вопросы / Re: Reporting bug?
April 25, 2012, 11:45:33 PM
Начал перепроверять и выяснилось, что https://netxms.org/report-generator.jar битый - залился не до конца.

Правильный:
26,838,545 bytes
SHA1(report-generator.jar)= bdc2fe2cc0923f8517797c7426edd1c53414c3f0


Я бы еще проверил запустить руками:
java.exe" -cp "C:\NetXMS\lib\java\report-generator.jar" org.netxms.report.Generator "c:\NetXMS\etc\netxmsd.conf" "C:\NetXMS\nxreport.a03320" "C:\NetXMS\job.output"

Если отработает, то из job.output можно сделать PDF:
java -cp "C:\NetXMS\lib\java\report-generator.jar" org.netxms.report.Exporter C:\NetXMS\job.output C:\NetXMS\job.pdf"

(nxreport.a03320 - это временный файл, который создает сервер перед запуском отчета, в нем report definition и все параметры, если они есть)
#979
General Support / Re: Download Links Broken
April 24, 2012, 01:03:03 PM
Or you can download them from https://www.netxms.org/apt/dists/
#980
General Support / Re: Download Links Broken
April 24, 2012, 01:00:57 PM
Add to /etc/apt/sources.list:

deb https://www.netxms.org/apt squeeze main

then
apt-get update
apt-get install netxms-agent
#981
Общие вопросы / Re: RSS сдох?
April 24, 2012, 12:58:12 PM
Да, есть такое дело.
В ближайшие дни поправлю.
#982
Announcements / WebUI installer 1.2.0 reuploaded
April 24, 2012, 12:58:35 AM
Hello.

We fixed issue with JVM detection, which could lead to non-functional web interface.
Version was not changed.

Please note, installer use port 8787, if you want to change it, check c:\netxms\webui\etc\jetty.xml

Best regards,
Alex.
#983
Announcements / Re: NetXMS 1.2.0 released
April 24, 2012, 12:38:08 AM
Not right now - but we plan to make PDF out of user manual in Wiki.
I'll try to make pdf version available later this week.

Quote from: lindeamon on April 22, 2012, 07:01:14 PM
hi victor,

i must say that i would prefer to have a help file rather then have to go to the internet all the time.
will there be a way to download a structured file from this wiki pages ?

Best Regards,
Lindeamon
#984
Announcements / Re: NetXMS 1.2.0 released
April 24, 2012, 12:36:57 AM
Double checked it on clean Windows VM - there was bug installer.
Updated version will be available in next couple of minutes - it will fix requirement for JAVA_HOME (it's deprecated on Windows and should be used)

Quote from: Goriem on April 20, 2012, 03:15:23 PM
Finally got it to work, i was missing the JAVA_HOME path in my system settings for the OS
#985
nxget -w 10 IP 'ATCTest.FXS.Count(...)'

где "10" - таймаут для nxget.

Про ExternalDataProvider я написал в вики: http://wiki.netxms.org/wiki/ExternalParametersProvider
В процессе написания обнаружилась бага, будет исправлена в 1.2.1 - или заменить src/agent/core/getparam.cpp на версию из SVN (https://svn.netxms.org/public/netxms/trunk/src/agent/core/getparam.cpp) и пересобрать агента.
#986
Какие результаты дает nxget?

Я попробовал повторить у себя:

Alexs-MacBook-Air:~ alk$ cat /opt/netxms/etc/nxagentd.conf
MasterServers = 127.0.0.1
LogFile = /opt/netxms/var/log/nxagentd

ExecTimeout=10000

ExternalParameter=TEST(*):/tmp/test.sh $1 $2 $3
Alexs-MacBook-Air:~ alk$ cat /tmp/test.sh
#!/bin/sh

sleep 6
echo ok
Alexs-MacBook-Air:~ alk$ /opt/netxms/bin/nxget -w 10 localhost 'TEST(abc)'
ok


Плюс я очень не рекомендую использовать ExternalParameter, когда скрипт выполняется долго - для этого лучше подходит ExternalProvider. Я напишу пример конфигурации в вики и скину сюда линк.
#987
Announcements / Re: NetXMS 1.2.0 released
April 20, 2012, 01:06:30 PM
There are two options:
1) When installing WebUI, select "JRE" option in installer
2) Install JRE from Oracle: http://www.oracle.com/technetwork/java/javase/downloads/jre-7u3-download-1501631.html

Quote from: Goriem on April 20, 2012, 10:07:34 AM
I have upgraded core server from 1.1 without problem, but when installing the new webservice webui it wont start, it states in teh log that it cannot find the jave jre enviroment:
#988
General / Re: Management Console GTK Source
April 14, 2012, 06:16:04 PM
Sources are here: https://svn.netxms.org/public/src/java/netxms-eclipse, it's based on Eclipse RCP.
#989
General Support / Re: what no webconsole win2003
March 26, 2012, 02:32:05 PM
Web interface included with current (1.0.13 and 1.1.10) installer is deprecated and will be replaced in next release.
You can download snapshot of new version here: https://www.netxms.org/download/webui/nxmc-1.1.10.war

To run this WAR you need to install any servlet container (Tomcat, Jetty, etc.) and deploy it into container.

For example: install Tomcat (http://mirrors.webhostinggeeks.com/apache/tomcat/tomcat-6/v6.0.35/bin/apache-tomcat-6.0.35.exe) as service, then copy WAR file into "webroot" folder inside Tomcat's installation directory.
After that web UI will be available at "http://localhost:8080/nxmc".

Right now I'm preparing standalone WebUI installer for upcoming release, so if you can wait couple of days - it will save you from hassle of installing and configuring servlet container on your own.
#990
General Support / Re: Mac OS - NetXMS Console
February 22, 2012, 02:05:46 AM
I don't have access to my mac right now to check, but looks like nxmc-1.1.10.tar.gz is packaged incorrectly.
You can try do following:
* open Terminal.app
* cd to directory, where you unpacked nxmc (you can type "cd " and then drag folder from Finder to Terminal.app)
* run "chmod +x nxmc.app/Contents/MacOS/nxmc"


Invalid server version message means that we did some incompatible changes in communication protocol, for example you can't connect with management console from 1.1x.x branch to 1.0.x server.