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

Messages - testos

#61
General / Re: About the Language
December 16, 2011, 02:04:12 PM
Hi.

But, where I can locate messages.properties file?

Best regards.
#62
Feature Requests / Re: Java Console - Event Monitor
December 15, 2011, 12:28:03 PM
Hi!
In legacy console Event Browser is also empty.

Best regards.
#63
Announcements / Re: NetXMS 1.1.7 released
December 15, 2011, 12:11:39 PM
Hi!

Events ans Status Properties (Status Calculation in legacy console) for nodes and containers will be available in next java console release?

Best regards.
#64
General Support / Re: Last DCI value in event mesagge
October 19, 2011, 09:42:50 AM
Thank you, Victor!
#65
General Support / Re: Last DCI value in event mesagge
October 18, 2011, 03:18:59 PM

Hi Victor, could you complete this event-specific parameters table?

Quote$event->parameters[1] -> DCI Data parameter
$event->parameters[2] -> DCI description
$event->parameters[3] -> ??
$event->parameters[4] -> ??
$event->parameters[5] -> DCI ID
$event->parameters[6] -> ??
$event->parameters[7] -> ??

Thanks in advance.
#66
General Support / Re: Last DCI value in event mesagge
October 17, 2011, 05:35:48 PM
Thank you!
Great support!  :o

Regards,
#67
General Support / Last DCI value in event mesagge
October 17, 2011, 03:23:11 PM
Hi!

I need to put the last DCI value in event message. How can I do it?

Best regards.
#68
Hi again.

I've also tried an i386 machine and this is the result:
Quote
...
libtool: install: warning: remember to run `libtool --finish /usr/lib/netxms'
make  install-exec-hook
make[6]: se ingresa al directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents/portCheck'
if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE= ar x /usr/lib/netxms/portcheck.a /usr/lib/netxms/portcheck.so ; rm -f /usr/lib/netxms/portcheck.a ; fi
mv /usr/lib/netxms/portcheck.so /usr/lib/netxms/portcheck.nsm
mv: can not be made `stat' in «/usr/lib/netxms/portcheck.so»: No such file or directory
make[6]: *** [install-exec-hook] Error 1
make[6]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents/portCheck'
make[5]: *** [install-exec-am] Error 2
make[5]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents/portCheck'
make[4]: *** [install-am] Error 2
make[4]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents/portCheck'
make[3]: *** [install-recursive] Error 1
make[3]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents'
make[2]: *** [install-recursive] Error 1
make[2]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent'
make[1]: *** [install-recursive] Error 1
make[1]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src'
make: *** [install-recursive] Error 1


Best regards.
#69
General Support / Re: Failed to load agent's registry
October 07, 2011, 12:57:30 PM

Thanks okay, issue clarified.

Best regards.

#70
QuoteI agree that rpm packages are necessary, but unfortunately I'm not familiar with rpm creation, so it probably will take lot of time for me. And if somebody will make them, that will be great.

Best regards,
Victor


OK Victor, I give the hint ... ;)

I am trying to build a .rpm netxms agent package on a x86_64 machine unsuccessfully. To build a netxms agent package in a Centos/RHEL box we must take following steps:

1.- First all, we must install a minimal packages if not installed yet. The rpm-build package contains the scripts and executable programs that are used to build packages using the RPM Package Manager:
   # /usr/bin/yum -y install gcc* automake* autoconf* gnupg rpm-build

2.-  Create a new "dummy user" specifically for building rpm packages. That way, if something goes terribly wrong, the program or build process can't trash our files. At the very least, no one should build packages as root. Create a new unprivileged user is essential since building RPMs as root might damage our system. To create a new unprivileged user named "makerpm":
   # /usr/sbin/useradd makerpm

3.- Once we have logged in as the user who is creating packages, we must create the RPM building environment:
   # su makerpm
   # mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}

