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

#6511
General Support / Re: Status Alert for every hour
February 23, 2010, 10:52:28 PM
Hi!

If you really need alert every hour for every host, you can create two thresholds for "Status" DCI covering all possible values (for example, one for "equals 0", other for "not equals 0"), configure it to send same event on activation, and set repeat interval to 3600 seconds. Then add processing for generated event as usual. You will have this event generated every hour.

Best regards,
Victor
#6512
General Support / Re: Report Generating
February 23, 2010, 10:48:05 PM
Hi!

It's not possible with current GUI. Currently your only option is to write your own reporting tool using NetXMS API or directly accessing database.

Best regards,
Victor
#6513
General Support / Re: Action to return value
February 23, 2010, 07:21:54 PM
Hi!

Quote from: borislavl on February 22, 2010, 06:43:08 AM
1. Is it possible when we have multiple Thresholds i.e. for values 1, 2, 3, .. N, to run only one Event in case that the Condition is true and NOT having to run an Event when the Condition is false (i.e. 2, 3, .. N)?
In other words to have a Threshold with only one Event (true) and not having Event for false (or having None in case of false)?

You cannot create threshold without rearm event. However, you can create template for "normal" severity event, call it NONE, uncheck "Write to event log" option, and use it whenever you don't need rearm event. It will not affect server performance, and will not leave any traces, unless you run server with debug level 5 or above - in that case you'll get some debug messages in the log.


Quote from: borislavl on February 22, 2010, 06:43:08 AM
2. In the FindDCIByDescription($node, "DCI_Desc") can we specify the node (other than the current one)?

3. How the option "Proxy node" in the DCI works? If I select other node on which there is agent and server, the data collection stops. Is the idea to receive values from the NetXMS agent on the proxy node or it is used as proxy but you are receiving the values from the node for which the DCI is set?

Answers to these questions are related, so I will start with answering question 3.
To make proxy node works, you should do one of the following: add node owning DCI with proxy node set to proxy node's "Trusted Nodes" list, or set serevr's configuration variable "CheckTrustedNodes" to 0. Reason for this is security - without trusted nodes check, user with write access to only one node could potentially collect data from all nodes in the system, just by setting them as proxy nodes. Accessing DCIs of other nodes from within transformation script disables for the same reason. However, as I types this answer, I realize that is is possible to add some NXSL function which will search for node and return node object, if current node is listed as trusted for node being searched. So I'll add it :)

Quote from: borislavl on February 22, 2010, 06:43:08 AM
4. Is nxget the only way for collecting values from other nodes' agents?

If you mean "the only command line tool" - yes. But you can use libnxsrv library to write your own tools if needed (using nxget's source code as reference). Another way is to get value from agent via server using client API (either C or Java).

Quote from: borislavl on February 22, 2010, 06:43:08 AM
5. When using ExternalParameter which returns a string – it is captured to the first interval " ". Is there a way the entire string to be captured and to be specified what length to be returned?

Looks like a bug. I'll check it.

Best regards,
Victor
#6514
I suspect this issue is related to Solaris on SPARC - at least I was unable to reproduce it on Solaris x86, and I don't have any SPARC machine at my disposal. Does anybody uses NetXMS server on Solaris SPARC? Or maybe somebody could provide me shell access to some Solaris SPARC machine with dev environment?

Best regards,
Victor
#6515
Announcements / Re: FreeBSD port is available
February 23, 2010, 06:15:40 PM
I've put missing file back. But it's very outdated - current release is 0.2.31. We need new maintainer for FreeBSD port.

Best regards,
Victor
#6516
General Support / Re: Map - Bug?
February 19, 2010, 11:40:34 PM
Hi!

You should turn off automatic layout (uncheck Map -> Enable automatic layout).

Best regards,
Victor
#6517
A kakie oshibki ostalis' v loge?
#6518
Poprobujte zamenit' src/server/dbdrv/pgsql/pgsql.cpp na prilozennij.
A v kakoj kodirovke sdelana baza? Esli zamena pgsql.cpp ne pomozet i kodirovka bazi ne UTF8, poprobujte sozdat' bazu s UTF8 kodirovkoj.

#6519
Vrode razobralsja. Poprobujte novij variant netobj.cpp.
#6520
Poprobujte zapustit' server s kljucom -D 9 (togda budet pisat'sja mnogo debug informacii, vkljuchaja i sql zaprosi) i prislat' log servera pered vipolneniem etogo sql zaprosa (vkljuchaja i sam zapros).
I kakaja versija PostgreSQL i operacionki?
#6521
Ochen' stranno - vrode kak ispravlena uze eta oshibka. Sravnite pozalujsta fail src/server/core/netobj.cpp s prilozennim. Esli oni ne sovpadajut, zamenite na prilozennij i peresoberite server.
#6522
Sdelaju vecherom patch i vilozu. Spasibo :)

Viktor
#6523
General Support / Re: Questions about UPS
February 10, 2010, 06:21:52 PM
Do you have any other program running which may communicate with UPS - agent form UPS vendor, Windows UPS service, etc.?

Best regards,
Victor
#6524
Very strange. Could you please run netxmsd under gdb, like this:


debian:~# gdb /opt/netxms/bin/netxmsd
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run -D 5


and when it crashes, enter gdb command bt and post it's output?

Thank you for patience!

Best regards,
Victor
#6525
Hi!

Did you grant all privileges on netxms database to user 'netxms'?
Try to drop and re-create database. After that, run netxmsd in debug mode and post it's output.

Best regards,
Victor