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 - Alex Kirhenshtein

#976
Hello.

Check DBDriver parameter in netxmsd.conf, it should points to database driver's .so file (should be "DBDriver=/usr/local/netxms/lib/libnxddr_mysql.so" in your case, I assume)
#977
Quote from: Alex on August 06, 2008, 09:34:50 AM
Хм.. Что-то все мои вопросы почему-то остаются без ответа.. Интересно, к чему бы это?

Виктор сейчас в Лихтенштейне; когда доберется до нормального интернета - ответит.
#978
Скорее всего упирается в конфигурацию постгреса и память.

*) На ноде сервера должны быть системные DCI-и, проверьте "Average length of database writer's request queue for last minute" - это количество запросов, которое провисело в очереди на запись в базу. Если сильно (и постоянно) больше нуля - проблема именно тут.
*) Проверьте настройки постгреса ("из коробки" он очень консервативен по ресурсам - и ужасно медленный): количество выделенной памяти, включен ли stats_start_collector/stats_row_level/autovacuum. Сделайте "vacuum full analyze" при остановленном netxms сервере.
*) Попробуйте доставить памяти до 512/гигабайта (и половину отдать постгресу)
*) Как вариант - поставить mysql на myisam, он быстрее на запись чем постгрес или mysql на innodb. В этом варианте желательно часто бекапится :)
#979
General Support / Re: Beginner to SNMP for switches
August 01, 2008, 11:49:20 AM
Quote from: Anth0ny on July 30, 2008, 09:40:48 AM
2 Alex: can you create a repository for all your cleaned MIBs?
for future use...

:)

We are shipping most of them with release versions; you can also get them from subversion: https://svn.netxms.org/public/netxms/trunk/contrib/mibs/ (MIBs from this topic are not included yet)
#980
General Support / Re: Beginner to SNMP for switches
August 01, 2008, 11:47:04 AM
Quote from: QACit on July 28, 2008, 10:06:37 PM
About 2MB.  Will send an e-mail

I've just send you an email with corrected MIBs, please try them.
#981
General Support / Re: Beginner to SNMP for switches
July 29, 2008, 11:18:28 PM
Yes, I've got your mail. There are some faulty mibs (and some are missing) - I'll try to clean them up today and send you response.
#982
General Support / Re: Beginner to SNMP for switches
July 28, 2008, 09:41:24 PM
Problem not in BGP-4; it compiles just fine on clean system. Problem is somewhere in added MIBs (or buggy compiler). Anyway, error message is weird.
Can you please zip content of you MIBs folder and attach it here (or send it to me by mail: alk - netxms.org)?
#983
Добавил.
#984
Мы читаем форум целиком. Не каждый день, но читаем. Что же до ответов - процитирую Виктора:

Quote2. Po ustojavshejsja tradicii :-), ja ne kommentiruju zaprosi na funkcional'nost', esli oni ne vizivajut u menja vozrazenij. Obichno kommentarij idet esli eto uze est' v tom ili inom vide, ili kakie-to vozrazenija.
#985
General Support / Re: Beginner to SNMP for switches
July 25, 2008, 10:50:32 PM

  • You should restart server after compiling MIBs.
  • I've checked it now - looks like compiler have nice bug - it's unable to find files if input path ends with backslash. So correct command will be something like this:
    Quotenxmibc -d C:\NetXMS\var\mibs -o C:\NetXMS\var\mibs\netxms.mib -z
  • Compiler will update netxms.mib only if all MIBs are correct and can be compiled. You can also check modification date on C:\NetXMS\var\mibs\netxms.mib to ensure it's new. Output should be like this:
    Quote...
       UDP-MIB
       UPS-MIB
       USEC-MIB
       V2ADMIN-MIB
       Wellfleet-COMMON-MIB
       WWW-MIB
  • After server restart you should be able to pick your additional OIDs in "Create DCI" dialog (set DCI source to "SNMP" prior to clicking on "Select" button).
#986
Похоже GD собран без поддержки png. Попробуйте перемерджить gd с USE=png.
#987
Да, можно. В настройках DCI есть закладка Transformation. Поставьте такие значения:

Delta Processing - None
Transformation - $1/10
#989
General Support / Re: WMI Queries
June 12, 2008, 11:30:06 AM
Hello.

You need to load "wmi" subagent (add "SubAgent = wmi.nsm" to your nxagentd.conf), this will add "WMI.Query()" parameter to the agent.
This parameter takes two arguments: namespace and query string.

Sample:

nxget SERVER_IP '"WMI.Query('root\WMI', 'SELECT InstanceName,CurrentTemperature FROM MSAcpi_ThermalZoneTemperature')"


I have no experience with querying MSSQL status using WMI, but according to google you can do something like this:

nxget SERVER_IP "WMI.Query('root\Microsoft\SqlServer\ComputerManagement', 'SELECT State FROM SqlService')"



#990
Hello.

We were working on Zabbix project a long time ago (e.g. windows agent for Zabbix was completely written by Victor), but due to strong disagreement with original author (architecture, licensing issues — e.g. accepting 3rd party patches) we decide to start out own project from scratch.

And no, we are not going to merge; and it's barely possible due to technical restrains and completely different architecture.