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

#6781
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
#6782
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
#6783
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
#6784
Da, u menja bilo na porjadok men'she. Sdelaju testovij server s kuchej ob'ektov, budu testirovat' cherez GPRS.
#6785
Stranno. Ja vpolne uspeshno podkljuchalsja cherez GPRS. Vozmozno delo v kolichestve ob'ektov - skol'ko u vas ih primerno?
#6786
General Support / Re: Variables / Subagents list
June 15, 2009, 06:36:40 PM
I hope so. I will try my best :)

Best regards,
Victor
#6787
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
#6788
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
#6789
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
#6790
General Support / Re: DCI problem...
June 13, 2009, 02:14:56 PM
Is node_agent real executable or shell script? If it is a shell script, then executable name will be sh (or bash, ksh, etc. - whatever your shell is), so Process.Count(node_agent) will always return 0 - because it will look for executable named node_agent. You can find processes by command line using Process.CountEx, like this:

Process.CountEx(".*","^node_agent")

Please note, that Process.CountEx uses regular expressions to find matching processes.

Best regards,
Victor
#6791
Hello!

Looks like some of the system functions has misleading names. We have:

1. Actions on server (configurable under Control Panel -> Actions): it's an actions server can perform as a result of event processing. These actions can only be used in event processing policy.

2. Actions on agent (configurable in agent's configuration file via Action or ActionShellExec parameters): it's a predefined commands agent can execute upon request.

3. Object tools (configurable via Control Panel -> Object Tools): something which can be executed by operator on currently selected node in console. Object tools can be:

a) Command - local command execution (executed on same machine where netXMS console is running);
b) Action - predefined action execution on agent
c) SNMP table - get data from SNMP
d) Agent table - get data from agent
e) Open URL - open given URL in embedded browser



If you wish to run something on remote machine via agent, you should:

1. Define action on agent (using Action or ActionShellExec - if you wish to use shell functionality like output redirection, you should use ActionShellExec).

2. Depending on your need: if you wish to run something automatically, as a reaction to event, then:
2a. Define server action (Control Panel -> Actions) of type "execute action on remote agent", enter name of agent's action into "Action" field;
2b. Add your server action to event processing policy.

If you wish to be able to run something on remote machine manually, via "Tools" menu:
2a. Create new object tool (Control Panel -> Object Tools) of type "Action", enter name of agent's action into "Action" field.

Hope this helps!

Best regards,
Victor
#6792
General Support / Re: SNMP OID auto discovery...?
June 13, 2009, 01:44:02 PM
Hi!

Unfortunately, it's not possible with standard NetXMS functionality. You should either write your own tool which will analyze list of processes on target machine and send data to NetXMS server in some way (using nxpush or nxevent for example), or use NetXMS agent instead of SNMP to monitor processes on target machine - NetXMS agent allows you to identify processes by executable name or command line.

Best regards,
Victor
#6793
General Support / Re: Object tools - SNMP Table
June 13, 2009, 01:41:07 PM
Hi!

It's a bug. I'll fix it soon.

Best regards,
Victor
#6794
General Support / Re: Object tools "&"
June 13, 2009, 01:39:40 PM
Hi!

"&" characters prepends character which will be used as keyboard shortcut when tool menu navigated via keyboard. For example, if you open object's context menu via "context menu" key on keyboard instead of right mouse click, you'll see characters prepend with "&" underlined, and pressing appropriate keys will select corresponding menu items.

Best regards,
Victor
#6795
General Support / Re: DCI problem...
June 11, 2009, 12:08:16 PM
Could you please post output of ps -ef and NetXMS parameter you are using to count your custom processes?

Best regards,
Victor