4.- To build rpms, we need to have a .rpmmacros file in our home directory which configures our build tree location. We must create a "~/.rpmmacros" file:
Quote
cat <<'EOF' > ~/.rpmmacros
%_topdir %(echo $HOME)/rpmbuild
%debug_package %{nil}
%packager Ignacio Martín
%distribution NetXMS
%vendor www.netxms.org
%_tmppath %{_topdir}/tmp
%_builddir %{_tmppath}
%_rpmtopdir %{_topdir}
%_sourcedir %{_rpmtopdir}/SOURCES
%_specdir %{_rpmtopdir}
%_rpmdir %{_topdir}/RPMS
%_srcrpmdir %{_topdir}/SRPMS
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
EOF

5.- Now, we must download netxms sources in the "~/rpmbuild/SOURCES" directory.
   # cd  ~/rpmbuild/SOURCES/
   # wget https://www.netxms.org/download/netxms-1.1.5.tar.gz

6.- Create a ".spec" file in the "~/rpmbuild/SPECS" directory and call it "netxms-1.1.5.spec". At the heart of the rpm building process is the .spec file. It governs how a package is configured, what patches are applied, what files will be installed and where they'll be installed, and what system-level activity needs to take place before and after a package is installed. After a hard work I have created a complete .spec file which I attach it.

7.- Once we have create a spec file, say "netxms-1.1.5.spec", we must create source and binary RPMs by simply running these commands:
   # cd ~/rpmbuild/SPECS/
   # rpmbuild -ba netxms-1.1.5.spec


So far so good, but I get a permission error during make process because makerpm have not permission for move system x64 files:

Quotelibtool: install: warning: remember to run `libtool --finish /usr/lib64/netxms'
make  install-exec-hook
make[6]: Entering directory `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents/portCheck'
if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE= ar x /usr/lib64/netxms/portcheck.a /usr/lib64/netxms/portcheck.so ; rm -f /usr/lib64/netxms/portcheck.a ; fi
mv /usr/lib64/netxms/portcheck.so /usr/lib64/netxms/portcheck.nsm
mv: cannot move `/usr/lib64/netxms/portcheck.so' to `/usr/lib64/netxms/portcheck.nsm': Permission denied
make[6]: *** [install-exec-hook] Error 1

Always I've compiled my netxms agents as root so I never got this error, but when trying to compile it with a unprivileged user also I get permission denied in the same way.

Best regards.
#71
General Support / Failed to load agent's registry
October 06, 2011, 01:46:24 PM
Hi!

I've found this error log when starting netxms 1.1.5 agent in Centos/RHEL systems:

Quote[06-Oct-2011 12:35:46] Failed to load agent's registry from file /var/opt/netxms/agent/registry.dat
[06-Oct-2011 12:35:46] Failed to save agent's registry to file /var/opt/netxms/agent/registry.dat: No such file or directory


Best regards.
#72
General Support / Re: Unable to delete object message
October 06, 2011, 01:41:41 PM
This message continues indefinitely until I restart the server.

Best regards.
#73
General Support / Unable to delete object message
October 05, 2011, 01:00:36 PM
Hi again.

How can I solve for this persistent message in server log file?
[05-Oct-2011 11:50:11] * Syncer * Unable to delete object with id 19373 because it is being referenced 5 time(s)
[05-Oct-2011 11:51:11] * Syncer * Unable to delete object with id 19373 because it is being referenced 5 time(s)
[05-Oct-2011 11:52:11] * Syncer * Unable to delete object with id 19373 because it is being referenced 5 time(s)
[05-Oct-2011 11:53:11] * Syncer * Unable to delete object with id 19373 because it is being referenced 5 time(s)
[05-Oct-2011 11:54:11] * Syncer * Unable to delete object with id 19373 because it is being referenced 5 time(s)
[05-Oct-2011 11:55:11] * Syncer * Unable to delete object with id 19373 because it is being referenced 5 time(s)
[05-Oct-2011 11:56:11] * Syncer * Unable to delete object with id 19373 because it is being referenced 5 time(s)


Best regards.
#74
Feature Requests / Re: New java console
October 05, 2011, 11:06:15 AM
Quotebecause object tree in Java console supports multiple selection, so you can just select many objects in the tree and do manage/unmanage/delete at once.

Wow, I did not know.

Best regards.
#75
Thank you Victor.
It seems all work fine now.

Best regards.