спасибо, работает.
				
			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
for alarm in session.getAlarms().values():
 print '%s (%d): %s' % (session.getObjectName(alarm.getSourceObjectId()), alarm.getCurrentSeverity(), alarm.getMessage())
for node in filter(lambda x: isinstance(x, objects.Node), s.getAllObjects()):
    print node.getObjectName()
import org.netxms.client
import sys
for action in s.getActions():
    name = action.getName()
    data = action.getData()
    print name, '---', data
ll /usr/lib/jvm/java/jre/lib/amd64/server/
total 37028
-r--r--r-- 1 root root 25382912 Apr 13 10:02 classes.jsa
lrwxrwxrwx 1 root root       13 Apr 13 10:02 libjsig.so -> ../libjsig.so
-rwxr-xr-x 1 root root 12525760 Feb 27 07:03 libjvm.so
-rw-r--r-- 1 root root     1423 Feb 27 06:51 Xusage.txt
LDFLAGS="-L/usr/lib/jvm/java/jre/lib/ -L/usr/lib/jvm/java/jre/lib/amd64/server/"
for i in -I/usr/lib/jvm/java/include{,/linux}; do
      java_inc="$java_inc $i"
done
CPPFLAGS="$java_inc $CPPFLAGS"
export LDFLAGS CPPFLAGS
checking jni.h usability... yes
checking jni.h presence... yes
checking for jni.h... yes
checking for SQLAllocHandle in -ljvm... no
configure: error: libjvm is required for Java support
LDFLAGS="-L/opt/local/netxms/lib" ./configure  --prefix=/opt/local/netxms/ --libdir=/opt/local/netxms/lib/ --with-agent --with-client  --with-all-static --with-internal-libexpat --enable-unicode
Darwin mac-server 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
[10-Feb-2015 12:22:08.238] [DEBUG] [session:1] Message dump:
  ** 0041000000000040000077B900000001
  ** 00000055010000000000002000530079
  ** 007300740065006D002E004300500055
  ** 002E0055007300610067006500000000
  ** code=0x0041 (CMD_GET_PARAMETER) flags=0x0000 id=30649 size=64 numFields=1
  ** [    85] STRING "System.CPU.Usage"
[10-Feb-2015 12:22:08.238] [DEBUG] [session:1] Received message CMD_GET_PARAMETER
[10-Feb-2015 12:22:08.238] [DEBUG] [session:1] Requesting parameter "System.CPU.Usage"
[10-Feb-2015 12:22:08.238] [DEBUG] [session:1] GetParameterValue(): result is 500 (INTERNAL_ERROR)
[10-Feb-2015 12:22:08.238] [DEBUG] [session:1] Sending message CMD_REQUEST_COMPLETED (size 32)
[10-Feb-2015 12:22:08.239] [DEBUG] [session:1] Message dump:
  ** 0041000000000040000077BA00000001
  ** 00000055010000000000002000530079
  ** 007300740065006D002E004300500055
  ** 002E0055007300610067006500000000
  ** code=0x0041 (CMD_GET_PARAMETER) flags=0x0000 id=30650 size=64 numFields=1
  ** [    85] STRING "System.CPU.Usage"
[10-Feb-2015 12:22:08.239] [DEBUG] [session:1] Received message CMD_GET_PARAMETER
[10-Feb-2015 12:22:08.239] [DEBUG] [session:1] Requesting parameter "System.CPU.Usage"
[10-Feb-2015 12:22:08.239] [DEBUG] [session:1] GetParameterValue(): result is 500 (INTERNAL_ERROR)
[10-Feb-2015 12:22:08.239] [DEBUG] [session:1] Sending message CMD_REQUEST_COMPLETED (size 32)