NetXMS Support Forum

Please login or register.

Login with username, password and session length
Pages: [1] 2 3 ... 10
 1 
 on: May 27, 2017, 09:30:05 pm 
Started by lindeamon - Last post by new centos7 user
Hello
I am just looking to add netxms to my toolbag and loaded centos 7 on a server and need some guidance to install netxms software. I am having a problem installing the netxms to the machine. I have never done this in centos.
Thanks for any help you can give me.

 2 
 on: May 26, 2017, 10:02:20 pm 
Started by chris.petree - Last post by chris.petree
I think we were on version 1.8 until recently when we upgraded to 2.08. At that point we lost all of our world map icons. Through some research, I saw it's because the image folder changed. I was waiting for this 2.1RC1 release before worrying about it, because we were going to use custom, dynamic images anyway. Now that I have updated it, and set the script to update the images. Whenever I go to a node and click on "Map Appearance" I get an error "Could Not Accept Changes" "The currently displayed page contains invalid values." When I click out of that error and actually go to the Map Appearance tab I have the "Presentation image" inputs, but the input field is about a fifth of the size as normal and the Dropdown appearance option is missing.
Additionally, what I've noticed is that no matter what I do with the network object images, when I look at the image table in the SQL server the GUID never changes. Does anyone have any ideas? The world map is completely empty. We lost our icons in the update. The only way I got them back in the network objects was by manually editing the SQL table and removing the protected status. Then changing the image back to the default image. But it's like they're still not there.

 3 
 on: May 26, 2017, 06:25:51 pm 
Started by Vladimir - Last post by Vladimir
Добрый день.

При настройке Log Monitoring возник следующий вопрос.
Можно ли в NetXMS передавать значения переменных (Variable1, Variable2), которые находятся в разделе <EventData></EventData> лога?

Пример лога:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Provider" />
  <EventID Qualifiers="16386">787</EventID>
  <Level>4</Level>
  <Task>0</Task>
  <Keywords>0x80000000000000</Keywords>
  <TimeCreated SystemTime="2017-05-26T15:46:31.172209300Z" />
  <EventRecordID>5565</EventRecordID>
  <Channel>Application</Channel>
  <Computer>my-srv-01</Computer>
  <Security />
  </System>
- <EventData>
  <Data>Variable1</Data>
  <Data>Variable2</Data>

  </EventData>
  </Event>

В статье https://wiki.netxms.org/wiki/UM:Log_Monitoring в разделе "Passing parameters to events" рассматривается вариант парсинга переменных из поля Event message.
Данный вариант является не очень удобным в моем случае, т.к. в зависимости от локализации системы или софта, текст сообщения может меняться.

Заранее спасибо за ответ.

 4 
 on: May 26, 2017, 03:41:41 pm 
Started by dersonik - Last post by Tursiops
I am guessing that the System.Update.LastInstallTime is based on reading the Windows Update registry value, which Microsoft removed with Windows 10 and Server 2016, i.e. it won't work anymore.

The following PowerShell gives you the date of the last successful Windows Update installation (works for me, but knowing when my system last installed updates, the time appears to be in UTC):
Code: [Select]
$updateSearch = (New-Object -ComObject Microsoft.Update.Session ).CreateUpdateSearcher()
($updateSearch.QueryHistory(0,$updateSearch.GetTotalHistoryCount())| ?{$_.ResultCode -eq 2}|Sort-Object -Property Date -Descending).Date|Select -First 1

For some more background into, quoting "https://stackoverflow.com/questions/33732541/powershell-how-to-get-date-of-last-windows-update-install-or-at-least-checked-f":
Code: [Select]
$Session = New-Object -ComObject Microsoft.Update.Session
$Searcher = $Session.CreateUpdateSearcher()
$HistoryCount = $Searcher.GetTotalHistoryCount()
# http://msdn.microsoft.com/en-us/library/windows/desktop/aa386532%28v=vs.85%29.aspx
$Searcher.QueryHistory(0,$HistoryCount) | ForEach-Object {$_}

This will list all updates which the system tried to install, including a timestamp (which on my system appears to be UTC) and a result code.
Those translate to:
Code: [Select]
0 = Not Started
1 = In Progress
2 = Succeeded
3 = Succeeded With Errrors
4 = Failed
5 = Aborted

