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

#7036
Probably most of this could be done via performance counters.
For example, to get number of ASP.NET errors, you need to get value of performance counter "\ASP.NET\Error Events Raised".
To get this counter's value into NetXMS, use parameter PDH.CounterValue, like below:

PDH.CounterValue("\ASP.NET\Error Events Raised")

I suppose that other data should be available as performance counters as well.

Best regards,
Victor
#7037
Контролировать время выполнения запросов можно, но не на уровне отдельных DCI.
В данный момент при помощи параметра AgentCommandTimeout можно задать максимальное время ожидания ответа от агента. Если ответ не пришел за указанный промежуток времени, то возвращается ошибка. На ошибки сбора данных для DCI можно делать threshold'ы.
Кроме того, если запрашиваемый параметр является внешним скриптом, то максимальное время выполнения скрипта контролируется параметром агента ExecTimeout.
#7038
PollCountForStatusChange - к DCI отношения не имеет (см. например здесь: https://www.netxms.org/forum/index.php/topic,427.0.html). Для решения вышеописанной проблемы сейчас можно использовать average(n) вместо last() в условии threshold'а - хотя это не совсем одно и то-же, как временная мера может использоваться. Я сделаю, что в last() можно будет указывать количество опросов, в течении которых условие должно выполняться, чтобы threshold сработал.
#7039
General Support / Re: Can NetXMS Do?
September 27, 2008, 12:37:20 PM
Hello!

Quote from: cjwallace on September 26, 2008, 04:08:54 PM
So can NetXMS do?

1) Monitor Windows disk space

2) Monitor Windows Memory?

3) Monitor CPU Usage?

4) Monitor Windows Services

Yes to all questions.


Quote from: cjwallace on September 26, 2008, 04:08:54 PM
5) Monitor Windows Event Viewer Logs? ( i think from something i was reading is was in the pipeline. Any ideas when this will be availabale?)

Not available yet, but planned for next release.


Quote from: cjwallace on September 26, 2008, 04:08:54 PM
6) Monitor Servers via SNMP

Yes.

Quote from: cjwallace on September 26, 2008, 04:08:54 PM
7) Monitor HP servers , disk array , temperature, failed fans , failed disk

Yes, through SNMP, and you need HP Insight Manager agent installed on server.


Quote from: cjwallace on September 26, 2008, 04:08:54 PM
8) Monitor servers uptime via ICMP or better

Yes, you can monitor server availablity with ICMP pings (or event monitor ping response times), or check availability of TCP services (like http).


Quote from: cjwallace on September 26, 2008, 04:08:54 PM
9) Network maps. Can i create a network map with icons the represent servers, switches , routers, workstations , internet etc etc

I would say partially yes :) Unfortunately, maps is not strongest part of NetXMS. You can create maps, add objects and links between them, but you cannot change pictures for them. There are also probably many bugs with the maps. However, you can try :)

There are also another maps implementation as standalone application, you can try it as well (see here: https://www.netxms.org/forum/index.php/topic,364.0.html).

Best regards,
Victor
#7040
Hello!

It's not a plain SQL script. Commands may vary between databases, so it's a set of static and dynamically created SQL queries encoded into nxdbmgr code.

I change the upgrade code to re-create tables instead of adding constraints, hopefully it will work.

Attached is a latest version of nxdbmgr.exe.

Best regards,
Victor
#7041
Hi!

Could you please do the following:

1. Post here your netxmsd.conf file
2. Run command


nxdbmgr check


and post here it's output?

Best regards,
Victor
#7042
Peresobrannij subagent dlja Windows.
#7043
Looks like a bug in handling MS SQL on upgrade (it works fine on my test system, but I have MS SQL 2005). Try to do an upgrade with attached nxdbmgr.exe.

Best regards,
Victor
#7044
General Support / Re: Communication to agent stops working
September 05, 2008, 12:02:58 PM
Hello!

If you have two (or more) IP addresses on your management server, they all should be listed in agents' MasterServers parameter. In your case, all agents should have in nxagentd.conf


MasterServers = 172.28.7.29, 172.28.7.196


Best regards,
Victor
#7045
Feature Requests / Re: "Floating" Windows.
September 04, 2008, 04:31:28 PM
It's hard to implement in current console. However, we are working on completely new management console, where you will be able to detach views from main window. You can see how it will looks like by running nxmc.exe from NetXMS bin directory.

Best regards,
Victor
#7046
Общие вопросы / Re: Проблемы в 0.2.22
September 04, 2008, 04:28:46 PM
Icmp.Ping vipolnjaet ping v moment zaprosa. Icmp.PacketLoss, takze kak i Icmp.AvgPingTime i Icmp.LastPingTime, vozvraschajut znachenie, poluchennoe background ping processom dlja zaranee zadannih hostov. T.e. chtobi pol'zovatsja imi, snachala nado propisat' eti hosti v nxagentd.conf, naprimer tak:


*PING
Target = 10.0.0.2:host1
Target = 10.0.0.5:host2


Posle etogo mozno poluchat' parametri Icmp.AvgPingTime i ostal'nie, ispol'zuja libo IP adres, libo imja, zadannoe v konfige.
Sm. takze https://www.netxms.org/documentation/ping_subagent.shtml - neskol'ko ne polno pravda.
#7047
Must likely server was not stopped properly (maybe database was stopped first). To remove the stalled lock, use command


nxdbmgr check


Best regards,
Victor
#7048
Я все-еще не уверен что даже 0.2.22 - это стабильная версия. Все время вылезают косяки. Хотя конечно надо где-то остановиться...
#7049
Quote from: Anth0ny on September 02, 2008, 01:27:12 PM
"Добавлять реакцию на события приходящие в сислог."

Всё ещё очень и ОЧЕНЬ актуально!

NXMS пока не в состоянии отслеживать Event'ы на удалённых машинах а значит единственный путь мониторить логи- получать их SysLog и использовать систему реакций...

Виктор, это вообще в планах стоит или уже хоть чтото делается в этом  направлении?

Так получилось, что в связи с одним коммерческим проектом понадобилось делать парсинг логов. Так-что в следующей версии будет возможность генерировать события по записям в syslog NetXMS'a и в лог файлах на удаленных машинах. В subversion'e уже есть ядро кода для парсинга. Единственно, чего не будет сразу - это централизованной конфигурации. Анализ syslog'a я могу приделать очень быстро, и выложу rc для интересующихся.
#7050
Общие вопросы / Re: Проблемы в 0.2.22
September 01, 2008, 10:50:40 AM
Quote from: zan on August 29, 2008, 02:45:48 PM
Quote from: Victor Kirhenshtein on August 29, 2008, 11:53:18 AM
Skoree vsego taze problema chto obsuzdalas' vishe s Windows. Poprobujte zamenit' fail tools.cpp v src/libnetxms i peresobrat' server.


при зборке вылетает :
tools.cpp:771: error: 'WSAEWOULDBLOCK' was not declared in this scope

Da, propustil etot moment. Nado takze zamenit' nms_common.h v include na prilozennij.