Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

V

VSS

@VSS
Unfollow Follow
About
Posts
76
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Run agent command (action) under User session
    V VSS
    Support

    @tursiops said in Run agent command (action) under User session:

    Hi,

    I assume VSS is referring to whoever is logged in to the Console session at the time.

    Cheers

    Yes you are right! We need to have ability to start process the same user as nxsagent.exe.


  • Dashboard - Alarm view - Customize columns
    V VSS
    Support

    Thank you for the answer!
    We also think it will be good to have them in future release.


  • ServiceCheck.HTTP with intrenet proxy
    V VSS
    Support

    Thank you for the answer.

    We think this ability will be a good additional functionality request for future release....


  • Java Subagent plugin relative path
    V VSS
    Support

    Thanks!


  • Dashboard - Alarm view - Customize columns
    V VSS
    Support

    Hello,

    Is there any possibility to customize the amount and order of columns in Alaram View in Dashboards?

    We also tried to resize columns size to 0, but Dashboard didn't save the value of new size and reset it to default after restart.

    Related topic: https://www.netxms.org/forum/feature-requests/customize-which-columns-are-displayed-order-and-font-size-in-alarm-dashboard/


  • Run agent command (action) under User session
    V VSS
    Support

    Hello,

    All exe started from agent Action will be running under account of Agent service (system by default).

    Is it somehow possible to start exe from agent Action under current user account?

    P.S. as we know there is special nxsagent.exe to run under user session. Maybe there is possibility to use it.


  • ServiceCheck.HTTP with intrenet proxy
    V VSS
    Support

    Hello,

    Our nodes use proxy to access internet. For these nodes we need to setup check of availability of some internet web resources. According to information which we can find here there is no possibility to use ServiceCheck.HTTP with proxy. Is this correct?


  • NetXms Core Service periodically crashed down
    V VSS
    Support

    Hello,

    Approximately 1 time per day Core Service of NetXMS crashed down.

    Version: 2.0.8
    OS:  Microsoft Windows Server 2012 R2 Standard
    DB: SQLight

    In log file we saw:

    NETXMSD CRASH DUMP
    Thu Jun 15 02:00:00 2017

    EXCEPTION: C0000005 (Access violation) at 000000000103EF73

    NetXMS Version: 2.0.8.8078
    OS Version: Windows Server 2012 Build 9200
    Processor architecture: AMD64 (Intel EM64T)

    Call stack:
      [nxsqlite:000000000103EF73]: sqlite3_backup_pagecount
      [nxsqlite:0000000001044E1D]: sqlite3_sql
      [nxsqlite:0000000001033776]: sqlite3_enable_shared_cache
      [nxsqlite:000000000104D766]: sqlite3_value_numeric_type
      [nxsqlite:000000000104688D]: sqlite3_result_error_nomem
      [nxsqlite:0000000001046A6A]: sqlite3_step
      [sqlite:0000000000D71C79]: DrvSelectPrepared
      [libnxdb:00000000006C5934]: struct db_result_t * __ptr64 __cdecl DBSelectPreparedEx(struct db_statement_t * __ptr64,wchar_t * __ptr64)
      [libnxdb:00000000006C5AD3]: struct db_result_t * __ptr64 __cdecl DBSelectPrepared(struct db_statement_t * __ptr64)
      [nxcore:0000000180023462]: bool __cdecl ConfigReadStrEx(struct db_handle_t * __ptr64,wchar_t const * __ptr64,wchar_t * __ptr64,int,wchar_t const * __ptr64)
      [nxcore:0000000180057194]: wchar_t const * __ptr64 __cdecl GetStatusAsText(int,bool)
      [nxcore:000000018005754A]: wchar_t const * __ptr64 __cdecl GetStatusAsText(int,bool)
      [libnetxms:0000000000350B2F]: unsigned int __cdecl SEHThreadStarter(void * __ptr64)
      [MSVCR80:00000000583C37D7]: _endthreadex
      [MSVCR80:00000000583C3894]: _endthreadex
      [KERNEL32:00007FFE915B13D2]: BaseThreadInitThunk
      [ntdll:00007FFE93F454E4]: RtlUserThreadStart

    Dump files in the attachment.


    netxmsd-4352-1497517200.info

    netxmsd-4352-1497517200.mdmp


  • Java Subagent plugin relative path
    V VSS
    Support

    Hello,

    Thank you! If you will post the link to the registered bug we can help to test it.


  • Segmentation fault at starting nxagentd
    V VSS
    Support

    Hello,
    It will be not bad if You will provide some details about your environment (OS etc.).


  • Java Subagent plugin relative path
    V VSS
    Support

    Hello!

    Try to investigate how to set relative path in agent configuration file for Java subagent plugin.

    If I set the full path, for example: c:\temp\CustomAgent.jar all is working fine, but can not understand how to specify a relative to NetXms agent installation path. Tried a lot of variants, but plugin did not load (error on log file: Error processing jar file CustomAgent.jar: java.lang.NullPointerException: null).

    Please, help to clarify, how to set relative path in for Java subagent plugin?


  • Error whe opening Screenshot view
    V VSS
    Support

    Thank you!

    I thought it is two different places, because of different name.


  • Error whe opening Screenshot view
    V VSS
    Support

    Through Main menu: Window->Show View->Other...->Screenshot


  • Error whe opening Screenshot view
    V VSS
    Support

    Hello,

    I have got an error when try to opening Screenshot view:

    java.lang.NumberFormatException: null
    	at java.lang.Long.parseLong(Unknown Source)
    	at java.lang.Long.parseLong(Unknown Source)
    	at org.netxms.ui.eclipse.agentmanager.views.ScreenshotView.init(ScreenshotView.java:84)
    	at org.eclipse.ui.part.ViewPart.init(ViewPart.java:122)
    	at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:354)
    	at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:240)
    	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    	at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2245)
    	at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1154)
    	at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3934)
    	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    	at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3931)
    	at org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:162)
    	at org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:105)
    	at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:73)
    	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
    	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
    	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
    	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
    	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
    	at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java:187)
    	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
    	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    	at org.netxms.ui.eclipse.console.Application.start(Application.java:37)
    	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    

    Can you, please, help to understand what is wrong?


    Error.JPG


  • World Map - Node Name
    V VSS
    Support

    Hello Dear NetXMS Community!

    Is there any possibility to show node name as object caption on the map? By default the name is shown only when mouse move over.


  • Agent development - best-practice
    V VSS
    Development windows

    @victor said in Agent development - best-practice:

    Hi,

    you best bet is to take any existing subagent as an example and ask questions here (src/agent/subagents/ecs for example - it is very simple subagent and structure should be easy to understand). You can also purchase training and/or support for your developers from Raden Solutions if you need premium support.

    Best regards,
    Victor

    Thank you! We will start and look at it!


  • Agent development - best-practice
    V VSS
    Development windows

    Hello Dear NetXMS community!

    We would like to develop agent with special functions for our needs. Is there any best-practice for such task?

    As we can see there a few questions without answer on a forum...


  • Параметры в DB.QueryResult
    V VSS
    Support (Russian)

    @victor said in Параметры в DB.QueryResult:

    Ставить знак вопроса. Первый параметр подставится в первый знак вопроса, второй во второй, и т.д. Например:

    SELECT STUFF ( (SELECT top 5 ';' + objid + ',' + action + ',' + CONVERT(varchar(10),DATEDIFF(s,'1970-01-01', DATEADD(second, DATEDIFF(second, GETDATE(), GETUTCDATE()), date))) FROM .... WHERE ... condition_column=?

    Спасибо за подсказку. Попробовали, но из наблюдений параметр не передается в запрос.

    изменили запрос на:

    SELECT STUFF ( (SELECT top 5 ';' + objid + ',' + action + ',' + CONVERT(varchar(10),DATEDIFF(s,'1970-01-01', DATEADD(second, DATEDIFF(second, GETDATE(), GETUTCDATE()), date))) FROM ... where ... and objid in (?) ORDER BY ...

    в Data Collection вызываем его как  checksensor(1)

    но в журнале появляется ошибка:

    [ERROR] SQL query failed (Query = "SELECT STUFF ( (SELECT top 5 ';' + objid + ',' + action + ',' + CONVERT(varchar(10),DATEDIFF(s,'1970-01-01', DATEADD(second, DATEDIFF(second, GETDATE(), GETUTCDATE()), date))) FROM ... where ... and objid in (?) ORDER BY ... "): [Microsoft][SQL Server Native Client 10.0]COUNT field incorrect or syntax error

    В конфиги он создается как:

    ConfigurableQuery = checksensor:testdb:test query:SELECT STUFF ( (SELECT top 5 ';' + objid + ',' + action + ',' + CONVERT(varchar(10),DATEDIFF(s,'1970-01-01', DATEADD(second, DATEDIFF(second, GETDATE(), GETUTCDATE()), date))) FROM ... where ... and objid in (?) ORDER BY ....'')

    Версия: 1.2.14.


  • Параметры в DB.QueryResult
    V VSS
    Support (Russian)

    @victor said in Параметры в DB.QueryResult:

    Попробуйте прописать в конфиге агента как ConfigurableQuery - должен появится новый параметр checksensor к которому можно будет обратится как checksensor(1)

    Спасибо за подсказку, изменили тип запроса на ConfigurableQuery. Теперь запрос можно вызвать как checksensor(1).

    Но каким образом описать ПАРАМЕТР в самом запросе, такой вариант не сработал:

    SELECT STUFF ( (SELECT top 5 ';' + objid + ',' + action + ',' + CONVERT(varchar(10),DATEDIFF(s,'1970-01-01', DATEADD(second, DATEDIFF(second, GETDATE(), GETUTCDATE()), date))) FROM .... where ... param1

    Т.е. непонятно как в запросе описать сам параметр?


  • Параметры в DB.QueryResult
    V VSS
    Support (Russian)

    Коллеги, у кого есть идеи ??? Спасибо!

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups