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
General Support / Re: Exporting the list of nodes
January 15, 2013, 10:47:18 AM
Hello

You can use following SQL query: SELECT i.ip_addr,i.ip_netmask,op.name FROM interfaces AS i,object_properties AS op WHERE i.node_id=op.object_id AND i.ip_addr NOT IN ('0.0.0.0', '127.0.0.1') ORDER BY i.node_id,i.ip_addr

If you use PostgreSQL, you can do it by using \copy command in psql shell: \copy (SELECT i.ip_addr,i.ip_netmask,op.name FROM interfaces AS i,object_properties AS op WHERE i.node_id=op.object_id AND i.ip_addr NOT IN ('0.0.0.0', '127.0.0.1') ORDER BY i.node_id,i.ip_addr) TO '/tmp/nodes.csv' CSV HEADER
#977
Select image dialog load all images to show preview, but it should be done only once. I'll add background sync on login, or maybe we will generate thumbnails for images.

I'm unable to replicate issue with background not changed. My test case was:
* I upload new image into image library
* I created two maps and set background to test image from library
* Restarted client to flush all caches
* Open one map
* Replace image file for that image in Image Library

Can you please provide more details about files you use? File size, image size?
#978
1) Check that "primary IP" on overview tab for node "MARLONHURTADO" is listed in MasterServers
2) Check again with nxget, but use external IP instead of loopback.
#979
Поле root_event_id в таблице event_log сейчас "not null"? Если нет, попробуйте добавить not-null constraint и перезапустить апгрейд (UPDATE event_log SET root_event_id=0 WHERE root_event_id IS NULL; ALTER TABLE event_log ALTER COLUMN root_event_id SET NOT NULL).
#980
General Support / Re: Reports
January 07, 2013, 06:00:41 PM
Management console was unable to parse report definition (it's xml file with root tag "jasperReport").
Can you send me your report definition file?

Quote from: Lukas on January 07, 2013, 02:08:55 PM
I got the following exception in the java management console stderr or stdout (netxms 1.2.4):

org.simpleframework.xml.core.ValueRequiredException:
Unable to satisfy @org.simpleframework.xml.ElementList(inline=true, entry=, name=, data=false, empty=true, required=true, type=void) on field
'parameters' private java.util.List org.netxms.ui.eclipse.reporter.widgets.helpers.ReportDefinition.parameters
for class org.netxms.ui.eclipse.reporter.widgets.helpers.ReportDefinition at line 2

#981
General Support / Re: Reports
January 07, 2013, 05:53:27 PM
I temporarily put complete prebuild package here: https://www.netxms.org/tmp/report-generator.jar.
Due to licensing restrictions, we can't redistribute most of JDBC drivers so you have to compile it yourself (we will probably make jar with pgsql/mysql drivers only available on the webpage a bit later). Here is short instruction, how to build it yourself: http://wiki.netxms.org/wiki/How_to_compile_report-generator

When you obtain report-generator.jar, copy it to /opt/netxms/java-lib/ (JavaLibraryDirectory)

I just tried to run "IP Inventory" with your configuration and report-generator from the link above and it works fine.
#982
Общие вопросы / Re: RSS сдох?
December 19, 2012, 08:05:48 PM
Quote from: nOT on December 14, 2012, 04:48:43 PM
Alex, работает, только последняя новость от 15 Aug 2011, про 1.0.12 :)

И то верно. Скрипт работает гораздо лучше, если ему указать правильный источник данных :).  Поправил.
#983
Общие вопросы / Re: RSS сдох?
December 14, 2012, 03:05:21 PM
Поправил, https://www.netxms.org/rss теперь работает
#984
Announcements / Re: netxms.org moved to another hosting
October 27, 2012, 02:22:32 PM
Could you please provide more details?

Looks fine to me:

Alexs-MacBook-Air:~ alk$ svn ls https://svn.netxms.org/public/netxms
branches/
tags/
trunk/
#985
Announcements / Bugtracker migration
October 18, 2012, 02:00:03 PM
Hello.

We switched from Mantis to ChiliProject, which is now available at https://www.radensolutions.com/chiliproject/projects/netxms.
Most open issues are moved from Mantis to Chili, please check for status there.

Best regards,
Alex.
#986
Announcements / netxms.org moved to another hosting
October 18, 2012, 01:58:49 PM
Hello.

We moved whole netxms.org to another hosting, if you run into any problem with forum - please report it here or contact me via PM.

Best regards,
Alex.
#987
General Support / Re: nxagent on dd-wrt router
September 21, 2012, 06:54:02 PM
You need to setup environment for cross-compiling, quick search on google resulted in this link: http://www.dd-wrt.com/dd-wrtv2/downloads/others/sourcecode/toolchains/current-toolchains.tar.bz2
Check this link for more info: http://wiki.openwrt.org/doc/devel/crosscompile
#988
General Support / Re: Agent on Mac OS
September 21, 2012, 05:53:50 PM
Core agent already can be compiled and installed on OS X, however platform subagent in early stage of development. I just started it a week ago, and I think it will be included in 1.2.4 release.
In a meantime, you can use SNMP, according to Apple it's included in Server version of OS. Instructions: http://support.apple.com/kb/TA20884
#989
Проверьте пожалуйста, что есть права на запись в temp (java.io.tmpdir, обычно $CATALINA_BASE/temp) — и на уровне файловой системы, и в настройках java security manager (если включен)
#990
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