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

Topics - terefang

#1
Feature Requests / Sever Command Json Output as Table
October 07, 2016, 04:12:32 PM
hello

would it be possible to display the output of a (object tools) server command as a table

the actual output would be in "json" like so:


{
  head: [ "Header 1", ..., "Header N"],
  data: [
    [ "cell 1", ..., "cell N" ], // row 1
    ....
    [ "cell 1", ..., "cell N" ] // row N
  ]
}



would be a "quick win"
#2
General Support / Installing/Building on CentOS 5/6/7
October 04, 2016, 02:51:59 PM
giving back to the community ...

install


yum -y groupinstall 'Development Tools'
yum -y install openldap-devel expat-devel zlib-devel mysql-devel sqlite-devel


here is a rpm spec file verfied to build under CentOS 5+6+7:

Name:           netxms
Version:        2.0.6
Release:        1.el5
Summary:        NETXMS

Group:          NETXMS
License:        GPLv2+
URL:            NETXMS
Source0:        netxms-2.0.6.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: tar
BuildRequires: gzip
BuildRequires: curl
BuildRequires: jdk
BuildRequires: openldap-devel
BuildRequires: expat-devel
BuildRequires: zlib-devel
BuildRequires: mysql-devel
BuildRequires: sqlite-devel
#BuildRequires: postgresql-devel

Requires: openldap-libs
Requires: expat
Requires: sqlite
Requires: mysql-libs

%description
NETXMS

%prep
%setup -q
./configure \
--prefix=/opt/netxms \
--enable-unicode \
--with-server \
--with-client \
--with-client-proxy \
--with-sdk \
--with-agent \
--with-snmp \
--with-sqlite \
--with-mysql


%build
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir %{buildroot}/opt/netxms/sbin/
cp contrib/startup/redhat/netxmsd %{buildroot}/opt/netxms/sbin/


%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc
/opt/netxms/

%changelog