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

#5851
General Support / Re: Need IBM storage MIB
September 11, 2011, 01:47:49 PM
Looks like you need these MIBs: http://www.oidview.com/mibs/1123/md-1123-1.html. At least, trap .1.3.6.1.4.1.1123.4.500.2 is defined in SM10-R2-MIB.

Best regards,
Victor
#5852
It's not the trap receiver, but event processing. Currently event's message size limited to 255 characters. Because default event just put everything into message it gets truncated. Usually you will create separate events for traps of interest, and you can carry trap arguments as event parameters, and then use them in actions, for example, without length limitations.

Best regards,
Victor
#5853
Hi!

No. it's not possible to match traps with same OID to different events. However, you can do additional matching in event processing policy using scripts, and process same event differently depending on trap parameter values.

Best regards,
Victor
#5854
General Support / Re: Need IBM storage MIB
September 11, 2011, 12:10:44 PM
Hi!

I'm not sure that DS3500 supports SNMP at all. In product datasheet on IBM web site there are no mentions of SNMP. Did you try to connect it to monitoring already? If it responds with SNMP, you can do SNMP walk on .1.3.6.1.4.1 subtree and search MIBs based on OIDs you get.

Best regards,
Victor
#5855
Hi!

Yes, it's possible. You can separate multiple emails in action definition with ; (semicolon) character. You can use the same macros as in event messages and alarms - they are listed in user manual in chapter 10.6 "Macros for Event Processing".

Best regards,
Victor
#5856
General Support / Re: Policies
September 07, 2011, 12:18:33 PM
Quote from: lindeamon on August 30, 2011, 02:57:03 PM
i am sorry but i still do not fully understand what does it mean.
what are the addition configuration files ?
what do they include ?
do they include files need for action ?
are they like hp openview's instrumentations ?

Agent can have master configuration file (nxagentd.conf) and additional configuration files in include directory. On startup, agent reads all files from include directory and merges parameters from them with master config. Agent configuration policies can be used to deploy those additional config files to agents. You have to restart agents to apply those changes.

Policy functionality currently is very limited. I plan to ad more types of policies in the future - most important are log monitoring policies, instrumentation, and agent-based data collection.

Best regards,
Victor
#5857
General Support / Re: Applying Templates to Cluster
September 07, 2011, 12:13:32 PM
I'll try to export some of my templates later today.

Best regards,
Victor
#5858
That's a good idea. For now, I'll stick this topic and suggest to post templates here. When we will have some templates ready for publishing, I'llput them on web site.

Best regards,
Victor
#5859
General Support / Re: NXMC Multipliers
September 07, 2011, 11:30:08 AM
Hi!

There are no such option now. I will add it in 1.1.4.

Best regards,
Victor
#5860
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
#5861
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
#5862
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
#5863
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
#5864
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
#5865
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