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 - Victor Kirhenshtein

#3661
General Support / Re: Custom logo for web console
May 27, 2014, 01:50:01 PM
Hi!

Sorry, I change how it is configured. I was under impression that nobody uses this feature :) Now you should set custom logo in your nxmc.properties file, like this:


loginFormImage = /logo.jpg


Path should be relative to classpath root. Simplest variant is to put logi file next to nxmc.properties and use form /file.

Best regards,
Victor
#3662
Hi!

Starting with version 1.2.14 agent appends event source, event ID, and event severity to NetXMS event. Actual position depends on number of capture groups. For example, for rule defined as


    <rule>
      <level>1</level>
      <match>(.*)</match>
      <event params="1">100002</event>
    </rule>


(with 1 capture group) source will be available as %2, event ID as %3, and severity as %4.

Best regards,
Victor
#3663
Hi!

I'm currently investigating similar issue on one system. I'll post results here as well.

Best regards,
Victor
#3664
General Support / Re: DCI value format string
May 25, 2014, 01:51:23 PM
No, you should use transformation script to convert bits into Kbits.

Best regards,
Victor
#3665
Hi!

Proposed workflow looks correct. I've added description for CreateNode function to our wiki :)

Best regards,
Victor
#3666
У меня идей больше нет :) Может быть можно будет договорится об удаленном доступе к системе - может на месте замечу что-то?
#3667
Quote from: VSS on May 24, 2014, 09:14:32 AM
Quote from: Victor Kirhenshtein on April 24, 2014, 07:06:53 PM
Тогда ничего сделать нельзя. Я подумаю как можно добавить переменные в запросы в DBQuery.

Подскажите, пожалуйста, есть ли что-то подобное в 1.2.14?

Да, есть. На английском был маленький анонс: https://www.netxms.org/forum/announcements/netxms-1-2-14-released/msg13923/#msg13923. В понедельник разработчик этой опции будет доступен, расскажет подробнее :)
#3668
Hi!

Actually that means that server did not recognize string value as floating point number. You can try to set data type to float and use explicit cast with real(), like


return real(res)


It is also possible that your locale expects floating point numbers to have , instead of .

Best regards,
Victor
#3669
General Support / Re: DCI value format string
May 24, 2014, 07:57:11 PM
Hi!

You have to define it like "Out: %s Kbps". %s will be replaced by DCI value. You can use any format specifiers allowed for Java's String.format (http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax).

Best regards,
Victor
#3670
Hi!

Try to change DCI data type to string - will it show correct history then?

Best regards,
Victor
#3671
Hi!

Yes, it's possible. You can create "situation" object and in event processing policy set situation's attribute. Then you can create DCI with source "Internal" and parameter "Dummy" and in transformation script read value from situation's attribute. Sample script to access situation can be found here: https://www.netxms.org/documentation/adminguide/event-processing.html#situations.

Best regards,
Victor
#3672
Hi!

Is trap sender added as a node object in NetXMS?

Best regards,
Victor
#3673
Quote from: AnRkey on May 23, 2014, 11:19:46 AM
I used the netxms repo for the installation. Is the repo still being maintained?

The line in my /etc/apt/sources.list is as follows,

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

Yes, this repo is maintained, but it' for Debian 6. For Debian 7 please use

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

Best regards,
Victor
#3674
Hi!

This is strange. This is how control file for netxms-base for Debian 7 looks like:


Package: netxms-base
Version: @version@
Section: net
Priority: optional
Architecture: @arch@
Essential: no
Depends: libssl1.0.0, libexpat1, zlib1g
Maintainer: Victor Kirhenshtein <[email protected]>
Description: NetXMS base libraries


Are you sure you took right deb files?

Best regards,
Victor
#3675
Hi!

try to run netxmsd in foreground:

netxmsd -D9

and check output.

Best regards,
Victor