News:

We really need your input in this questionnaire

Main Menu
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

#5686
Общие вопросы / Re: {insert arguments here}?
December 02, 2011, 09:30:04 AM
Dobrij den'!

V manuale mnogie parametri opisani v razdele 10.7 (v samom konce). Chto kasaetsja parametrov PhysicalDisk.*, to oni rabotajut daleko ne so vsemi diskami. Eto bila neudachnaja popitka. Chto kasaetsja parametrov, to pod Windows tam eredaetsja nomer diska, a pod Linux - ustrojstvo. Sejchas ja rabotaju nad integraciej smartmontools s agentom, togda budet normal'nij monitoring fizicheskih diskov.

#5687
Hi!

It looks like a bug - agent should start after server restart. Is there anything interesting in agent's log?

Normally server should generate SYS_AGENT_UNREACHEABLE event if agent cannot be contacted. Please check that you have rule for generating alarm on this event.

Best regards,
Victor
#5688
Hi!

Could you please provide some additional information:

1. actual numbers for load average reported by NetXMS and by OS tools;
2. Output of ps fax command, exact parameter name (probably "Process.Count(apache2)"?), and result returned by parameter.
3. Version of NetXMS agent;
4. Result of uname -a

Best regards,
Victor
#5689
Regarding ports:

You have to open port 4700 from server to agents. You only have to open port 4701 to server from administrator workstations and from hosts where nxpush tool is used.

Best regards,
Victor
#5690
Hi!

It's not possible with server 1.0.12. In 1.1.5 and higher, threshold and actual value passed as parameters %5 and %6 respectively (or as named parameters thresholdValue and currentValue).

Best regards,
Victor
#5691
General / Re: Maybe it's a bug
November 29, 2011, 08:09:59 PM
If I understand the question correctly, sometimes you are not seeing parameters after pressing "select" button in DCI properties, right? It could happen, because client get this list from server's cache, which is updated during configuration polls. Next time when this happens, try to do configuration poll on a node, and see if it helps.

Best regards,
Victor
#5692
That's very strange, I never run into this problem. Could you please provide a complete code snippet to reproduce this problem?

Best regards,
Victor
#5693
Hi!

First, you have to obtain DCI configurator:

DataCollectionConfiguration dciConfig = session.openDataCollectionConfiguration(nodeId);

then, create new DCI:

final long id = dciConfig.createItem();

then, obtain newly created DCI object:

DataCollectionItem dci = dciConfig.findItem(id);

add threshold:

Threshold t = new Threshold();
t.setFunction(Threshold.F_LAST);  // or any other function
// and so on, set all required threshold attributes
dci.getThresholds().add(t);

save DCI:

dciConfig.modifyItem(dci);

and finally, close DCI configuration:

dciConfig.close();

Hope this helps!

Best regards,
Victor
#5694
General Support / Re: Agent PDH.CounterValue
November 28, 2011, 05:00:12 PM
Hi!

What do you get - error or incorrect value? Also, try to run agent in debug mode - it should log PDH error when server requests this parameter.

Best regards,
Victor
#5695
General Support / Re: Threshold
November 28, 2011, 04:51:36 PM
Hi!

Unfortunately this is not possible. You can only create additional DCI with numeric type and put threshold on it.

Best regards,
Victor
#5696
V versii 1.0.13 net tablici images. Pri upgrade skoree vsego vilezet ta-ze oshibka, kogda nxdbmgr popitaetsja sozdat' etu tablicu.
#5697
A chto v loge agenta? Poprobujte esche agenta zapustit' v debug mode - s kljuchom -D 9. Pered etim log luchshe postavit' v fail.
#5698
Dobrij den'!

1.0.14 ja esche ne sobral. Na dnjah sdelaju, vilozu na sait kak obichno. Read-only dostup k svn est':

https://svn.netxms.org/public/netxms/trunk - vetka 1.1.x
https://svn.netxms.org/public/netxms/branches/1.0.x - vetka 1.0.x
#5699
Eto mozet bit', esli postavlen 32bit agent na 64bit server.
#5700
Hi!

Old versions ccan be downloaded from here: https://www.netxms.org/download/archive/.

Best regards,
Victor