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

Topics - xatteg

#1
Hi All,

I'm using external parameters in nxagentd.conf file, one of them:

ExternalParameter = CF2PRIVATEMEM:privatemem.sh

If I launch nxagentd -f -D 9  it executes and reads the parameter correctly

[12-Aug-2016 14:30:59.404] [DEBUG] [session:0] Received message CMD_GET_PARAMETER
[12-Aug-2016 14:30:59.404] [DEBUG] [session:0] Requesting parameter "CF2PRIVATEMEM"
[12-Aug-2016 14:30:59.404] [DEBUG] H_ExternalParameter called for "CF2PRIVATEMEM" "Eprivatemem.sh"
[12-Aug-2016 14:30:59.404] [DEBUG] RunExternal called for "CF2PRIVATEMEM" "Eprivatemem.sh"
[12-Aug-2016 14:30:59.404] [DEBUG] RunExternal: command line is "privatemem.sh"
[12-Aug-2016 14:30:59.405] [DEBUG] RunExternal (shell exec): worker thread created
[12-Aug-2016 14:30:59.502] [DEBUG] H_ExternalParameter/POpenWorker: worker thread pipe read result: 0x7f8e8f5a5d70
[12-Aug-2016 14:30:59.503] [DEBUG] RunExternal (shell exec): execution status 0
[12-Aug-2016 14:30:59.503] [DEBUG] [session:0] GetParameterValue(): result is 0 (SUCCESS)
[12-Aug-2016 14:30:59.503] [DEBUG] [session:0] Sending message CMD_REQUEST_COMPLETED (size 56)
[12-Aug-2016 14:30:59.503] [DEBUG] [session:0] Outgoing message dump:
  ** 001D0000000000380000001800000002
  ** 0000001C000000000000000000000000
  ** 00000015010000000000000C00340037
  ** 0037003300310032
  ** code=0x001D (CMD_REQUEST_COMPLETED) flags=0x0000 id=24 size=56 numFields=2
  ** [    28] INT32    0
  ** [    21] STRING   "477312"


However if I launch in daemon mode nxagentd -d -D 9  then I get the following

[12-Aug-2016 14:29:31.930] [DEBUG] [session:0] Received message CMD_GET_PARAMETER
[12-Aug-2016 14:29:31.930] [DEBUG] [session:0] Requesting parameter "CF2PRIVATEMEM"
[12-Aug-2016 14:29:31.930] [DEBUG] H_ExternalParameter called for "CF2PRIVATEMEM" "Eprivatemem.sh"
[12-Aug-2016 14:29:31.930] [DEBUG] RunExternal called for "CF2PRIVATEMEM" "Eprivatemem.sh"
[12-Aug-2016 14:29:31.930] [DEBUG] RunExternal: command line is "privatemem.sh"
[12-Aug-2016 14:29:31.930] [DEBUG] RunExternal (shell exec): worker thread created
[12-Aug-2016 14:29:31.936] [DEBUG] RunExternal (shell exec): execution status 0
[12-Aug-2016 14:29:31.936] [DEBUG] [session:0] GetParameterValue(): result is 0 (SUCCESS)
[12-Aug-2016 14:29:31.936] [DEBUG] [session:0] Sending message CMD_REQUEST_COMPLETED (size 48)
[12-Aug-2016 14:29:31.936] [DEBUG] [session:0] Outgoing message dump:
  ** 001D0000000000300000001900000002
  ** 0000001C000000000000000000000000
  ** 00000015010000000000000000000000
  ** code=0x001D (CMD_REQUEST_COMPLETED) flags=0x0000 id=25 size=48 numFields=2
  ** [    28] INT32    0
  ** [    21] STRING   ""

Which is wrong. Current version of server and agent is 2.0.5 and it does not work here.
When I had version 1.2.17 it worked correctly.
#2
General Support / Empty strings in 1.2.7 WEB GUI
May 13, 2013, 05:55:29 PM
Hello Victor,

I've got trouble with new WEB GUI in 1.2.7. It displays an empty strings for the object tree, at the same time windows x86 client works fine. I've enclosed the screenshot of this.

Environment:
[root@netxms webapps]# cat /etc/redhat-release
CentOS release 6.2 (Final)
[root@netxms webapps]# rpm -qa | grep tomcat
tomcat6-lib-6.0.24-45.el6.noarch
tomcat6-servlet-2.5-api-6.0.24-45.el6.noarch
tomcat6-el-2.1-api-6.0.24-45.el6.noarch
tomcat6-6.0.24-45.el6.noarch
apache-tomcat-apis-0.1-1.el6.noarch
tomcat6-jsp-2.1-api-6.0.24-45.el6.noarch
[root@netxms webapps]#
#3
General Support / Error compiling v1.2.3
September 17, 2012, 10:52:47 AM
I run in error when compiling netxms on centos 6.3.

make[4]: Leaving directory `/distr/netxms-1.2.3.1/src/snmp/libnxsnmp'
Making all in nxmibc
make[4]: Entering directory `/distr/netxms-1.2.3.1/src/snmp/nxmibc'
  CXX    array.o
  CXX    lex.parser.o
  CXX    mibparse.o
  CXX    nxmibc.o
  CXX    parser.tab.o
  CXXLD  nxmibc
