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 - Mortymer

#16
Hello,

I don't know that someone had similar problem, but after I update the NetXMS with the latest version the Server stop at every night.
The error message is same:

NETXMSD CRASH DUMP
Sat Jul 13 00:00:04 2019

EXCEPTION: C0000005 (Access violation) at 000007FEF84E17F3

NetXMS Version: 2.2.16
NetXMS Build Tag: 2.2.16
OS Version: Windows 7 Build 7601 Service Pack 1
Processor architecture: AMD64 (Intel EM64T)

Call stack:
  [libnetxms:000007FEF84E17F3]: public: void __cdecl String::append(wchar_t const * __ptr64) __ptr64
  [nxcore:000007FEF36448F0]: public: virtual class NXSL_Value * __ptr64 __cdecl Subnet::createNXSLObject(void) __ptr64
  [nxcore:000007FEF3645088]: public: virtual class NXSL_Value * __ptr64 __cdecl Subnet::createNXSLObject(void) __ptr64
  [nxcore:000007FEF3614195]: public: __cdecl DashboardRoot::DashboardRoot(void) __ptr64
  [nxcore:000007FEF3580853]: bool __cdecl IsCommand(wchar_t const * __ptr64,wchar_t const * __ptr64,int)
  [libnetxms:000007FEF8527DC2]: enum TcpPingResult __cdecl TcpPing(class InetAddress const & __ptr64,unsigned short,unsigned int)
  [libnetxms:000007FEF850C09F]: unsigned int __cdecl SEHThreadStarter(void * __ptr64)
  [ucrtbase:000007FEF857CD70]: _o__realloc_base
  [kernel32:0000000076DC556D]: BaseThreadInitThunk
  [ntdll:000000007702385D]: RtlUserThreadStart

What can I do with this. At now I made a Schedule script which restart the service at 00:30, but I'm not sure it is the best solution.

Thank you for any help!

Mortymer
#17
I increased the timeout from 5 seconds to 7 seconds and it works.
Thank you!
#18
I modified the parameters but the problem is same :(
I see ERROR message.
But the strange things that if I set the debug mode on Agent, I don't find any related information about the the Agent want to start this application.
#19
So after I read what I found:
1/ Now I know that I have to register the data collection items under an Agent. I can't use the Meter-node for this.
2/ I setup the Agent config with the external application

ExecTimeout = 5000
FileStore = C:\NetXMS\var
LogFile = c:\NetXMS\Log\agent.log
RequireAuthentication = no
SubAgent = winperf.nsm
SubAgent = portcheck.nsm
SubAgent = ping.nsm
SubAgent = ssh.nsm

ExternalParameterShellExec=EMC_Getbalance(*):C:\NetXMS\scripts\EMCCommunication.exe $1 $2

I register one meter under and Agent (I attached the screesnhot) where I set the parameters for this meter.


But at "Last values" tab I see "<<ERROR>>"
I know that I did something wrong I have no idea what.

Thank you for any help!
#20
Hello,

I have some different meters what I want to monitoring with netXMS. (electricity, gas, water, temperature ...)
I made a simple application to get the current measures from the meters.
With parameters I give the ip address and more others.
How can I configure the NetXMS server and Agent to collect the measures from more than 200 meters.
Not need to check the amounts on every seconds but I have to check every hours.
This meters aren't support SNMP and I can't install any third party application but with this app l can collect the current amounts.
The netxms agent can execute this app but I don't know how can I use one Agent to check all meters.
Thank you for any help.