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

#1081
Announcements / High CPU usage after 1/7/2012
July 02, 2012, 01:19:15 PM
Hello.

As you might know, on July 1th, 2012 time was changed to 1 seconds back, which affected some NTP-enabled systems.
Symptoms are server lockup and high cpu usage for some processes.
We've got reports about Debian6 and Ubuntu12 servers running nxagentd.

Fix:
* Upgrade tzdata packages
* Either reboot server or stop ntpd then set date manually and then restart ntp and affected applications


UPDATE: looks like it's enough to just jump time a couple of seconds ahead using "date" command, no need to restart anything. Ntpd then will resolve this jump.

Also please check Marco's blog for more details.

More info:
http://my.opera.com/marcomarongiu/blog/2012/06/01/an-humble-attempt-to-work-around-the-leap-second
https://lkml.org/lkml/2012/7/1/203
#1082
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
#1084
Код написан под lm_sensors-3, но вот configure не проверяет версию - только наличие.
Постараюсь сегодня починить.
#1085
В 1.2.1 будет поддержка lm_sensors
#1086
Путь к файлу лога можно посмотреть таким 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 не требуется.
#1087
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

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