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

#6076
Poprobujte pomenjat' kodirovku servera na CP1251.
#6077
Tools are configurable (via Control panel -> Object tools). You can create new tools of type "local command" to execute commands on administartor's computer. For example, to add RDP connection option, you can create new tool with name

&Connect->Open &RDP connection

and set command to

mstsc.exe /v:%OBJECT_IP_ADDR%

Adding port-forwarding capabilities is a good idea, I'll think if this is possible to implement in console.

Best regards,
Victor
#6078
Planiruetsja, prosto vremeni ne hvataet :( No so vremenem objazatel'no budem delat'.
#6079
Please download management console again - it's still named 1.1.0, but it was improved. After unpacking new console, run it with -clean command line option for first time. There were some "hidden" updates to console before actual 1.1.0 release. Now when 1.1.x branch is released, I will change version number when new versions will be published on web site.

Best regards,
Victor
#6080
Announcements / Re: NetXMS 1.1.0 released
March 01, 2011, 04:24:49 PM
Hi!

Quote from: testos on March 01, 2011, 02:51:12 PM
How can I use new management console from Linux?

Should be in same way as from Windows - unpack appropriate archive to some directory, set executable attribute for nxmc, and run it. You will need Java runtime environment version 1.6, and JAVA_HOME environment must be set correctly. Alternatively to setting JAVA_HOME, you can create symbolic link called jre pointing to your Java runtime home inside nxmc directory (on same level with nxmc executable).

Quote from: testos on March 01, 2011, 02:51:12 PM
What is server jobs?

It's some (possibly lengthy) process inside server, which can be observed, cancelled, and restarted by administrator. Currently only policy deployment and file transfer to agents implemented as jobs.

Quote from: testos on March 01, 2011, 02:51:12 PM
What is policies?

Policy is some kind of instructions for agents, which can be deployed to set of agents and removed from agents. Currently only one type of policy is implemented - configuration file policy. 1.1.x agents can have directory with additional configuration files - all configs are merged on startup. With configuration file policies, you can deploy parts of config to groups of agents - for example, if you have configuration of Windows performance counters, you can now create a policy and deploy on agents, instead of editing each agent's configuration file.

Quote from: testos on March 01, 2011, 02:51:12 PM
There are very few features not yet implemented.

I plan to implement missing features in short time (there not so much development left) so old console can be completely dropped, and then focus on improving network management capabilities and developing web UI.

Quote from: testos on March 01, 2011, 02:51:12 PM
Congratulations, very great job!

Thank you :)

Best regards,
Victor
#6081
Proboval povtorit' u sebja - vse rabotaet. V loge agenta (ili v sistemnih eventah) est' kakie-nibud' soobschenija ob oshibke? Esli vse chisto, ja sdelaju build s dopolnitel'nim debagom.
#6082
NetXMS supports topology discovery via CDP. The message "device does not support layer 2 discovery" is sometimes misleading, because it can be shown in case of other errors too. Check "Capabilities" box on overview page - there should be "Yes" in from of isCDP attribute.

Also, what version of server you are using?

Best regards,
Victor
#6083
Da, mozno, ispol'zuja macro %n. POlnij spisok dostupnih macrosov - v manuale v razdele 10.6.
#6084
I use 1.6.22. but any 1.6 will be ok.

Quote from: Billy on February 28, 2011, 02:04:41 PM
   another question is, in this java project,  whether the domain server is needed for the eclipse development environment?

Sorry, I didn't understand the question. What is the connection between domain server (what domain btw? DNS? Active Directory?) and Eclipse?

Best regards,
Victor
#6085
Hi!

You will require Maven and Eclipse 3.6. First, run "package" script from src/java directory - it will build client library using maven and put resulting jars into appropriate places. Then, import all projects under src/java/netxms-eclipse into Eclipse, find file nxmc.product under nxmc-core project, right-click on it and select "export". In export dialog, select "Eclipse product", press Next, and follow the wizard. If you wish just test something after changes in source code, you can run console directly from Eclipse by right-clicking nxmc.product and selecting Run As -> Eclipse Application.

Best regards,
Victor
#6086
Hi!

Yes, there was an error in the installer. I have uploaded updated version - please download it and try again.

Best regards,
Victor
#6087
Announcements / NetXMS 1.1.0 released
February 26, 2011, 10:44:22 PM
Hi all!

NetXMS version 1.1.0 released. It's a first version in 1.1.x branch. Please note that this is a development branch and generally not recommended for production use.
Changes from previous versions:

- Server jobs introduced
- Java API added
- Portable (Eclipse-based) management console introduced
- Server switched to UNICODE on Windows platform
- Windows x64 server version added
- MIB compiler improved
- Dropped agent support for Novell NetWare and Windows NT 4.0, 95, 98, Me

Best regards,
Victor
#6088
General / Re: SetPassword in Trunk Code
February 26, 2011, 01:28:14 PM
Hi!

I changed both setPassword and validatePassword to use UTF-8 instead of current server's page to calculate hash:


bool User::validatePassword(const TCHAR *password)
{
   BYTE hash[SHA1_DIGEST_SIZE];

#ifdef UNICODE
   char mbPassword[1024];
   WideCharToMultiByte(CP_UTF8, 0, password, -1, mbPassword, 1024, NULL, NULL);
   mbPassword[1023] = 0;
   CalculateSHA1Hash((BYTE *)mbPassword, strlen(mbPassword), hash);
#else
   CalculateSHA1Hash((BYTE *)password, strlen(password), hash);
#endif
   return !memcmp(hash, m_passwordHash, SHA1_DIGEST_SIZE);
}


void User::setPassword(const TCHAR *password, bool clearChangePasswdFlag)
{
#ifdef UNICODE
   char mbPassword[1024];
   WideCharToMultiByte(CP_UTF8, 0, password, -1, mbPassword, 1024, NULL, NULL);
   mbPassword[1023] = 0;
   CalculateSHA1Hash((BYTE *)mbPassword, strlen(mbPassword), m_passwordHash);
#else
   CalculateSHA1Hash((BYTE *)password, strlen(password), m_passwordHash);
#endif
   m_graceLogins = MAX_GRACE_LOGINS;
   m_flags |= UF_MODIFIED;
   if (clearChangePasswdFlag)
      m_flags &= ~UF_CHANGE_PASSWORD;
}


tested it on Russian, Chinese, and Japanese characters - works fine. This solution, however, will cause problem for already set non-latin1 passwords - they will need to be reset.

Changed code already commited to svn.

Best regards,
Victor
#6089
General Support / Re: Complex container status
February 25, 2011, 02:15:16 PM
Hi!

Condition can have only two statuses - when it is active and when it is not active. Condition script expected to return true or false - if it returns true, condition considered as "active", and it's status changed appropriately.

For your case, I see the following solution (not very elegant though):

1. On nodes A and B, set status propagation to fixed value "Normal" - this will ensure that they will not change status of parent location directly;
2. Create 2 conditions in same location, each having DCI Status for node A and node B as data (A Status first).
3. For condition 1, set active status to "Minor" and inactive to "Normal", and use the following script:

($1 == 4) && ($2 == 0)


3. For condition 1, set active status to "Major" and inactive to "Normal", and use the following script:

($1 == 4) && ($2 == 4)

Should work :)

Best regards,
Victor
#6090
General Support / Re: reporting feature
February 25, 2011, 12:14:35 PM
Hi!

Currently there are no reporting engine built into NetXMS. You should either use third part reporting tools or write your own export tool in C or Java.

Best regards,
Victor