libnxagent_la_SOURCES = $(SOURCES)
libnxagent_la_CPPFLAGS=-I@top_srcdir@/include
libnxagent_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
-libnxagent_la_LIBADD = ../../libnetxms/libnetxms.la
+libnxagent_la_LIBADD = ../../db/libnxdb/libnxdb.la ../../libnetxms/libnetxms.la
EXTRA_DIST = libnxagent.h libnxagent.vcproj
SUBAGENT = aix
pkglib_LTLIBRARIES = aix.la
-aix_la_SOURCES = cpu.cpp disk.cpp iostat.cpp main.cpp net.cpp proc.cpp system.cpp
+aix_la_SOURCES = cpu.cpp disk.cpp iostat.cpp lvm.cpp main.cpp net.cpp proc.cpp system.cpp
aix_la_CPPFLAGS=-I@top_srcdir@/include
aix_la_LDFLAGS = -module -avoid-version -export-symbols ../platform-subagent.sym
-aix_la_LIBADD = -lperfstat ../../libnxagent/libnxagent.la ../../../libnetxms/libnetxms.la
+aix_la_LIBADD = ../../libnxagent/libnxagent.la ../../../libnetxms/libnetxms.la -lperfstat -llvm -lodm -lcfg
EXTRA_DIST = aix_subagent.h
LONG H_IOStats(const TCHAR *cmd, const TCHAR *arg, TCHAR *value, AbstractCommSession *session);
LONG H_IOStatsTotal(const TCHAR *cmd, const TCHAR *arg, TCHAR *value, AbstractCommSession *session);
LONG H_LoadAvg(const TCHAR *pszParam, const TCHAR *pArg, TCHAR *pValue, AbstractCommSession *session);
+LONG H_LvmVolumeGroups(const TCHAR *param, const TCHAR *arg, StringList *value, AbstractCommSession *session);
LONG H_MemoryInfo(const TCHAR *pszParam, const TCHAR *pArg, TCHAR *pValue, AbstractCommSession *session);
LONG H_MountPoints(const TCHAR *cmd, const TCHAR *arg, StringList *value, AbstractCommSession *session);
LONG H_NetInterfaceStatus(const TCHAR *param, const TCHAR *arg, TCHAR *value, AbstractCommSession *session);
static NETXMS_SUBAGENT_LIST m_lists[] =
{
{ _T("FileSystem.MountPoints"), H_MountPoints, NULL },
+ { _T("LVM.VolumeGroups"), H_LvmVolumeGroups, NULL },
{ _T("Net.InterfaceList"), H_NetInterfaceList, NULL },
{ _T("System.ProcessList"), H_ProcessList, NULL }
};
sizeof(m_tables) / sizeof(NETXMS_SUBAGENT_TABLE),
m_tables,
0, NULL, // actions
- 0, NULL // push parameters
+ 0, NULL // push parameters
};
/**