Quote from: Victor Kirhenshtein on September 28, 2016, 06:06:29 PMCode Select
print session.queryParameter(178, DataCollectionObject.SNMP, ".1.3.6.1.2.1.1.1.0")
is there any way to add snmp-context to this ?
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 MenuQuote from: Victor Kirhenshtein on September 28, 2016, 06:06:29 PM
print session.queryParameter(178, DataCollectionObject.SNMP, ".1.3.6.1.2.1.1.1.0")
Quote from: Dalamar_X23 on October 20, 2015, 08:47:22 PM
Thanks very much, it is great if it can make it to 2.0!
{
head: [ "Header 1", ..., "Header N"],
data: [
[ "cell 1", ..., "cell N" ], // row 1
....
[ "cell 1", ..., "cell N" ] // row N
]
}
Copyright (c) 2016, Alfred Reibenschuh
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
yum -y groupinstall 'Development Tools'
yum -y install openldap-devel expat-devel zlib-devel mysql-devel sqlite-devel
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