right click на ноде, выбрать Properties, перейти на закладку Custom Attributes, нажать Add, как имя указать snmp.driver, как значение H3C. После этого попробовать сделать configuration poll.
We really need your input in this questionnaire
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);
}