../../libnetxms/.libs/libnetxms.so: undefined reference to `tre_regwexec'
../../libnetxms/.libs/libnetxms.so: undefined reference to `tre_regwcomp'
collect2: ld returned 1 exit status
make[4]: *** [nxmibc] Error 1
make[4]: Leaving directory `/distr/netxms-1.2.3.1/src/snmp/nxmibc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/distr/netxms-1.2.3.1/src/snmp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/distr/netxms-1.2.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/distr/netxms-1.2.3.1'
make: *** [all] Error 2

Configure arguments "--with-server --with-pgsql --with-agent --with-snmp".
#4
General Support / Graphs not displayed for admins group
September 11, 2012, 09:44:12 AM
Hello Victor,

I ran in problem adding the second administrator. E.g. I create user and put him into admins group. And this user cannot view any graphs.
I using win32 console and netxms 1.2.2.

Best regards,
Roman
#5
General Support / Trouble with ODBC SQL Polling
July 31, 2012, 12:53:35 PM
Hello Victor,

I've managed to build and launch ODBC subagent tried it and got some issues. Current query returns right result, but those results stored previously die or something wrong happens to them. I have included the printscreens of management console showing this and screen of collection configuration.

Agent is configured with the following lines:
*ODBC
Query = SQL.MySQLQuery:mybase:SELECT COUNT(*) FROM USERS WHERE USERACTIVE = 1 AND USERDELETED = 0:60

Normally query should return 171 or something like this.



#6
Hello Victor,

I've got a problem compiling Static Agent when enabling ODBC subagent.
Configure string:
./configure --with-static-agent --disable-encryption --with-static-subagents=ODBCQuery --without-sqlite --with-all-static

Error:
make[4]: Entering directory `/distr/netxms-1.2.2/src/agent/core'
  CXXLD  nxagentd
static_subagents.o: In function `InitStaticSubagents()':
/distr/netxms-1.2.2/src/agent/core/static_subagents.cpp:13: undefined reference to `NxSubAgentRegister_ODBCQUERY'
collect2: ld returned 1 exit status
make[4]: *** [nxagentd] Error 1
make[4]: Leaving directory `/distr/netxms-1.2.2/src/agent/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/distr/netxms-1.2.2/src/agent'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/distr/netxms-1.2.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/distr/netxms-1.2.2'
make: *** [all] Error 2
[root@netxms netxms-1.2.2]#


Static agent without ODBC subagent compiles fine and Not static agent with ODBC subagent also compiles fine.
#7
General Support / Web console graphs GMT timezone
July 04, 2012, 11:36:21 AM
Hello Victor,

I have netxms version 1.2.1 and tomcat6 installed. Server is running CentOS 6.1 and is configured for EEST local time which is GMT+3 currently.
All graphs accessed through regular console display correct GMT+3 time, but in the WEB console all graphs are displayed with wrong GMT+0 time, and all alarms in both consoles are displayed with correct GMT+3 time.

Best regards,
Roman
#8
General Support / Difference between parameters
July 03, 2012, 04:57:55 PM
Hello Victor,

There are two parameters that could be measured by agent - System.CPU.Usage.IoWait and System.IO.DiskTime. What is the difference between them?

Best regards,
Roman
#9
Feature Requests / Tube and Bar charts
June 25, 2012, 12:22:12 PM
Hello Victor,

It is a good idea to add actual values at the top of the tubes/bars. It is especially useful when there are several charts on the dashboards. They are getting automatically shrunk and there is no way of seeing actual value of each tube/bar.

Best regards,
Roman
#10
Hello Victor,

I have compiled static agent under CentOS 6.1 and installed it on remote machine running RHEL 5.2. All readings are OK except network interface statistics like Net.Interface.BytesOut(ifname) and Net.Interface.BytesIn(ifname). The number of TXed/RXed bytes has reached 4294967295 and does not change, although there is active traffic. As far as I understand it is stuck with 'unsigned int' limitation. The numbers of TXed and RXed packets are growing but they still have not reached that limit.

Best regards,
Roman
#11
General Support / Unix static agent build fails
June 13, 2012, 12:33:49 PM
Hello Victor,

I'm configuring netxms on CentOS 6.2 with following ./configure --with-agent-static. Configure script executes normally. But make produces error:

../../../tools/create_ssa_list.sh "linux ecs logwatch ping portcheck ups" > static_subagents.cpp
  CXX    static_subagents.o
  CXX    subagent.o
  CXX    sysinfo.o
  CXX    tools.o
  CXX    trap.o
  CXX    upgrade.o
  CXX    watchdog.o
make[4]: *** No rule to make target `../../../src/db/libnxdb/libnxdb.la', needed by `nxagentd'.  Stop.
make[4]: Leaving directory `/distr/netxms-1.2.1/src/agent/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/distr/netxms-1.2.1/src/agent'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/distr/netxms-1.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/distr/netxms-1.2.1'
make: *** [all] Error 2
[root@netxms netxms-1.2.1]#

Can that be fixed?
#12
General Support / Database schema
June 12, 2012, 12:45:39 PM
Hello Guys,

I've installed Netxms 1.2.1 with DB Postgressql using driver "/usr/local/lib/libnxddr_pgsql.so" in netxmsd.conf.
I assume that it is more correct to use pgsql.ddr driver. Can I convert existing database schema and data to be used with pgsql.ddr driver? Or maybe it is not needed at all to use pgsql.ddr?

Best regards,
Roman
#13
Feature Requests / SOAP/XML Polling
June 12, 2012, 12:31:58 PM
Hello Victor,

Are there any plans to implement SOAP/XML polling feature?

Kind regards,
Roman
#14
I've installed netxms 1.2.1 on CentOS using source code. Admin UI from client PCs is running good, but I couldn't find option for installation of webserver. There is no such option '"--with-nxhttpd" for "configure" script, as stated in installation manual.
#15
General Support / Dashboard, element placing
June 11, 2012, 10:29:36 AM
Hello everyone.

I've placed several graphs to dashboard and I want to arrange them say in two columns. I've tried to play with column number and span parameters but still no effect. Can you help me with that?