News:

We really need your input in this questionnaire

Main Menu
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

#991
General Support / Re: Useful WMI Queries
June 14, 2012, 03:49:58 PM
Temperature of CPU's thermal zone:WMI.Query(root\WMI,"select * from MSAcpi_ThermalZoneTemperature",CurrentTemperature)

This temperature is in tenths of degrees Kelvin, so you need to add transformation script:
for Celsius:($1-2730)/10
for Fahrenheit:((($1-2730)/10)*1.8)+32
#993
Код написан под lm_sensors-3, но вот configure не проверяет версию - только наличие.
Постараюсь сегодня починить.
#994
В 1.2.1 будет поддержка lm_sensors
#995
Путь к файлу лога можно посмотреть таким SQL запросом: mysql> show global variables like 'log_error';
+---------------+--------------------------+
| Variable_name | Value                    |
+---------------+--------------------------+
| log_error     | /var/log/mysql/error.log |
+---------------+--------------------------+
1 row in set (0.00 sec)


Проверьте параметр log_warnings: mysql> show global variables like 'log_warnings';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| log_warnings  | 1     |
+---------------+-------+
1 row in set (0.00 sec)


Если значение меньше двух, то поменяйте:mysql> set global log_warnings = 2;
Query OK, 0 rows affected (0.00 sec)


После чего перезапустите netxmsd и повторите ошибку. Рестарт mysql не требуется.
#996
I'll try to include https support into upcoming 1.2.1 release, but in a meantime you can use http://www.stunnel.org/ to make it work.

Sample command line for stunnel3 (will listen on port 8888 for plain HTTP and connect to netxms.org:443 over HTTPS):stunnel -c -d 8888 -r netxms.org:443

Sample config for stunnel4:client = yes

[http]
accept = 8888
connect = netxms.org:443

#997
Общие вопросы / Re: Reporting bug?
May 22, 2012, 05:10:11 PM
Попробуйте заменить
JDBCUrl=jdbc:mysql://localhost/netxms
на
JDBCUrl=jdbc:mysql://127.0.0.1/netxms
#998
Какая система? 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
#999
Общие вопросы / 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)
#1000
Общие вопросы / 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 и все параметры, если они есть)
#1001
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/
#1002
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
#1003
Общие вопросы / Re: RSS сдох?
April 24, 2012, 12:58:12 PM
Да, есть такое дело.
В ближайшие дни поправлю.
#1004
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.
#1005
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