If a patch failed to install several times, it is supposedly listed several times as well. I cannot confirm that, as I have no failed patches in my list.
It also appears that the large cumulative updates like the Creators Update resets the contents of the list. Mine only goes back to said Creators Update.
Either way, with a bit of scripting you can return a few more things, like the number of unique patches which have failed to install.

I am not sure if the status 0 could be used to determine how many patches the system knows about that are not installed yet.

 5 
 on: May 26, 2017, 02:32:52 pm 
Started by dersonik - Last post by rainerh
With new Version nxagent-2.1-RC1-x64 I will have the same error:
Cannot get current parameter value: Operation cannot be completed due to agent error

 6 
 on: May 26, 2017, 09:34:27 am 
Started by Tursiops - Last post by Tursiops
The random segfaults continue. I can't get a backtrace using the method described in the Wiki - it never returns to gdb after crashing. Not sure if I am missing something?

Here's another segfault output (no idea if that helps at all):
Code: [Select]
*** Error in `netxmsd': corrupted double-linked list: 0x00007f33103c6710 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f339ec357e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x81f88)[0x7f339ec3ff88]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f339ec415d4]
/lib/x86_64-linux-gnu/libc.so.6(+0x2a315)[0x7f339ebe8315]
/lib/x86_64-linux-gnu/libc.so.6(+0x227fc)[0x7f339ebe07fc]
/lib/x86_64-linux-gnu/libc.so.6(+0x213a3)[0x7f339ebdf3a3]
/lib/x86_64-linux-gnu/libc.so.6(iconv_open+0x22a)[0x7f339ebdee2a]
/usr/lib/x86_64-linux-gnu/libnetxms.so.2(ucs4_to_ucs2+0x3a)[0x7f339ef9fa5a]
/usr/lib/x86_64-linux-gnu/libnetxms.so.2(_ZN11NXCPMessage3setEjhPKvbm+0x548)[0x7f339efb4758]
/usr/lib/x86_64-linux-gnu/libnxcore.so.2(_ZN6DCItem20fillLastValueMessageEP11NXCPMessagej+0x92)[0x7f339f4a7d52]
/usr/lib/x86_64-linux-gnu/libnxcore.so.2(_ZN20DataCollectionTarget25fillMessageInternalStage2EP11NXCPMessage+0x124)[0x7f339f4b9504]
/usr/lib/x86_64-linux-gnu/libnxcore.so.2(_ZN6NetObj11fillMessageEP11NXCPMessage+0x5e)[0x7f339f4e758e]
/usr/lib/x86_64-linux-gnu/libnxcore.so.2(_ZN13ClientSession12updateThreadEv+0x21c)[0x7f339f524dcc]
/usr/lib/x86_64-linux-gnu/libnxcore.so.2(_ZN13ClientSession19updateThreadStarterEPv+0x9)[0x7f339f525079]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f339d01d6ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f339ecc482d]

Cheers

 7 
 on: May 25, 2017, 10:10:48 pm 
Started by Tursiops - Last post by chris.petree
Mine, depending on what view I am in, tries to refresh every 3-5 seconds. It sometimes makes it nearly impossible to do anything as the "Processing" progress bar comes up and grays out the screen. I haven't seen a way to reduce the refresh rate.

 8 
 on: May 25, 2017, 07:34:24 am 
Started by Victor Kirhenshtein - Last post by reez_q11
I found that observium collects most mibs, and it look very complete

you can also found at
https://github.com/pgmillon/observium/commits/master/mibs


riz

 9 
 on: May 25, 2017, 04:07:00 am 
Started by Дым - Last post by Дым
Возможно ли?
Планируется ли?
Как скоро?

 10 
 on: May 24, 2017, 10:03:42 pm 
Started by dima_ikar - Last post by dima_ikar
Собственно клиент поджимает () у него есть кем то написанный MiB файл для контроля его устройства - всего 16 параметров
нужно по предложенному шаблону настроить визуализацию NetXms - готов заплатить ибо я все ПАС !
Спасибо за ранее
Сори если не по теме  !

Pages: [1] 2 3 ... 10