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

#6826
General Support / Re: Duplicate nodes
June 21, 2009, 04:52:14 PM
Hi!

Looks like server bug. What nodes as duplicated? For example, node with IP 40.16.1.2 - what it is, how it's interface list looks like? (You can send this info to [email protected] if you don't wish to disclose this information on forum).

Best regards,
Victor
#6827
Lines started with * character defines a new config section (usually subagent configuration) - and parameters allowed in each section are specific to this section. Core agent parameters should be defined in "default" section - unnamed section in the beginning of the file. Order within section is not important.

Best regards,
Victor
#6828
Thank you for excellent howto! I'll probably never manage to write so long text :)

Some comments and corrections:

Quote from: jdl on June 19, 2009, 05:17:54 PM
which by the way you will not find in the available list

You will, but only after next configuration poll for that node. To prevent sending request for supported parameters to agent each time you press "Select" button in console, server reads list of supported parameters during configuration poll (each hour by default) and caches it. You should either wait for next configuration poll or force immediate configuration poll from console using Poll -> Configuration menu.


Quote from: jdl on June 19, 2009, 05:17:54 PM
I did not try but I would suggest not to use any existing data collection name... Possible conflict or simply possible problem easy to avoid - play it safe and simple ;-)

In fact, you can use names of existing parameters - if you do, built-in parameter's handler will be replaced by your script. Normally, this should be avoided, but sometimes it may help - for example, if built-in implementation of certain parameter is buggy, and you are able to provide replacement script as workaround.

Best regards,
Victor
#6829
Windows / Re: Windows EventLog handling error...
June 21, 2009, 04:23:41 PM
Hello!

In fact, we need completely different log readers for Windows Vista and 2008 - Microsoft changes event log API (see http://msdn.microsoft.com/en-us/library/aa964766(vs.85).aspx), and old API used by logwatch.nsm is not always compatible with new logs. I'll add support for new event log API in upcoming release.

Best regards,
Victor
#6830
Yes, it's a bug. Added it to bug tracker (#256).

Best regards,
Victor
#6831
Hello!

In theory, it should work. What you get - errors in agent's log, or just no events when records appear in log? What Windows version you are using? I have a lot of problem reports for Windows Server 2003, and there are known problems with Vista and Server 2008.

Best regards,
Victor
#6832
Feature Requests / Re: Agent parameters...
June 17, 2009, 01:56:44 PM
Idea sounds good.

What arguments should these parameters take? For file it probably should be file name and offset within file, plus string length for File.Content.String?
And what for shared mem?

Best regards,
Victor
#6833
Feature Requests / Re: Filter for events...
June 17, 2009, 01:42:46 PM
We currently rewriting console from scratch using Eclipse platform. It should be much better than existing one, and we plan to add filtering for event log, alarms, etc.

As for documentation - unfortunately we are much better in writing code than documenting what we have done :( But we are working on documentation improvement, it just takes more time.

Best regards,
Victor
#6834
General Support / Re: Windows Vista [agent]
June 17, 2009, 11:36:34 AM
Looks lke agent cannot open log file for writing or connect to Windows event log service. Try to set LogFile parameter in nxagentd.conf to some writeable file, like C:\nxagentd.log and try to run it again.

Best regards,
Victor
#6835
Da, u menja bilo na porjadok men'she. Sdelaju testovij server s kuchej ob'ektov, budu testirovat' cherez GPRS.
#6836
Stranno. Ja vpolne uspeshno podkljuchalsja cherez GPRS. Vozmozno delo v kolichestve ob'ektov - skol'ko u vas ih primerno?
#6837
General Support / Re: Variables / Subagents list
June 15, 2009, 06:36:40 PM
I hope so. I will try my best :)

Best regards,
Victor
#6838
General Support / Re: Variables / Subagents list
June 15, 2009, 12:06:51 PM
It will be a long text :) I'll update manual with subagent description and post it on the web. I hope that 'll have time for this till end of June.

Best regards,
Victor
#6839
General Support / Re: DCI problem...
June 15, 2009, 11:03:24 AM
It's my mistake: ^node_agent is not correct regexp - ^ character means "beginning of the line", but command line in your case doesn't starts with node_agent, it starts with ./node_agent, so you should either remove leading ^ or use Process.CountEx(".*","^\\./node_agent")

Best regards,
Victor
#6840
Hi!

Auto bind/apply occurs during configuration polls. You can force configuration poll for specific node from console (via Poll -> Configuration menu), or decrease interval between configuration polls by changing server's parameter ConfigurationPollingInterval.

Attributes of node object:


nameNode name
idObject identifier
statusNode status (0 = Normal, 1 = Warning, 2 = Minor, 3 = Major, 4 = Critical, 5 = Unknown, 6 = Unmanaged)
ipAddrNode primary IP address (as text string, like 10.2.1.4)
isAgentAgent presense flag: 1 if NetXMS agent present on node, 0 if not
isSNMPSNMP support flag: 1 if SNMP is supported by node, 0 if not
isBridgeBridge flag: 1 if node is bridge or switch, 0 if not
isRouterIP router flag: 1 if node is Ip router (can forward IP packets), 0 if not
isPrinterPrinter flag: 1 if node detected to be a network printer, 0 if not
isCDPCDP (Cisco Discovery Protocol) support flag: 1 node supports CDP, 0 if not
isSONMPSONMP (SynOptics Network Management Protocol) support flag: 1 node supports SONMP, 0 if not
isLLDPLLDP (Link Layer Discovery Protocol) support flag: 1 node supports LLDP, 0 if not
snmpVersionSNMP version used for communication with node's SNMP agent
snmpOIDSNMP object ID
agentVersionNetXMS agent version (as string, like 0.2.26)
platformNamePlatform name, as returned by NetXMS agent (for example, windows-i386)

Best regards,
Victor