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 - Peter Sentveld

#1
General Support / Re: Agent Deployment
March 28, 2014, 11:12:40 AM
Hello,

I have 350+ windows installation with agent. Normally the upgrade goes smooth, only a few (explainable) misses.

More than 100 are already upgraded to 1.2.13 without problems.
Today 3 upgrades in a row failed.

Looks like if the agent is running an (long) ExternalParameter job the upgrade failes. On 1 server the agent is down, process is not in memory but the externalparameter job is still running and "netstat -an" still gives that something is listening on port 4700.

Cannot start the (new?) agent, I will have to boot this system.

So to me it looks like that there's "a wrong moment" in the agent to do the upgrade.

Regards,
   Peter.
#2
Announcements / Re: NetXMS 1.2.12 released
February 18, 2014, 12:23:23 AM
--disable-xmpp solved the build error.

After starting netxmsd it was 100% cpu for quiet some time (hours !), now its usable.

Thanks, Peter.
#3
Announcements / Re: NetXMS 1.2.12 released
February 17, 2014, 07:22:58 PM
Tnx.

Troubles building the source on "CentOS release 6.3 (Final)"

Making all in netxmsd
make[4]: Entering directory `/usr/local/src/netxms-1.2.12/src/server/netxmsd'
  CXXLD  netxmsd
../core/.libs/libnxcore.so: undefined reference to `xmpp_stanza_add_child_ex'
collect2: ld returned 1 exit status
make[4]: *** [netxmsd] Error 1

ldconfig didn't help, can you please indicate what i'm missing ?
#4
General Support / Re: Request timed out
February 06, 2014, 09:05:24 AM
Same here. "Cannot terminate alarm: Request timed out", lots.

CentOS, mysql, NetXMS 2.11.

Regards,
  Peter.
#5
Windows / Bug in logwatch subagent
February 27, 2013, 09:04:00 PM
If there's a eventlog entry bigger than the default BUFFER_SIZE then the logwatch enters an endless loop.
If the buffer isn't big enough then there's a realloc with size "bytesNeeded" but the buffersize stays "BUFFER_SIZE" in stead of bufferSize.

diff:
--- C:/Temp/eventlog.cpp-revBASE.svn001.tmp.cpp   Tue Aug 14 19:44:38 2012
+++ D:/Source/netxms/trunk/src/agent/subagents/logwatch/eventlog.cpp   Wed Feb 27 19:56:50 2013
@@ -341,7 +341,7 @@
             {
retry_read:
                success = ReadEventLog(hLog, EVENTLOG_SEQUENTIAL_READ | EVENTLOG_FORWARDS_READ, 0,
-                                       buffer, BUFFER_SIZE, &bytes, &bytesNeeded);
+                                       buffer, bufferSize, &bytes, &bytesNeeded);
               error = GetLastError();
               if (!success && (error == ERROR_INSUFFICIENT_BUFFER))
               {