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

#5791
General Support / Re: Inter-dependent status
October 26, 2011, 11:26:54 PM
Yes, you have to add all other nodes to trusted nodes list on  ISP_gateway. So in your case it's probably easier to disable trusted nodes checking.

Best regards,
Victor
#5792
General Support / Re: Inter-dependent status
October 26, 2011, 01:38:00 PM
You can use function FindNodeObject and then use attribute status of that node. For example, if you have node named ISP_gateway, your script to check if it is down may looks like following:


gw = FindNodeObject($node, "ISP_gateway");
return gw->status == 4;


This script will return true if node named ISP_gateway has status "critical". DOn't forget to add node for which this script executes to the list of trusted nodes for node ISP_gateway, or disable trusted nodes checking completely by setting server configuration variable CheckTrustedNodes to 0.

Best regards,
Victor
#5793
Announcements / Re: NetXMS 1.0.13 released
October 26, 2011, 10:51:01 AM
Hi!

No, it contains only those 3 fixes listed in change log. I plan to close 1.0.x branch completely as soon as I made 1.1.x stable (it will becomes 1.2.0 then).

Best regards,
Victor
#5794
Hi!

I've made a fix for nxalarm. Unfortunately it involves changing server code, so I create a new maintenance release 1.0.13 which includes this change as well as few other fixes.

Best regards,
Victor
#5795
Announcements / NetXMS 1.0.13 released
October 26, 2011, 09:43:42 AM
Hi all!

NetXMS version 1.0.13 is out. It's a maintenance release for 1.0.x branch. Changes includes:

- New NXSL functions: GetDCIValueByName, GetDCIValueByDescription
- New attribute "comments" in NXSL classes "Node" and "NetObj"
- Fixed non-working macros in nxalarm

Best regards,
Victor
#5796
General Support / Re: Inter-dependent status
October 25, 2011, 04:56:39 PM
Hi!

Basically you have two ways:

1. Use situations. Create situation which will reflect connection A status, and in rule for processing SYS_NODE_DOWN event add additional filtering script which will check the status of situation, and only pass event through if connection A status is up.
2. Just find a local node/DCI reflecting current state of connection A in filtering script for SYS_NODE_DOWN, and use it to choose if event should pass or not.

How do you monitor state of connection A?

Best regards,
Victor
#5797
General Support / Re: Complie error
October 25, 2011, 04:51:45 PM
You need flex and bison from msys. Directory with them should be added to binary directories in visual studio options.

Best regards,
Victor
#5798
General Support / Re: Export tool
October 25, 2011, 12:50:12 PM
Looks like incorrect handling of unicode characters during export. There are some lines looking like this:

<message>%6 : Le Batch Farmsat sur la machine %n ne fonctionne plus suite ࿿ cette erreur : %4</message>

How does this message looks in it's original form?

Best regards,
Victor
#5799
General Support / Re: how to get java api sourcecode
October 25, 2011, 12:42:17 PM
Hi!

You can get them from subversion repository. Root of 1.1.x branch is http://svn.netxms.org/public/netxms/trunk. If you wish to get just Java sources (this will include management console), you can use URL http://svn.netxms.org/public/netxms/trunk/src/java. If you need sources from specific version, you can use URL in form http://svn.netxms.org/public/netxms/tags/version-x.y.z (for example, http://svn.netxms.org/public/netxms/tags/version-1.1.5).

Best regards,
Victor
#5800
General Support / Re: Export tool
October 24, 2011, 10:29:07 PM
Hi!

Sounds like a bug in either export or import code. Could you please post or send to my email exported file?

Best regards,
Victor
#5801
Hi!

Can you please send me output of command

nxsnmpwalk -c your_community switch_ip .1.3.6.1.2.1.2

Best regards,
Victor
#5802
General Support / Re: Complie error
October 24, 2011, 09:18:01 PM
Hi!

Maybe it's wrong scintilla version. We use quite old version of it.
Btw, what is your final goal? Why you are trying to compile NetXMS for Windows?

If you don't need to change 1.0.x branch for any reason, I would recommend using 1.1.x branch for all new development. It is actively developed, and among other bonuses, it requires Visual Studio 2005, and all third-party libraries except OpenSSL are bundled and built as part of NetXMS. This can greatly simplify build process.

Best regards,
Victor

#5803
General Support / Re: Complie error
October 20, 2011, 12:50:19 PM
Hi!

Error 1 - most likely you have outdated Windows SDK.
Errors 2 and 3 - you need scintilla to build nxlexer dll.

Best regards,
Victor
#5804
General Support / Re: cannot change Node IP address
October 20, 2011, 12:48:50 PM
Hi!

You should use Java console for this - just go to the properties of node and enter new IP address as "primary host name".

Best regards,
Victor
#5805
General Support / Re: Actions and Emails
October 20, 2011, 12:47:49 PM
Hi!

What NetXMS version you are using?

Best regards,
Victor