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

#5881
General Support / Re: Applying Templates to Cluster
September 05, 2011, 11:21:03 PM
Hi!

You can export/import templates. Export is not implemented in Java console yet, so you should use legacy Windows console. Go to Tools -> Export configuration, add templates you wish to export, and press OK. You will get XML file which can be imported into another NetXMS server. For import, you can use both Java and old console. Go to Tools -> Import configuration, select XML file, and system will create appropriate template objects.

Best regards,
Victor
#5882
General Support / Re: agent traps
September 05, 2011, 11:15:58 PM
Hi!

Sorry, I don't fully understand question part about perfmon counters and they data. To clarify things: there are two types of communication between server and agent - polls and traps. For data (i.e. DCI defined on the node) server uses polling. For async events - like new event log record - agent generates traps. So, performance data is lost when there are no connection between server and agent (which is not very good, and I'm thinking of adding something similar to HP Operations policies to enable agents to collect data without connection with server - but for now it is as it is). Traps, however, are kept in memory until communication with the server is restored - so, if agent was not restarted, it will send all pending traps as soon as server reconnects.

Best regards,
Victor
#5883
General Support / Re: NetXMS Core Service timeout
September 03, 2011, 08:44:37 PM
Could you please post your netxmsd.conf? Also, try to run netxmsd from command line - will it start?
If you are using Windows authentication for connecting to SQL server, the problem may be with access rights to database of account used to run the service.

Best regards,
Victor
#5884
Hi!

That's strange. Just checked it on my development server, and commands with parameters enclosed in double quotes works just fine. What server version you are using? Also, can you determine what parameters are passed to your program?

I use the following small test program:


#include <stdio.h>

int main(int argc, char *argv[])
{
FILE *f = fopen("c:\\temp\\s.log","w");
fprintf(f, "p1: %s\n", argv[1]);
fprintf(f, "p2: %s\n", argv[2]);
fprintf(f, "p3: %s\n", argv[3]);
fclose(f);
return 0;
}


and for action with command

c:\\source\\s.exe "first par" "second par" "third par"

got correct output in c:\temp\s.log:


p1: first par
p2: second par
p3: third par


Best regards,
Victor
#5885
General Support / Re: agent managers
September 03, 2011, 08:04:41 PM
Hi!

Yes, it can. Agent will send traps to all servers connected to it and listed in MasterServers parameter.

Best regards,
Victor
#5886
General Support / Re: agent traps
September 03, 2011, 08:03:40 PM
Hi!

Agent can send events to server. When you define matching rule in parser file, you can specify what event to send using <event> tag. You should specify NetXMS event code. For example, if you create new event, and it was assigned code 100003, you must add <event>100003</event> to your matching rule to send this event to server when matching line found. On server side, those events can be processed as usual in event processing policy.

Best regards,
Victor
#5887
General Support / Re: read only servers
August 31, 2011, 10:19:48 AM
Quote from: lindeamon on August 31, 2011, 09:08:49 AM
i want to install 2 servers that one will act as a full server and the other just for connecting and viewing alarms.
how do i do that ?
do i have to have 2 databases ?

Yes, you have to have two separate databases.

Quote from: lindeamon on August 31, 2011, 09:08:49 AM
does both servers have to collect data in order to for me to see status and dci values ?

Yes, if you need to see DCI values on both servers. However, if you only need to see alarms on second server, you can use event forwarding mechanism to forward events from primary server to secondary.

Quote from: lindeamon on August 31, 2011, 09:08:49 AM
how do i sync the nodes and containers between the servers ?

Unfortunately there are no object synchronization mechanism yet.

Quote from: lindeamon on August 31, 2011, 09:08:49 AM
do i have to define the same user on both servers rather then having just one ?

Yes, you have to maintain two user databases. You can simplify password management by using external RADIUS server for password checking, but you still need to create user accounts twice.

Best regards,
Victor
#5888
General Support / Re: Java Console - Settings
August 31, 2011, 10:15:49 AM
Hi!

No. It saves windows configuration, perspectives, etc. on local workstation. It's probably possible to store Eclipse workspace on the server, but I didn't dig so deep into it yet.

Best regards,
Victor
#5889
General Support / Re: Policies
August 30, 2011, 09:51:16 AM
Hi!

Agent policies deploy additional configuration files into config include directory. Location of that directory determined by parameter ConfigIncludeDir in nxagentd.conf. Default value for this parameter on Windows is "C:\nxagentd.conf.d". I just checked it, and it looks like agent installer does not add correct ConfigIncludeDir to nxagentd.conf and does not create appropriate directory. Currently you should do it manually on all systems where you wish to deploy configs via policies. I'll fix it till next release.

Best regards,
Victor
#5890
General Support / Re: free space value
August 30, 2011, 09:43:44 AM
Hi!

So you wish to get something like "4.05 GB" instead of "4348654387"? Then your transformation script should looks like following:


($1 / 1024 / 1024 / 1024) . " GB"


And don't forget to change DCI type to "string"!

Best regards,
Victor
#5891
General Support / Re: Java Console - Use Multipliers
August 30, 2011, 09:40:47 AM
Hi!

It's not implemented yet. Added to feature requests.

Best regards,
Victor
#5892
General Support / Re: java console - event log
August 30, 2011, 09:40:09 AM
It's not implemented yet.

Best regards,
Victor
#5893
General Support / Re: vlan's and ports
August 30, 2011, 09:38:33 AM
See explanation here: https://www.netxms.org/forum/configuration/vlan-list/. In short, you cannot do much - only wait for appropriate driver to be developed. What devices do you have?

Best regards,
Victor
#5894
General Support / Re: vlan list
August 30, 2011, 09:37:12 AM
Hi!

For most devices, getting VLAN list requires reading of proprietary MIBs. In NetXMS 1.1.x, we introduce concept of network device drivers - server modules which handle vendor-specific things for network devices. Currently we only have drivers for Avaya (former Nortel) Ethernet switches and some Cisco switches and routers. You can check what driver is selected for a device by looking at "Driver" line on overview page. If "GENERIC" driver is selected for device, that means that there are no vendor-specific support for it.

Best regards,
Victor
#5895
General Support / Re: snmp traps log
August 24, 2011, 09:49:20 PM
It's still not implemented in Java console. Currently, the following important functionality are missing in Java console:

1. Logs (there are some work done on event and audit logs, but not complete);
2. Cluster configuration;
3. Network discovery configuration (but you still can configure it by changing server configuration variables directly);
4. "command" type object tools not working very well
5. Configuration export

But these gaps should be closed soon.

Best regards,
Victor