Hi,
sounds quite strange. Could you illustrate your problem with some screenshots?
Best regards,
Victor
sounds quite strange. Could you illustrate your problem with some screenshots?
Best regards,
Victor
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
./configure --with-sdk --disable-unicode --prefix=/opt/nxsdk
-I /opt/nxsdk/include -L /opt/nxsdk/lib -lappagent -lnetxms
nxlog_set_debug_writer(DebugWriter);
nxlog_set_debug_level(9);
static void DebugWriter(const TCHAR *tag, const TCHAR *format, va_list args)
{
if (tag != nullptr)
printf("[%s] ",tag);
vprintf(format, args);
printf("\n");
}
victor@xps13:~/Source/appagentdemo$ LD_LIBRARY_PATH=/opt/nxsdk/lib ./demoapp
Initializing AppAgent...
Starting AppAgent...
Application agent startedApp started
NamedPipeListener(appagent.DEMOAPP): waiting for connection
NamedPipeListener(appagent.DEMOAPP): accepted connection by user victor
victor@xps13:~$ /opt/netxms/bin/nxappget DEMOAPP DemoApp.Metric1
OK
victor@xps13:~$
node = FindObject("netxms-server");
for(a : node->alarms)
{
println(a->message);
}
trace(0, "field1 = " . $ARGS[1]);
trace(0, "field2 = " . $ARGS[2]);
TestScript("$(Field1)", "$(Field2)")
[SSH]
ConfigFile = /etc/nxagentd-ssh-config
HostKeyAlgorithms +ssh-rsa