GithubHelp home page GithubHelp logo

mickem / nscp Goto Github PK

View Code? Open in Web Editor NEW
235.0 44.0 91.0 31.85 MB

NSClient++

Home Page: http://nsclient.org

License: GNU General Public License v2.0

Shell 0.31% CMake 3.30% Perl 0.01% Python 14.14% C++ 75.33% Makefile 0.22% C 2.93% C# 0.26% PowerShell 0.03% Lua 0.40% HTML 0.02% CSS 0.01% JavaScript 0.74% Batchfile 0.12% M4 0.25% Dockerfile 0.07% TypeScript 1.06% Starlark 0.18% VBScript 0.62%

nscp's Introduction

NSClient++

Stable 0.4.4: Build Status

Master: Build Status

NSClient++ (nscp) aims to be a simple yet powerful and secure monitoring daemon. It was built for Nagios/Icinga, but nothing in the daemon is Nagios/Icinga specific and it can be used in many other scenarios where you want to receive/distribute check metrics.

The daemon has 3 main functions:

  • Allow a remote machine (monitoring server) to request commands to be run on this machine (the monitored machine) which return the status of the machine.
  • Submit the same results to a remote (monitoring server).
  • Take action and perform tasks.

NSClient++ can be found at: http://nsclient.org

Documentation can be found at: http://docs.nsclient.org

Extending NSClient++

NSClient++ is designed to be open ended and allow you to customize it in any way you design thus extensibility is a core feature.

  • ExternalScripts responds to queries and are executed by the operating system and the results are returned as-is. This is generally the simplest way to extend NSClient++ as you can utilize whatever infrastructure or skill set you already have.
  • LuaScripts are internal scripts which runs inside NSClient++ and performs various tasks and/or responds to queries. This is the best option if you want to allow the script to run on any platform with as little infrastructure as possible.
  • PythonScripts are internal scripts which runs inside NSClient++ and performs various tasks and/or responds to queries. Python is an easy and powerful language but it requires you to also install python which is often not possible on server hardware.
  • .Net modules similar to Native modules below but written on the dot-net platform. This allows you to write components on top of the large dot-net ecosystem.
  • Modules are native plugins which can extend NSClient++ in pretty much any way possible. This is probably the most complicated way but gives you the most power and control.

Talking to NSClient++

Since NSClient++ is meaningless by itself it also supports a lot of protocols to allow it to be used by a lot of monitoring solutions.

  • NRPE (Nagios Remote plugin Executor) is a Nagios centric protocol to collect remote metrics.
  • NSCA (Nagios Service Check Acceptor) is a Nagios centric protocol for submitting results.
  • NSCP is the native NSClient++ protocol (still under development)
  • dNSCP is a high performance distributed version of NSCP for high volume traffic.
  • NRDP is a replacement for NSCA.
  • check_mk is a protocol utilized by the check_mk monitoring system.
  • Syslog is a protocol primarily designed for submitting log records.
  • Graphite allows you do real-time graphing.
  • SMTP is more of a toy currently.

Supported OS/Platform

NSClient++ should run on the following operating systems:

  • Windows: From NT4 SP5 up to Windows 2012R2 and Windows 8.1
  • Linux: Debian, Centos and Ubuntu (and possibly others as well)
  • Win32, x64 as well as various Linux hardware as well.

nscp's People

Contributors

awiddersheim avatar bbigras avatar borgified avatar der-eismann avatar exchange12rocks avatar historicbruno avatar johanthoren avatar m-kraus avatar maikuolan avatar mathieuchateau avatar mickem avatar milandadok avatar realtw avatar rohlik avatar samuel-bf avatar tontonitch avatar xrstf avatar zyberpunker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nscp's Issues

Get overall disk usage of all drives/volumes with CheckDriveSize

It would be great if CheckDriveSize could output the total usage of all drives/volumes.
The status output could look something like this:

"OK: Overall disk usage: 44.9G, C:: Total: 79.7G - Used: 14G (17%) - Free: 65.7G (83%), D:: Total: 100G - Used: 30.9G (30%) - Free: 69.1G (70%)"

Warning and critical threshold could also be useful in some scenarios, where a total usage quote has been agreed with the system operator.

check_counter error

Hello.
I tried to use check_counter with 0.4.2.93 and that happened :c0000bc6: The data is not valid. The check is -c checkcounter -a "Counter:disk_queue=\Physicaldisk(_total)\Avg. Disk Queue Length"
Same check on 0.4.1.90 works fine.
Another problem is that I am Polish and our systems use localized counter names. Unfortunately, ./check_nrpe -H HOST&PORT -c checkcounter -a "Counter:disk_queue=\Dysk fizyczny(_Total)\Średnia długość kolejki dysku" returns c0000bb8: The specified object was not found on the computer. And I have no idea how to craft a proper query.
Indexed counters would be an excellent solution, but not all indexes are valid. For example, citing the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\ keys with indexed counters :
I can query the \234(_total)\198 (physicaldisk\Current Disk Queue Length) but not \234(_total)\1400 (physdisk\Avg. Disk Queue Length) - which gives more usefull information. Error is Counter not found: \234(_total)\1400: -1073738823.

Missing install instructions for Linux

Can we have an up-to-date guide on how to get NSClient running on Linux from a clean operating system install ?

(Any platform, I am on Ubuntu 14.04)

I tried following http://docs.nsclient.org/manual/build.html for building on Linux and it seems this guide is fairly out of date. and it fails with:

error CS0006: Metadata file 'NSCP.Core.dll' could not be found

Much appreciated!

Trying to install NSCP-0.4.3.65-1.x86_64.rpm on CentOS 6.5

I'm not sure if you are supporting CentOS 6.5 or not so I'm posting here (FYI CentOS 7.0 installs fine with RPM).

Basically I'm getting dependency issues when try to install. Here are all my steps:

[root@centos06 ~]# cd /tmp
[root@centos06 tmp]# wget http://files.nsclient.org/beta/NSCP-0.4.3.65-1.x86_64.rpm
--2014-12-12 22:13:28--  http://files.nsclient.org/beta/NSCP-0.4.3.65-1.x86_64.rpm
Resolving files.nsclient.org... 108.162.202.46, 108.162.201.46
Connecting to files.nsclient.org|108.162.202.46|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48934868 (47M) [application/x-redhat-package-manager]
Saving to: `NSCP-0.4.3.65-1.x86_64.rpm'

100%[========================================================================================================>] 48,934,868  1.26M/s   in 39s     

2014-12-12 22:14:07 (1.20 MB/s) - `NSCP-0.4.3.65-1.x86_64.rpm' saved [48934868/48934868]

[root@centos06 tmp]# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
--2014-12-12 22:14:48--  http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving download.fedoraproject.org... 67.203.2.67, 140.211.169.197, 213.175.193.206, ...
Connecting to download.fedoraproject.org|67.203.2.67|:80... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: http://epel.mirror.digitalpacific.com.au/6/x86_64/epel-release-6-8.noarch.rpm [following]
--2014-12-12 22:14:49--  http://epel.mirror.digitalpacific.com.au/6/x86_64/epel-release-6-8.noarch.rpm
Resolving epel.mirror.digitalpacific.com.au... 101.0.101.66, 2401:fc00:0:20e::2
Connecting to epel.mirror.digitalpacific.com.au|101.0.101.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14540 (14K) [application/x-rpm]
Saving to: `epel-release-6-8.noarch.rpm'

100%[========================================================================================================>] 14,540      --.-K/s   in 0.04s   

2014-12-12 22:14:49 (348 KB/s) - `epel-release-6-8.noarch.rpm' saved [14540/14540]

[root@centos06 tmp]# yum -y install epel-release-6-8.noarch.rpm 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.digitalpacific.com.au
 * extras: centos.mirror.digitalpacific.com.au
 * updates: centos.mirror.digitalpacific.com.au
Setting up Install Process
Examining epel-release-6-8.noarch.rpm: epel-release-6-8.noarch
Marking epel-release-6-8.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================
 Package                            Arch                         Version                     Repository                                      Size
==================================================================================================================================================
Installing:
 epel-release                       noarch                       6-8                         /epel-release-6-8.noarch                        22 k

Transaction Summary
==================================================================================================================================================
Install       1 Package(s)

Total size: 22 k
Installed size: 22 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : epel-release-6-8.noarch                                                                                                        1/1 
  Verifying  : epel-release-6-8.noarch                                                                                                        1/1 

Installed:
  epel-release.noarch 0:6-8                                                                                                                       

Complete!
[root@centos06 tmp]# yum -y install NSCP-0.4.3.65-1.x86_64.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                              | 3.3 kB     00:00     
 * base: mirror.rackcentral.com.au
 * epel: epel.mirror.digitalpacific.com.au
 * extras: mirror.rackcentral.com.au
 * updates: mirror.rackcentral.com.au
epel                                                                                                                       | 4.4 kB     00:00     
epel/primary_db                                                                                                            | 6.4 MB     00:05     
Setting up Install Process
Examining NSCP-0.4.3.65-1.x86_64.rpm: nscp-0.4.3.65-1.x86_64
Marking NSCP-0.4.3.65-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nscp.x86_64 0:0.4.3.65-1 will be installed
--> Processing Dependency: boost-filesystem for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: boost-program-options for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: boost-thread for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: protobuf for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_date_time-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_filesystem-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_python-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_regex-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_system-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_thread-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libcryptopp.so.6()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libprotobuf.so.8()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Running transaction check
---> Package boost-filesystem.x86_64 0:1.41.0-25.el6 will be installed
--> Processing Dependency: boost-system = 1.41.0-25.el6 for package: boost-filesystem-1.41.0-25.el6.x86_64
--> Processing Dependency: libboost_system.so.5()(64bit) for package: boost-filesystem-1.41.0-25.el6.x86_64
--> Processing Dependency: libboost_system-mt.so.5()(64bit) for package: boost-filesystem-1.41.0-25.el6.x86_64
---> Package boost-program-options.x86_64 0:1.41.0-25.el6 will be installed
---> Package boost-thread.x86_64 0:1.41.0-25.el6 will be installed
---> Package cryptopp.x86_64 0:5.6.2-2.el6 will be installed
---> Package nscp.x86_64 0:0.4.3.65-1 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_date_time-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_filesystem-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_python-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_regex-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_system-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_thread-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libprotobuf.so.8()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
---> Package protobuf.x86_64 0:2.3.0-8.el6 will be installed
--> Running transaction check
---> Package boost-system.x86_64 0:1.41.0-25.el6 will be installed
---> Package nscp.x86_64 0:0.4.3.65-1 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_date_time-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_filesystem-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_python-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_regex-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_system-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libboost_thread-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libprotobuf.so.8()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: nscp-0.4.3.65-1.x86_64
--> Finished Dependency Resolution
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libboost_thread-mt.so.1.53.0()(64bit)
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libprotobuf.so.8()(64bit)
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libboost_date_time-mt.so.1.53.0()(64bit)
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libboost_filesystem-mt.so.1.53.0()(64bit)
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libboost_system-mt.so.1.53.0()(64bit)
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libboost_program_options-mt.so.1.53.0()(64bit)
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libpython2.7.so.1.0()(64bit)
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libboost_regex-mt.so.1.53.0()(64bit)
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)
           Requires: libboost_python-mt.so.1.53.0()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

"make test" returns 0 even if tests are failing

As per make tradition, it would be nice if make test would return a non-zero output if any of the internal components are failing.

Currently there is one test failing, but make test still returns ok status.

Running tests...
Test project /home/travis/build/palli/nscp/tmp
    Start 1: nsca
1/6 Test #1: nsca .............................   Passed  237.10 sec
    Start 2: nrpe
2/6 Test #2: nrpe .............................   Passed    0.32 sec
    Start 3: lua_nrpe
3/6 Test #3: lua_nrpe .........................***Failed    0.01 sec
    Start 4: python
4/6 Test #4: python ...........................   Passed   30.38 sec
    Start 5: expression_parser_test
5/6 Test #5: expression_parser_test ...........   Passed    0.01 sec
    Start 6: nscp_test
6/6 Test #6: nscp_test ........................   Passed    0.01 sec
83% tests passed, 1 tests failed out of 6
Total Test time (real) = 267.86 sec
The following tests FAILED:
      3 - lua_nrpe (Failed)
Errors while running CTest
make: *** [test] Error 8
Done. Your build exited with 0.

Inconsistent formatting of ok indicator in status line

In 0,4,3,69:
It seems inconsistent how "ok" is printed in the status line versus "warning"/"critical" (the colon and space).
Note: Personally would prefer that the word "ok" and parens were omitted when the value is ok; to avoid noise in the common case where everything is okay.

          checkMem MinWarn=10G MinCrit=512M ShowAll=long type=physical type=page
Got       WARNING: WARNING: warning(physical = 3.93GB), ok: (committed = 3.782GB)
Expected  WARNING: WARNING: warning(physical = 3.93GB), ok(committed = 3.782GB)
Prefer    WARNING: WARNING: warning(physical = 3.93GB), committed = 3.782GB

Bad values with checkMem version 4.2.93 and ...

Hello,

I try to check the Memory (RAM) of my computer. I had tried with version 4.2.88, 4.2.93, 4.2.94 and 4.3.9 and all of them gives me a bad value with the checkMem test for the total physical memory. Only the 4.1.105 gives me the good value.

My computer has 3.83GB of RAM.

Here is an exemple with version 4.1.105 :
[root@ plugins]# ./check_nrpe -H 192.168.34.153 -c checkmem -a MinWarn=350M MinCrit=200M ShowAll=long type=physical
OK: physical memory: Total: 3.83G - Used: 2.51G (65%) - Free: 1.32G (35%)|'physical memory %'=35%;91;94 'physical memory'=2569.156M;350;200;0;3920.313
We can see "OK: physical memory: Total: 3.83G "

Here is an exemple with version 4.2.93 :
[root@ plugins]# ./check_nrpe -H 192.168.34.153 -c checkmem -a MinWarn=350M MinCrit=200M ShowAll=long type=physical
CRITICAL: physical = 2.55GB|'physical'=2GB;13;7;0;3 'physical %'=66%;350;200;0;100
We can see "CRITICAL: physical = 2.55GB" and not 3.83 GB

There is perhaps a link with the ticket 727 (http://nsclient.org/nscp/ticket/727).

Thanks for your help.
Regards,
P. Renault

Check_WMI formatting performance data

Hello.
I would like to use check_WMI to check some performance counters. Please don't suggest using check_pdh - I will report my problems with it in another issue.
The check runs fine and returns correct values but I am unable to configure the performance output. If for example I ask for avg disk queue length od physical disks, the result is as follows :
Avg Disk Queue:OK|'AvgDiskQueueLength'=0;0;2 'AvgDiskQueueLength'=0;0;2 'AvgDiskQueueLength'=0;0;2 'AvgDiskQueueLength'=0;0;2 'AvgDiskQueueLength'=0;0;2 'AvgDiskQueueLength'=0;0;2
Every instance returns the same key and the documentation is unclear on how to change the performance syntax. Maybe it would be better to state the property(instance) by default (apart of completing the functionality to change it and docs) ?

CheckDriveSize showing used space being enormous

Hi Micke,
I got a weird issue with checking a remote drive located on some DFS and storage.

Versions: 0.4.1.90 (output below) and 0.3.9.330

The used space shown is enormous, see here:

> nscp test
CheckDriveSize ShowAll=long MinWarnFree=20% MinCritFree=10% Drive=//Nasprod21/store$/stash
d rvice\NSClient++.cpp:960 Injecting: checkdrivesize...
d rvice\NSClient++.cpp:985 Result checkdrivesize: OK
l ce\simple_client.hpp:80 OK:OK: //Nasprod21/store$/stash: Total: 150G - Used: 1.64e+004P (114532097%) - Free: 696G (18446744073595019619%)
l ce\simple_client.hpp:82 Performance data: '//Nasprod21/store$/stash %'=4180435299%;20;10 '//Nasprod21/celadmin462$/git_stashp'=17179868638.46999G;30;15;0;150

Other parts of that DFS work just fine.

Could you give me a tip how to debug that?

Cheers
Markus

Temporarily prevent loading of a module without changing nsclient.ini

I would like to be able to prevent the loading of a module, especially Scheduler, from the command line.
This is because Scheduler generates too much output that clutters interaction with test mode and sends passive checks in duplicate with an already running NSClient instance using the same config file.
I would like to do this without editing nsclient.ini, so that it is easy to troubleshoot an installed (and possibly even running NSClient).
I am aware of ability to run queries from the command line, but I'm encountering too many bugs and limitations versus test mode.

Example:

nscp.exe test --nomodule Scheduler

[check_drivesize] attribute 'size' not working

Hi,

I use nsclient 0.4.2.94 and i have the following errors:

/usr/lib/nagios/plugins/check_centreon_nrpe -H xxxx -p 5666 -t 30 -u -c check_drivesize -a "drive=_" "perf-config=free(unit:B)free %(ignored:true)" "filter=type = 'fixed' and name not regexp '._System Reserved.*'" "warning=(drive regexp 'C:.' and total_free<2G) or (drive not regexp 'C:.' and total_free<5G)" "critical=(drive regexp 'C:.' and total_free<1G) or (drive not regexp 'C:.' and size<50G and total_free<2G) or (drive not regexp 'C:.' and size>50G and total_free<5G)"
Filter processing failed (see log for details)

I have done some test and the problem comes from 'size'. Maybe the doc is wrong and it's not the good attribute to get disk total size.

Best regards,

Can't use check_nrpe without -n flag with ssl=false configuration

Hello,

I tested the nsclient version 0.4.3.40. In the install process, I used "insecure legacy mode". The version of nagios is 3.4.4. I have problem with the check_nrpe command. For example, with -n flag, i had:
[root@ plugins]# ./check_nrpe -H 192.168.34.153 -n
I (0,4,3,40 2014-09-11) seem to be doing fine...

But whitout -n flag, I had:
[root@ plugins]# ./check_nrpe -H 192.168.34.153
CHECK_NRPE: Socket timeout after 10 seconds.

I tested with ssl=false and ssl=true in nslient.ini file and it gave always the same behaviour.

Regards,
Patricia Renault
PS : Thanks for checkMem. It is ok with percentage but I can not use it with value as 500M (I have the feeling it does not take into account the unit and always consider the value as a percentage).

lua unit test error

I'm trying to compile nscp on Debian Wheezy, with the master branch I'm getting following error:

      Start  1: nsca_none
 1/23 Test  #1: nsca_none ........................   Passed   14.02 sec
      Start  2: nsca_xor
 2/23 Test  #2: nsca_xor .........................   Passed   11.91 sec
      Start  3: nsca_des
 3/23 Test  #3: nsca_des .........................   Passed   15.04 sec
      Start  4: nsca_3des
 4/23 Test  #4: nsca_3des ........................   Passed   20.13 sec
      Start  5: nsca_cast128
 5/23 Test  #5: nsca_cast128 .....................   Passed   15.30 sec
      Start  6: nsca_xtea
 6/23 Test  #6: nsca_xtea ........................   Passed   15.06 sec
      Start  7: nsca_blowfish
 7/23 Test  #7: nsca_blowfish ....................   Passed   10.07 sec
      Start  8: nsca_twofish
 8/23 Test  #8: nsca_twofish .....................   Passed   15.05 sec
      Start  9: nsca_rc2
 9/23 Test  #9: nsca_rc2 .........................***Exception: Other  0.01 sec
nscp: /usr/include/boost/unordered/detail/unique.hpp:664: void boost::unordered::detail::table_impl<Types>::rehash_impl(std::size_t) [with Types = boost::unordered::detail::map<std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> > >, std::basic_string<char>, std::basic_string<char>, boost::hash<std::basic_string<char> >, std::equal_to<std::basic_string<char> > >; std::size_t = long unsigned int]: Assertion `this->size_' failed.

      Start 10: nsca_aes
10/23 Test #10: nsca_aes .........................   Passed   10.00 sec
      Start 11: nsca_aes256
11/23 Test #11: nsca_aes256 ......................   Passed   10.01 sec
      Start 12: nsca_aes192
12/23 Test #12: nsca_aes192 ......................   Passed    9.81 sec
      Start 13: nsca_aes128
13/23 Test #13: nsca_aes128 ......................   Passed   10.62 sec
      Start 14: nsca_serpent
14/23 Test #14: nsca_serpent .....................   Passed   20.01 sec
      Start 15: nsca_gost
15/23 Test #15: nsca_gost ........................   Passed   20.05 sec
      Start 16: nsca_3way
16/23 Test #16: nsca_3way ........................   Passed   10.04 sec
      Start 17: nrpe
17/23 Test #17: nrpe .............................   Passed    0.26 sec
      Start 18: lua_nrpe
18/23 Test #18: lua_nrpe .........................***Failed    0.02 sec
E       core Function not found: NSCAPIJson2Protobuf
                    /root/nsclient-deb-packaging/nscp/service/core_api.cpp:249
E       core Function not found: NSCAPIProtobuf2Json
                    /root/nsclient-deb-packaging/nscp/service/core_api.cpp:249
E       core Function not found: NSCAPIJson2Protobuf
                    /root/nsclient-deb-packaging/nscp/service/core_api.cpp:249
E       core Function not found: NSCAPIProtobuf2Json
                    /root/nsclient-deb-packaging/nscp/service/core_api.cpp:249
E       core Function not found: NSCAPIJson2Protobuf
                    /root/nsclient-deb-packaging/nscp/service/core_api.cpp:249
E       core Function not found: NSCAPIProtobuf2Json
                    /root/nsclient-deb-packaging/nscp/service/core_api.cpp:249
E       core Function not found: NSCAPIJson2Protobuf
                    /root/nsclient-deb-packaging/nscp/service/core_api.cpp:249
E       core Function not found: NSCAPIProtobuf2Json
                    /root/nsclient-deb-packaging/nscp/service/core_api.cpp:249
E       nrpe Failed to load CA /root/nsclient-deb-packaging/tmp/security/ca.pem: No such file or directory
                    /root/nsclient-deb-packaging/nscp/include/socket/server.hpp:136
E       nrpe Failed to bind: Address already in use
                    /root/nsclient-deb-packaging/nscp/include/socket/server.hpp:201
E       nrpe Failed to setup endpoint
                    /root/nsclient-deb-packaging/nscp/include/socket/server.hpp:149
E       nrpe Failed to load CA /root/nsclient-deb-packaging/tmp/security/ca.pem: No such file or directory
                    /root/nsclient-deb-packaging/nscp/include/socket/server.hpp:136
E       nrpe Failed to bind: Address already in use
                    /root/nsclient-deb-packaging/nscp/include/socket/server.hpp:201
E       nrpe Failed to setup endpoint
                    /root/nsclient-deb-packaging/nscp/include/socket/server.hpp:149
<NOT_A_STRING:0>
Failed to handle command: lua_unittest: ...nsclient-deb-packaging/tmp/scripts/lua/test_nrpe.lua:121: attempt to index global 'protobuf' (a nil value)|

      Start 19: python
19/23 Test #19: python ...........................   Passed   30.11 sec
      Start 20: external_script
20/23 Test #20: external_script ..................***Exception: SegFault  0.00 sec

      Start 21: expression_parser_test
21/23 Test #21: expression_parser_test ...........   Passed    0.00 sec
      Start 22: perfconfig_parser_test
22/23 Test #22: perfconfig_parser_test ...........   Passed    0.00 sec
      Start 23: nscp_test
23/23 Test #23: nscp_test ........................   Passed    0.00 sec

I'm using protobuf-2.4.1

Installation problem version 0.4.3.21

Hello,
I have the following error when I tried to install nsclient++ version 0.4.3.21:
"Service 'nscp' (nscp) failed to start. Verify that you have sufficient privilèges to start. Verify that you have sufficient privileges to start system services."
I have tried as a simple user, with a cmd with administrator rights and as administrator of the computer. All of these 3 tests give the same error.
Regards,
Patricia Renault

0.4.3.20 client -q does not work

Strange output. Examples below related to CPU check, but I haven't gotten valid output from any query that I have tried.

Command: nscp.exe client -q checkCPU
Output:

|

Commands: nscp.exe client -q check_cpu
Output:

E  w32system Failed to get Mutex for: cput
                    D:\source\nscp\modules\CheckSystem\pdh_thread.cpp:262

Server 2012 port 12489 does not work but 5666 does on version 0.4.2

We have a number of Server 2012 and 2012 SP1 boxes. nsclient works on all but one. One that one, port 12489 did not bind until we installed the 0.4.2 version which fixed the bind problem. FYI I have version (0,4,2,93)

But I'm still not getting connected to port 12489 but am getting connected to port 5666. netstat -a on the Windows 2012 box shows the following binding for the two ports. The box has two IP address which is probably why the two instances of TCP4 per port were bound.

Proto Local Address Foreign Address State
TCP 0.0.0.0:5666 SRWC-BDC1:0 LISTENING
TCP 0.0.0.0:5666 SRWC-BDC1:0 LISTENING
TCP 0.0.0.0:12489 SRWC-BDC1:0 LISTENING
TCP 0.0.0.0:12489 SRWC-BDC1:0 LISTENING

TCP [::]:5666 SRWC-BDC1:0 LISTENING
TCP [::]:12489 SRWC-BDC1:0 LISTENING

telnet from a linux box to this server on 5666 gets connected but does not on 12489.

I tried
[/settings/default]
bind to = (the explicit IP address I want)

netstat -a shows the bind worked with both ports listening on the specified IP address but telnet still fails as before.

I'd be happy to run some debugging on that box with some guidance from you about which debugger is needed and how to get it running.

proposal/wish-list for help-rest (command help in json format)

Not sure if Issue tracker is the best place for this but i know there are thoughts about nsclient command help in a json format.

I'm not a big fan of reinventing the wheel, so i took a look at the only example i remember which was shell scripts from redhat cluster suite that generate their own help pragmatically that can be used by the web interface. After looking at them i propose the following format:

{
    "command_name": "XXX",
    "parameters": [
        {
            "default_value": "XXX",
            "name": "XXX",
            "required": false,
            "repeatable": false,
            "content_type": "string",
            "short_description": "XXX",
            "long_description": "XXX"
        }
    ]
}

For me, the exact format is not important, but rather that these keys mentioned are present (especially non-obvious keys like repeatable=True/False which means an argument can be specified several times).

I'll post a real-life example below.

Few thoughts:

  • Very need idea to also list all available commands with a similar syntax.

CheckProcState brings wrong Results

I have installed 0,4,2,88 on Win 2008R2 and use the statement
check_nrpe -H host -c CheckProcState -a MinWarnCount=1 MinCritCount=0 namgr.exe=started. The result: WARNING: namgr.exe : 0|'count'=2;1;0 - and this is wrong, certainly I must get an OK.
With the last install 0,4,0,183 everything was fine. What is wrong now or is it a bug?

I try also check_nrpe -H host -c check_process -a process=namgr.exe --> OK: |'namgr.exe state'=1;0;0 'namgr.exe state'=1;0;0, but there is no really count.
And if I try: ./check_nrpe_w8k -H host -c check_process -a process=namgr.exe "warn=1" "crit=0" , I get only: OK:
How could I get an sensible result? How can I work with 'minwarncount / mincritcount' or 'maxwarncount / maxcritcount'
Manuela

NSClient 0.4.2.93 – Pb install on W2003 32bits

Hello

Actually , I use NSClient 0.3.9.323.
Since few month we have some W2012 server’s and I installed 0.4.2.x to monitor them.
I want to update NSClient 0.3.9 to 0.4.2 on other hosts but I have a problem on Windows 2003 32 bits without Service Pack.
I have the message “Le point d’entrée de procédure EncodePointer est introuvable dans le bibliothèque de liaisons dynamique KERNEL32.dll” when i install it.
I haven’t problem on W2003 32bits with SP2
I try to install NSClient 0.4.1.105 on this server and works fine.

regards,
cedric

nscp service on Linux

Is is possible to run nscp as a service on Linux systems? Is it planned for some future release?

0.4.2 check_cpu has not complete perfdata

Hi

In NSClient v0.4.2 the perfdata are not complete. It's missing min and max value for percent.

Perfdata should be:
'total 5m load'=0%;80;90;0;100 'total 1m load'=0%;80;90;0;100 'total 5s load'=7%;80;90;0;100

nscp web install, formatting errors in out

Got some strange output while running nscp web install, the items highlighted in bold could be bugs:

nscp web install

Exception caught: Settings has not been initiated!
Exception caught: Settings has not been initiated!
Enabling WEB from (currently not supported): 127.0.0.1
HTTP(s) is enabled using ${certificate-path}/certificate.pem and ${certificate-path}/certificate_key.pem.
Point your browser to: 8443s

In addition to that, seems like there was a problem with generating the certificate, since nscp is only listening on port 8080.

[root@centos7 ~]# netstat --tcp -lnp | grep nscp
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1650/nscp

Unknown exception on DotnetPlugins unload

On 0.4.3.65:
This seems minor, but unloading of plugins fails.
There are two Dotnet plugins to be unloaded.
Upon exit of test mode, an exception occurs after unload of one of the plugin and the second plugin is not attempted.
(I'm fairly confident the problem is not in my plugin's unload method, but if you can't reproduce this with your test plugin, I'll look further.)

D       core Attempting to stop all plugins
D       core Stopping all plugins
D       core Unloading plugin: CheckDisk.dll...
D       core Unloading plugin: CheckEventLog.dll...
D       core Unloading plugin: CheckExternalScripts.dll...
D       core Unloading plugin: CheckHelpers.dll...
D       core Unloading plugin: CheckNSCP.dll...
D       core Unloading plugin: CheckSystem.dll...
D       core Unloading plugin: DotnetPlugins.dll...
D            Unloading MyPluginNameHere
C     dotnet Unknown exception in: NSUnloadModule
D       core Unloading plugin: NSCAClient.dll...
D       core Unloading plugin: CommandClient.dll...
D       core Stopping: COM helper
D       core Stopping: Settings instance
Done

test_nrpe_lua is failing on current build

After liblua5.1-0-dev was brought in as a dependency of nscp, there is a unit test for it that is failing.

Not sure exactly why its failing, will build locally on my machine and look at the error output.

Counter problems with nsclient version 0.4.3.40

Hello,
Previously, we had a nsclient 0.4.1.105 with this alias:
alias_counter_disk_AvgTPR = CheckCounter "Counter:Disk_avg_time_read=\Disque physique(_Total)\Moyenne disque s/lecture" MaxWarn=50 MaxCrit=75
We installed the version 0.4.3.40 of nsclient and obtained for this alias, the following error:
Failed to poll counter: Disk_avg_time_read Failed to poll counter Disque physique(_Total)Moyenne disque s/lecture: c0000bc6: Les données ne sont pas valides. ;; The data is not valid

In the file nsclient.log, I had:
2014-10-13 09:52:43: error:D:\source\nscp\modules\CheckSystem\check_pdh.cpp:242: Exception in Failed to poll counter: Disk_avg_time_read Failed to poll counter \Disque physique(_Total)\Moyenne disque s/lecture: c0000bc6: Les données ne sont pas valides.

For information, this alias works:
alias_counter_dynmem_pressure = CheckCounter "Counter:Dyn_mem_pressure=\Mécanisme d’équilibrage de mémoire dynamique Hyper-V(*)\Pression moyenne" MaxWarn=95 MaxCrit=105

What's wrong with my alias ?

Regards,
Patricia Renault

Problem to retrieve counters

Hi,

I use NSClient 0.4.2-104.win32 on Windows 2003 Servers. I have the following errors when i try to retrieve a counter:
Failed to poll counter: Failed to initalize PdhAddEnglishCounter :(

In nsclient.log:
2014-10-08 13:39:52: error:D:\source\042\nscp\modules\CheckSystem\check_pdh.cpp:242: Exception in Failed to poll counter: Failed to initalize PdhAddEnglishCounter :(
2014-10-08 13:40:00: error:D:\source\042\nscp\include\socket/connection.hpp:135: Failed to read data: short read

There is a package to install on Windows ?

Check_multi result dependant on order, not severity of the commands

nsclient 0.4.2.93 configuration :
[/settings/external scripts/alias]
test1=check_drivesize drive=c: “warn=free<100G” “crit=free<40G”
test2=check_drivesize drive=s: “warn=free<24G” “crit=free<20G”
testx=check_multi command=test2 command=test1
testy=check_multi command=test1 command=test2

check :
./check_nrpe -H HOST -p 9280 -c check_multi -a “command=test1 test2”
OK , WARNING c:: 60.582GB/117.187GB used|’s: free’=610GB;24;20;0;1550 ‘s: free %’=39%;1;1;0;100 ‘c: free’=56GB;100;40;0;117 ‘c: free %’=48%;85;34;0;100
echo $?
1
./check_nrpe -H HOST -p 9280 -c check_multi -a “command=test2 test1”
WARNING c:: 60.582GB/117.187GB used, OK |’c: free’=56GB;100;40;0;117 ‘c: free %’=48%;85;34;0;100 ‘s: free’=610GB;24;20;0;1550 ‘s: free %’=39%;1;1;0;100
echo $?
0

testx and testy aliases return similar results

check_pagefile total not working

I always see 0 on the total item:

check_pagefile
L     client OK: OK:
L     client  Performance data: '\??\D:\pagefile.sys'=1GB;9;13;0;16 '\??\D:\pagefile.sys %'=6%;60;80;0;100 'total'=0B;0;0;0;0

I am using NSCP++ 0.4.2.93 x64 on Windows 2008 64bits.

CheckFiles - master-syntax %total% not working in 0,4,2,93 2014-04-22

./check_nrpe -H 192.168.207.1
I (0,4,2,93 2014-04-22) seem to be doing fine...

./check_nrpe -H 192.168.207.1 -t 30 -c CheckFiles -a path='C:\Program Files\NSClient++' pattern=. "master-syntax=%total% Files Found"
%total% Files Found

This should have been 111 Files Found. %total% is no longer working. Was working in 0.4.1.

NSClient++ – 0,4,2,93 pulling wrong numbers from performance counters

Hi, I’m trying to pull data from some performance counters with check_nt and whilst most of it seems ok, the numbers that are nice and round (like 70 ) seem to be loosing a 0 :

/usr/lib64/nagios/plugins/check_nt -H database1010 -v COUNTER -l “\LogicalDisk(D:\LG1015_Data)% Free Space”
which returns resilt of 7 (seven)

but i know that value of that particular counter is 70 ( i checked it out with perfmon )

when i add some files to change from round number (free space from 70 to 69 % ) it returns correct number :

/usr/lib64/nagios/plugins/check_nt -H database1010 -v COUNTER -l “\LogicalDisk(D:\LG1015_Data)% Free Space”
69

how to build docs?

I was wanting to add some more examples to the docs, but am having trouble figuring out how to do so.

I checked out the code from github into ~/nscp, went to the docs folder, and tried make html, but got this error:

    sphinx-build -b html -d build/doctrees   source build/html
    Error: Cannot find source directory `/home/ryepup/nscp/docs/source'.
    make: *** [html] Error 1

Poking around, I'm not sure how this project should be compiled; looks like there are windows batch files, perl scripts, python scripts, and cmake config.

How do I compile the documentation?

Compute warn/crit thresholds from criteria, regardless of used vs. free

This is low priority for me personally because I think I am going to switch us to using memory free graphs instead of memory used graphs. However, for those sticking with the used graphs:

Because it is useful for users to see the thresholds on graphs to assess current memory usage, this is a feature request to support the math so equivalent thresholds so they can always be put in the perfdata.
e.g., if the query is free perspective and the perfdata is used perspective, this requires subtraction from the total memory and then division by the total memory for the percentages.

On 0,4,3,69:

check_memory warn=free<=1G crit=free<=512M type=physical type=committed show-all "perf-conf=free(ignored:true)extra(used)"
L        cli OK: OK: ok: (physical = 4.092GB, committed = 3.944GB)
L        cli  Performance data: 'physical'=4.09207GB;0;0;0;11.88383 'physical %'=34%;0;0;0;100 'committed'=3.94395GB;0;0;0;27.88383 'committed %'=14%;0;0;0;100
Desired  cli  Performance data: 'physical'=4.09207GB;10.88383;11.38383;0;11.88383 'physical %'=34%;91;95;0;100 'committed'=3.94395GB;26.88383;27.38338;0;27.88383 'committed %'=14%;96;98;0;100

Hostname not present on NRDP

When i test a new version 0.4.2 i found a little problem on send NRDP:
the hostname is missing......

D nrdp



0
No message.

Feedback about version 0.4.3.22 and 0.4.3.23

Hello,

I tested NSClient versions 0.4.3.22 and 0.4.3.23.

Version 0.4.3.22 gives the same error as 0.4.3.21 during the intall process:
"Service 'nscp' (nscp) failed to start. Verify that you have sufficient privilèges to start. Verify that you have sufficient privileges to start system services."

The installation of version 0.4.3.23 is successfull but when I start nsclient++ service, I have the 2 following errors:
2014-09-01 09:44:06: error:D:\source\nscp\modules\NRPEServer\NRPEServer.cpp:123: Certificate not found: C:\Program Files\NSClient++/security/certificate.pem (generating a default certificate)
2014-09-01 09:44:06: error:D:\source\nscp\include\socket/server.hpp:136: Failed to load CA C:\Program Files\NSClient++/security/ca.pem: No such file or directory

Regards,
Patricia Renault

Create upgradeable MSI

It would be very helpful to have an MSI that uninstalls the old version and installs the new rather than installing an additional new version. This causes problems trying to automate management and upgrades via things like Puppet.

problem with checkmem with size value but OK with percentage - version 0.4.3.40

Hello,
I have a problem with checkmem command with size value. The following example seems OK:
[nagios@plugins]$ ./check_nrpe -H 192.168.34.14 -c checkmem -a MaxWarn=4800M MaxCrit=5000M ShowAll=long type=physical
OK: physical = 4.657GB|'physical'=4.65734GB;287.93627;299.93362;0;5.99867 'physical %'=77%;4800;5000;0;100

But when I decreases the MaxWarn value, I don't obtain a warning.
[nagios@plugins]$ ./check_nrpe -H 192.168.34.14 -c checkmem -a MaxWarn=4400M MaxCrit=5000M ShowAll=long type=physical
OK: physical = 4.662GB|'physical'=4.66169GB;263.94158;299.93362;0;5.99867 'physical %'=77%;4400;5000;0;100

Is it normal ?

Regards,
Patricia Renault
PS: Just for information, the following examples show the checkmem with percentage value. These examples seems OK.
[nagios@plugins]$ ./check_nrpe -H 192.168.34.14 -c checkmem -a MaxWarn=80% MaxCrit=90% ShowAll=long type=physical
OK: physical = 4.661GB|'physical'=4.66128GB;4.79893;5.3988;0;5.99867 'physical %'=77%;79;89;0;100
[nagios@plugins]$ ./check_nrpe -H 192.168.34.14 -c checkmem -a MaxWarn=75% MaxCrit=90% ShowAll=long type=physical
WARNING: physical = 4.662GB|'physical'=4.6617GB;4.499;5.3988;0;5.99867 'physical %'=77%;75;89;0;100

"make test" on linux hangs on nsca checks

Can you give me some guidelines for what is going on in the tests, is nsclient supposed to start an nsca server instance, or do i need something configured on my end ?

NSClient++ and Connection refused error

Hello:
I was informed to post here from the Nagios XI forum.

I am using the latest NSClient++-0.3.9.328 (64 bit) and have installed it successfully on a couple of Windows servers that were on the same VLAN:
Windows Server 2008 Standard (64 bit)
Windows Server 2008 R2 Enterprise (64 bit)

and then setup monitoring in Nagios XI 2014R1.5 using the Windows Server Wizard with no issues.

I then installed the client on about 4 different Windows servers, one in each different VLAN and with a different Windows OS version:
Windows Server 2012 Datacenter 64 bit
Windows 2008 R2 Enterprise SP1 64 bit

After the NSClient++ installs, I then setup monitoring for each of those servers using the Windows Server Wizard, but eventually the following errors appeared:
"connect to address and port 12489: Connection refused"

I found the following URL and read it, but it turned out that it was not the solution:
viewtopic.php?t=5970&p=26733

TROUBLESHOOTING:
1). I had my Network guy check the Firewall settings, and the monitoring server and all IPs in the different VLANs were allowed to communicate to each other with TCP and UDP port 12489.
2). I verified that regardless whether or not the local Windows firewall was on or off for the Domain, and that the exception for NSClient++ was allowed, that the problem was not a Windows firewall issue.

WHAT WAS THE COMMON ISSUE:
When I manually install the NSClient++ on a Windows server with my Domain Administrator credentials, UAC would prompt after I click "Install" and I would accept. Prior to installation completion, the client setup prompts to "Start service", and I check that option and then click "Finish".
It was found that the service did NOT actually start and I had to manually start the service in services.msc or run "net start NSClientpp" in a command window as Administrator!

Can anyone provide a way to have the service start when it's supposed to after checking that option when UAC is running?? If UAC allows the NSClient++ installer to install, why won't it allow the last part to start the service since it's still part of that install process??

Thank you.

Intallation problem version 0.4.3.32 and 0.4.3.47

Hello,
I tried to intall nsclient++ version 0.4.3.32 and 0.4.3.47. During the installation process, I have the following error:
There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor.

Can you help me to resolve this error ?

Thanks for your help.
Regards,
Patricia Renault

NSClient install on Ubuntu Server 14.04.1 fails during make

I followed the steps listed here:
http://www.nsclient.org/nscp/wiki/build/04x/linux

On a freshly deployed Ubuntu server using the following .ISO:
ubuntu-14.04.1-server-amd64.iso

It fails with:

�[0m[ 15%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/engine.cpp.o
�[0m[ 16%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/grammar/grammar.cpp.o
�[0mc++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions.
make[2]: * [libs/where_filter/CMakeFiles/where_filter.dir//**/include/parsers/where/grammar/grammar.cpp.o] Error 4
make[1]: *** [libs/where_filter/CMakeFiles/where_filter.dir/all] Error 2
make: *** [all] Error 2
�]0;user@ubuntu: /var/tmp/build�user@ubuntu:/var/tmp/build$

Here is the COMPLETE output showing all the steps I followed:

============ PuTTY log 2014.10.02 17:18:05 ============
login as: user
[email protected]'s password:
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic x86_64)

  • Documentation: https://help.ubuntu.com/

    System information as of Thu Oct 2 17:14:03 CDT 2014

    System load: 0.07 Processes: 262
    Usage of /: 10.3% of 18.32GB Users logged in: 0
    Memory usage: 9% IP address for eth0: 192.168.207.151
    Swap usage: 0%

    Graph this data and manage this system at:
    https://landscape.canonical.com/

Last login: Thu Oct 2 17:14:03 2014 from 192.168.207.1

�]0;user@ubuntu: �user@ubuntu:$ cd /tmp
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ du��[K��[K�sudo ls
[sudo] password for user:
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y git

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 1%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

git is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y build-essential
sudo apt-get install -y cmake
sudo apt-get install -y python python-dev
sudo apt-get install -y libssl-dev
sudo apt-get install -y libboost-all-dev
sudo apt-get install -y protobuf-compiler python-protobuf libprotobuf-dev
sudo apt-get install -y rst2pdf
sudo apt-get install -y python-sphinx
sudo apt-get install -y libcrypto++-dev libcrypto++
sudo apt-get install -y liblua5.1-0-dev
sudo apt-get install -y libgtest-dev

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y cmake

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

cmake is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y python python-dev

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

python is already the newest version.
python-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y libssl-dev

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

libssl-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y libboost-all-dev

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

libboost-all-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y protobuf-compiler python-protobuf l
ibprotobuf-dev

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

libprotobuf-dev is already the newest version.
protobuf-compiler is already the newest version.
python-protobuf is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y rst2pdf

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

rst2pdf is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y python-sphinx

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

python-sphinx is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y libcrypto++-dev libcrypto++

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Note, selecting 'libcryptokit-ocaml-dev' for regex 'libcrypto+'
Note, selecting 'libcrypto++8-dbg' for regex 'libcrypto+'
Note, selecting 'libcryptokit-ocaml-dev-niw89' for regex 'libcrypto+'
Note, selecting 'libcrypto++9-dbg' for regex 'libcrypto+'
Note, selecting 'libcryptokit-ocaml-niw89' for regex 'libcrypto+'
Note, selecting 'libcryptokit-ocaml' for regex 'libcrypto+'
Note, selecting 'libcrypto++-dev' for regex 'libcrypto+'
Note, selecting 'libcrypto++-doc' for regex 'libcrypto+'
Note, selecting 'libcrypto++9' for regex 'libcrypto+'
Note, selecting 'libcrypto++-utils' for regex 'libcrypto+'
Note, selecting 'libcryptokit-ocaml' instead of 'libcryptokit-ocaml-niw89'
Note, selecting 'libcryptokit-ocaml-dev' instead of 'libcryptokit-ocaml-dev-niw89'
libcrypto++-dev is already the newest version.
libcrypto++-doc is already the newest version.
libcrypto++-utils is already the newest version.
libcrypto++9 is already the newest version.
libcrypto++9-dbg is already the newest version.
libcryptokit-ocaml is already the newest version.
libcryptokit-ocaml-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y liblua5.1-0-dev

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

liblua5.1-0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ sudo apt-get install -y libgtest-dev

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

libgtest-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ pwd
/tmp
�]0;user@ubuntu: /tmp�user@ubuntu:/tmp$ cd /var/tmp
�]0;user@ubuntu: /var/tmp�user@ubuntu:/var/tmp$ pws��[Kd
/var/tmp
�]0;user@ubuntu: /var/tmp�user@ubuntu:/var/tmp$ git clone https://github.com/mickem/nscp.git
Cloning into 'nscp'...
remote: Counting objects: 18573, done.�[K
Receiving objects: 0% (1/18573)
Receiving objects: 1% (186/18573), 20.00 KiB | 23.00 KiB/s
Receiving objects: 1% (223/18573), 52.00 KiB | 33.00 KiB/s
Receiving objects: 2% (372/18573), 52.00 KiB | 33.00 KiB/s
Receiving objects: 2% (378/18573), 92.00 KiB | 39.00 KiB/s
Receiving objects: 3% (558/18573), 92.00 KiB | 39.00 KiB/s
Receiving objects: 4% (743/18573), 140.00 KiB | 48.00 KiB/s
Receiving objects: 4% (869/18573), 204.00 KiB | 59.00 KiB/s
Receiving objects: 5% (929/18573), 204.00 KiB | 59.00 KiB/s
Receiving objects: 5% (960/18573), 300.00 KiB | 65.00 KiB/s
Receiving objects: 5% (991/18573), 356.00 KiB | 68.00 KiB/s
Receiving objects: 5% (1001/18573), 420.00 KiB | 71.00 KiB/s
Receiving objects: 5% (1009/18573), 532.00 KiB | 86.00 KiB/s
Receiving objects: 5% (1013/18573), 636.00 KiB | 93.00 KiB/s
Receiving objects: 5% (1014/18573), 740.00 KiB | 85.00 KiB/s
Receiving objects: 5% (1019/18573), 804.00 KiB | 88.00 KiB/s
Receiving objects: 5% (1040/18573), 852.00 KiB | 86.00 KiB/s
Receiving objects: 5% (1046/18573), 972.00 KiB | 85.00 KiB/s
Receiving objects: 5% (1094/18573), 1.00 MiB | 84.00 KiB/s
Receiving objects: 5% (1099/18573), 1.09 MiB | 81.00 KiB/s
Receiving objects: 6% (1115/18573), 1.14 MiB | 83.00 KiB/s
Receiving objects: 6% (1125/18573), 1.18 MiB | 83.00 KiB/s
Receiving objects: 6% (1181/18573), 1.29 MiB | 85.00 KiB/s
Receiving objects: 6% (1222/18573), 1.35 MiB | 81.00 KiB/s
Receiving objects: 7% (1301/18573), 1.35 MiB | 81.00 KiB/s
Receiving objects: 7% (1375/18573), 1.41 MiB | 82.00 KiB/s
Receiving objects: 7% (1437/18573), 1.46 MiB | 83.00 KiB/s
Receiving objects: 8% (1486/18573), 1.52 MiB | 86.00 KiB/s
Receiving objects: 8% (1591/18573), 1.62 MiB | 86.00 KiB/s
Receiving objects: 8% (1656/18573), 1.73 MiB | 85.00 KiB/s
Receiving objects: 9% (1672/18573), 1.73 MiB | 85.00 KiB/s
Receiving objects: 9% (1683/18573), 1.79 MiB | 86.00 KiB/s
Receiving objects: 9% (1685/18573), 1.85 MiB | 90.00 KiB/s
Receiving objects: 9% (1685/18573), 1.96 MiB | 89.00 KiB/s
Receiving objects: 9% (1685/18573), 2.08 MiB | 90.00 KiB/s
Receiving objects: 9% (1685/18573), 2.14 MiB | 89.00 KiB/s
Receiving objects: 9% (1700/18573), 2.25 MiB | 89.00 KiB/s
Receiving objects: 9% (1744/18573), 2.31 MiB | 85.00 KiB/s
Receiving objects: 9% (1760/18573), 2.37 MiB | 86.00 KiB/s
Receiving objects: 9% (1762/18573), 2.47 MiB | 82.00 KiB/s
Receiving objects: 9% (1762/18573), 2.51 MiB | 81.00 KiB/s
Receiving objects: 10% (1858/18573), 2.57 MiB | 79.00 KiB/s
Receiving objects: 10% (1885/18573), 2.62 MiB | 80.00 KiB/s
Receiving objects: 10% (1949/18573), 2.68 MiB | 79.00 KiB/s
Receiving objects: 11% (2044/18573), 2.71 MiB | 80.00 KiB/s
Receiving objects: 11% (2069/18573), 2.77 MiB | 81.00 KiB/s
Receiving objects: 11% (2174/18573), 2.83 MiB | 79.00 KiB/s
Receiving objects: 12% (2229/18573), 2.83 MiB | 79.00 KiB/s
Receiving objects: 12% (2271/18573), 2.89 MiB | 80.00 KiB/s
Receiving objects: 12% (2312/18573), 3.00 MiB | 85.00 KiB/s
Receiving objects: 13% (2415/18573), 3.05 MiB | 83.00 KiB/s
Receiving objects: 13% (2418/18573), 3.09 MiB | 79.00 KiB/s
Receiving objects: 13% (2420/18573), 3.14 MiB | 77.00 KiB/s
Receiving objects: 13% (2428/18573), 3.26 MiB | 82.00 KiB/s
Receiving objects: 13% (2429/18573), 3.34 MiB | 86.00 KiB/s
Receiving objects: 13% (2431/18573), 3.38 MiB | 84.00 KiB/s
Receiving objects: 13% (2433/18573), 3.48 MiB | 88.00 KiB/s
Receiving objects: 13% (2444/18573), 3.63 MiB | 94.00 KiB/s
Receiving objects: 13% (2542/18573), 3.72 MiB | 100.00 KiB/s
Receiving objects: 14% (2601/18573), 3.78 MiB | 100.00 KiB/s
Receiving objects: 14% (2646/18573), 3.83 MiB | 104.00 KiB/s
Receiving objects: 15% (2786/18573), 3.83 MiB | 104.00 KiB/s
Receiving objects: 15% (2915/18573), 3.95 MiB | 109.00 KiB/s
Receiving objects: 16% (2972/18573), 3.95 MiB | 109.00 KiB/s
Receiving objects: 16% (3033/18573), 4.00 MiB | 107.00 KiB/s
Receiving objects: 17% (3158/18573), 4.10 MiB | 100.00 KiB/s
Receiving objects: 17% (3169/18573), 4.16 MiB | 99.00 KiB/s
Receiving objects: 17% (3273/18573), 4.26 MiB | 110.00 KiB/s
Receiving objects: 18% (3344/18573), 4.26 MiB | 110.00 KiB/s
Receiving objects: 18% (3488/18573), 4.38 MiB | 106.00 KiB/s
Receiving objects: 19% (3529/18573), 4.38 MiB | 106.00 KiB/s
Receiving objects: 19% (3694/18573), 4.43 MiB | 106.00 KiB/s
Receiving objects: 20% (3715/18573), 4.43 MiB | 106.00 KiB/s
Receiving objects: 20% (3830/18573), 4.55 MiB | 102.00 KiB/s
Receiving objects: 20% (3861/18573), 4.67 MiB | 106.00 KiB/s
Receiving objects: 20% (3864/18573), 4.72 MiB | 102.00 KiB/s
Receiving objects: 21% (3901/18573), 4.79 MiB | 97.00 KiB/s
Receiving objects: 21% (3915/18573), 4.84 MiB | 94.00 KiB/s
Receiving objects: 21% (3927/18573), 4.93 MiB | 93.00 KiB/s
Receiving objects: 21% (3931/18573), 5.05 MiB | 96.00 KiB/s
Receiving objects: 21% (3936/18573), 5.11 MiB | 96.00 KiB/s
Receiving objects: 21% (3938/18573), 5.28 MiB | 105.00 KiB/s
Receiving objects: 21% (3944/18573), 5.36 MiB | 109.00 KiB/s
Receiving objects: 21% (3946/18573), 5.49 MiB | 108.00 KiB/s
Receiving objects: 22% (4087/18573), 5.49 MiB | 108.00 KiB/s
Receiving objects: 22% (4256/18573), 5.57 MiB | 117.00 KiB/s
Receiving objects: 23% (4272/18573), 5.57 MiB | 117.00 KiB/s
Receiving objects: 24% (4458/18573), 5.66 MiB | 117.00 KiB/s
Receiving objects: 24% (4466/18573), 5.66 MiB | 117.00 KiB/s
Receiving objects: 25% (4644/18573), 5.79 MiB | 118.00 KiB/s
Receiving objects: 25% (4698/18573), 5.79 MiB | 118.00 KiB/s
Receiving objects: 25% (4820/18573), 5.95 MiB | 109.00 KiB/s
Receiving objects: 26% (4829/18573), 5.95 MiB | 109.00 KiB/s
Receiving objects: 27% (5015/18573), 5.95 MiB | 109.00 KiB/s
Receiving objects: 27% (5054/18573), 6.05 MiB | 116.00 KiB/s
Receiving objects: 28% (5201/18573), 6.05 MiB | 116.00 KiB/s
Receiving objects: 28% (5248/18573), 6.11 MiB | 115.00 KiB/s
Receiving objects: 29% (5387/18573), 6.18 MiB | 110.00 KiB/s
Receiving objects: 30% (5572/18573), 6.18 MiB | 110.00 KiB/s
Receiving objects: 30% (5576/18573), 6.24 MiB | 109.00 KiB/s
Receiving objects: 30% (5583/18573), 6.34 MiB | 106.00 KiB/s
Receiving objects: 30% (5583/18573), 6.43 MiB | 105.00 KiB/s
Receiving objects: 30% (5583/18573), 6.54 MiB | 95.00 KiB/s
Receiving objects: 30% (5583/18573), 6.66 MiB | 97.00 KiB/s
Receiving objects: 30% (5583/18573), 6.70 MiB | 91.00 KiB/s
Receiving objects: 30% (5583/18573), 6.80 MiB | 88.00 KiB/s
Receiving objects: 30% (5583/18573), 6.86 MiB | 86.00 KiB/s
Receiving objects: 30% (5584/18573), 6.98 MiB | 91.00 KiB/s
Receiving objects: 30% (5585/18573), 7.09 MiB | 92.00 KiB/s
Receiving objects: 30% (5585/18573), 7.19 MiB | 95.00 KiB/s
Receiving objects: 30% (5585/18573), 7.24 MiB | 95.00 KiB/s
Receiving objects: 30% (5585/18573), 7.33 MiB | 90.00 KiB/s
Receiving objects: 30% (5585/18573), 7.48 MiB | 94.00 KiB/s
Receiving objects: 30% (5585/18573), 7.54 MiB | 94.00 KiB/s
Receiving objects: 30% (5585/18573), 7.65 MiB | 98.00 KiB/s
Receiving objects: 30% (5585/18573), 7.76 MiB | 98.00 KiB/s
Receiving objects: 30% (5618/18573), 7.82 MiB | 100.00 KiB/s
Receiving objects: 30% (5739/18573), 7.86 MiB | 101.00 KiB/s
Receiving objects: 31% (5758/18573), 7.91 MiB | 96.00 KiB/s
Receiving objects: 31% (5923/18573), 8.02 MiB | 96.00 KiB/s
Receiving objects: 32% (5944/18573), 8.02 MiB | 96.00 KiB/s
Receiving objects: 32% (6013/18573), 8.07 MiB | 97.00 KiB/s
Receiving objects: 32% (6094/18573), 8.13 MiB | 92.00 KiB/s
Receiving objects: 33% (6130/18573), 8.18 MiB | 91.00 KiB/s
Receiving objects: 33% (6252/18573), 8.25 MiB | 93.00 KiB/s
Receiving objects: 34% (6315/18573), 8.25 MiB | 93.00 KiB/s
Receiving objects: 35% (6501/18573), 8.33 MiB | 96.00 KiB/s
Receiving objects: 36% (6687/18573), 8.33 MiB | 96.00 KiB/s
Receiving objects: 36% (6725/18573), 8.39 MiB | 99.00 KiB/s
Receiving objects: 37% (6873/18573), 8.39 MiB | 99.00 KiB/s
Receiving objects: 37% (6976/18573), 8.45 MiB | 98.00 KiB/s
Receiving objects: 38% (7058/18573), 8.50 MiB | 98.00 KiB/s
Receiving objects: 38% (7215/18573), 8.57 MiB | 97.00 KiB/s
Receiving objects: 39% (7244/18573), 8.57 MiB | 97.00 KiB/s
Receiving objects: 39% (7422/18573), 8.68 MiB | 99.00 KiB/s
Receiving objects: 40% (7430/18573), 8.68 MiB | 99.00 KiB/s
Receiving objects: 40% (7567/18573), 8.74 MiB | 98.00 KiB/s
Receiving objects: 41% (7615/18573), 8.74 MiB | 98.00 KiB/s
Receiving objects: 42% (7801/18573), 8.79 MiB | 97.00 KiB/s
Receiving objects: 42% (7819/18573), 8.79 MiB | 97.00 KiB/s
Receiving objects: 43% (7987/18573), 8.89 MiB | 87.00 KiB/s
Receiving objects: 43% (8002/18573), 8.89 MiB | 87.00 KiB/s
Receiving objects: 44% (8173/18573), 8.95 MiB | 84.00 KiB/s
Receiving objects: 44% (8296/18573), 8.95 MiB | 84.00 KiB/s
Receiving objects: 45% (8358/18573), 9.00 MiB | 86.00 KiB/s
Receiving objects: 45% (8541/18573), 9.08 MiB | 88.00 KiB/s
Receiving objects: 46% (8544/18573), 9.08 MiB | 88.00 KiB/s
Receiving objects: 46% (8671/18573), 9.17 MiB | 87.00 KiB/s
Receiving objects: 47% (8730/18573), 9.17 MiB | 87.00 KiB/s
Receiving objects: 47% (8827/18573), 9.25 MiB | 84.00 KiB/s
Receiving objects: 48% (8916/18573), 9.29 MiB | 84.00 KiB/s
Receiving objects: 48% (8994/18573), 9.29 MiB | 84.00 KiB/s
Receiving objects: 49% (9101/18573), 9.36 MiB | 90.00 KiB/s
Receiving objects: 49% (9191/18573), 9.41 MiB | 92.00 KiB/s
Receiving objects: 50% (9287/18573), 9.41 MiB | 92.00 KiB/s
Receiving objects: 50% (9374/18573), 9.56 MiB | 92.00 KiB/s
Receiving objects: 51% (9473/18573), 9.61 MiB | 89.00 KiB/s
Receiving objects: 51% (9544/18573), 9.61 MiB | 89.00 KiB/s
Receiving objects: 52% (9658/18573), 9.67 MiB | 95.00 KiB/s
Receiving objects: 52% (9694/18573), 9.75 MiB | 104.00 KiB/s
Receiving objects: 52% (9793/18573), 9.83 MiB | 104.00 KiB/s
Receiving objects: 53% (9844/18573), 9.83 MiB | 104.00 KiB/s
Receiving objects: 53% (9943/18573), 9.93 MiB | 102.00 KiB/s
Receiving objects: 54% (10030/18573), 9.93 MiB | 102.00 KiB/s
Receiving objects: 54% (10179/18573), 10.04 MiB | 96.00 KiB/s
Receiving objects: 55% (10216/18573), 10.04 MiB | 96.00 KiB/s
Receiving objects: 55% (10286/18573), 10.10 MiB | 95.00 KiB/s
Receiving objects: 55% (10386/18573), 10.15 MiB | 92.00 KiB/s
Receiving objects: 56% (10401/18573), 10.15 MiB | 92.00 KiB/s
Receiving objects: 56% (10523/18573), 10.27 MiB | 90.00 KiB/s
Receiving objects: 57% (10587/18573), 10.27 MiB | 90.00 KiB/s
Receiving objects: 57% (10691/18573), 10.36 MiB | 83.00 KiB/s
Receiving objects: 58% (10773/18573), 10.36 MiB | 83.00 KiB/s
Receiving objects: 58% (10797/18573), 10.42 MiB | 84.00 KiB/s
Receiving objects: 58% (10929/18573), 10.54 MiB | 83.00 KiB/s
Receiving objects: 59% (10959/18573), 10.54 MiB | 83.00 KiB/s
Receiving objects: 59% (11031/18573), 10.59 MiB | 85.00 KiB/s
Receiving objects: 59% (11112/18573), 10.64 MiB | 84.00 KiB/s
Receiving objects: 60% (11144/18573), 10.68 MiB | 84.00 KiB/s
Receiving objects: 60% (11185/18573), 10.74 MiB | 78.00 KiB/s
Receiving objects: 60% (11274/18573), 10.79 MiB | 78.00 KiB/s
Receiving objects: 61% (11330/18573), 10.85 MiB | 82.00 KiB/s
Receiving objects: 61% (11424/18573), 10.90 MiB | 83.00 KiB/s
Receiving objects: 62% (11516/18573), 10.96 MiB | 84.00 KiB/s
Receiving objects: 62% (11516/18573), 11.02 MiB | 87.00 KiB/s
Receiving objects: 62% (11603/18573), 11.07 MiB | 87.00 KiB/s
Receiving objects: 63% (11701/18573), 11.14 MiB | 88.00 KiB/s
Receiving objects: 63% (11804/18573), 11.19 MiB | 90.00 KiB/s
Receiving objects: 64% (11887/18573), 11.19 MiB | 90.00 KiB/s
Receiving objects: 64% (11950/18573), 11.25 MiB | 94.00 KiB/s
Receiving objects: 65% (12073/18573), 11.31 MiB | 97.00 KiB/s
Receiving objects: 65% (12084/18573), 11.36 MiB | 91.00 KiB/s
Receiving objects: 65% (12225/18573), 11.42 MiB | 89.00 KiB/s
Receiving objects: 66% (12259/18573), 11.48 MiB | 89.00 KiB/s
Receiving objects: 66% (12353/18573), 11.57 MiB | 91.00 KiB/s
Receiving objects: 67% (12444/18573), 11.57 MiB | 91.00 KiB/s
Receiving objects: 67% (12522/18573), 11.64 MiB | 94.00 KiB/s
Receiving objects: 68% (12630/18573), 11.69 MiB | 96.00 KiB/s
Receiving objects: 68% (12704/18573), 11.78 MiB | 96.00 KiB/s
Receiving objects: 69% (12816/18573), 11.83 MiB | 97.00 KiB/s
Receiving objects: 69% (12885/18573), 11.83 MiB | 97.00 KiB/s
Receiving objects: 69% (12991/18573), 11.95 MiB | 103.00 KiB/s
Receiving objects: 70% (13002/18573), 11.95 MiB | 103.00 KiB/s
Receiving objects: 70% (13091/18573), 12.06 MiB | 105.00 KiB/s
Receiving objects: 71% (13187/18573), 12.11 MiB | 101.00 KiB/s
Receiving objects: 71% (13213/18573), 12.11 MiB | 101.00 KiB/s
Receiving objects: 71% (13299/18573), 12.21 MiB | 91.00 KiB/s
Receiving objects: 72% (13373/18573), 12.27 MiB | 93.00 KiB/s
Receiving objects: 72% (13434/18573), 12.27 MiB | 93.00 KiB/s
Receiving objects: 72% (13542/18573), 12.41 MiB | 95.00 KiB/s
Receiving objects: 73% (13559/18573), 12.41 MiB | 95.00 KiB/s
Receiving objects: 73% (13667/18573), 12.47 MiB | 93.00 KiB/s
Receiving objects: 74% (13745/18573), 12.57 MiB | 91.00 KiB/s
Receiving objects: 74% (13776/18573), 12.57 MiB | 91.00 KiB/s
Receiving objects: 74% (13856/18573), 12.68 MiB | 93.00 KiB/s
Receiving objects: 75% (13930/18573), 12.73 MiB | 95.00 KiB/s
Receiving objects: 75% (13998/18573), 12.79 MiB | 94.00 KiB/s
Receiving objects: 75% (14107/18573), 12.85 MiB | 90.00 KiB/s
Receiving objects: 76% (14116/18573), 12.85 MiB | 90.00 KiB/s
Receiving objects: 76% (14227/18573), 12.96 MiB | 90.00 KiB/s
Receiving objects: 77% (14302/18573), 12.96 MiB | 90.00 KiB/s
Receiving objects: 77% (14361/18573), 13.02 MiB | 91.00 KiB/s
Receiving objects: 77% (14478/18573), 13.13 MiB | 91.00 KiB/s
Receiving objects: 78% (14487/18573), 13.13 MiB | 91.00 KiB/s
Receiving objects: 78% (14583/18573), 13.18 MiB | 91.00 KiB/s
Receiving objects: 78% (14617/18573), 13.30 MiB | 89.00 KiB/s
Receiving objects: 78% (14663/18573), 13.36 MiB | 87.00 KiB/s
Receiving objects: 79% (14673/18573), 13.41 MiB | 87.00 KiB/s
Receiving objects: 79% (14753/18573), 13.47 MiB | 91.00 KiB/s
Receiving objects: 79% (14830/18573), 13.59 MiB | 92.00 KiB/s
Receiving objects: 80% (14859/18573), 13.59 MiB | 92.00 KiB/s
Receiving objects: 80% (14933/18573), 13.70 MiB | 97.00 KiB/s
Receiving objects: 80% (14985/18573), 13.75 MiB | 99.00 KiB/s
Receiving objects: 81% (15045/18573), 13.80 MiB | 98.00 KiB/s
Receiving objects: 81% (15111/18573), 13.86 MiB | 99.00 KiB/s
Receiving objects: 82% (15230/18573), 13.91 MiB | 96.00 KiB/s
Receiving objects: 82% (15261/18573), 13.97 MiB | 92.00 KiB/s
Receiving objects: 82% (15334/18573), 14.03 MiB | 91.00 KiB/s
Receiving objects: 83% (15416/18573), 14.09 MiB | 92.00 KiB/s
Receiving objects: 83% (15442/18573), 14.14 MiB | 90.00 KiB/s
Receiving objects: 83% (15572/18573), 14.19 MiB | 91.00 KiB/s
Receiving objects: 84% (15602/18573), 14.26 MiB | 94.00 KiB/s
Receiving objects: 84% (15619/18573), 14.34 MiB | 101.00 KiB/s
Receiving objects: 84% (15768/18573), 14.46 MiB | 110.00 KiB/s
Receiving objects: 85% (15788/18573), 14.46 MiB | 110.00 KiB/s
Receiving objects: 85% (15875/18573), 14.63 MiB | 116.00 KiB/s
Receiving objects: 85% (15947/18573), 14.72 MiB | 115.00 KiB/s
Receiving objects: 86% (15973/18573), 14.72 MiB | 115.00 KiB/s
Receiving objects: 86% (16055/18573), 14.83 MiB | 120.00 KiB/s
Receiving objects: 87% (16159/18573), 14.94 MiB | 121.00 KiB/s
Receiving objects: 87% (16183/18573), 14.94 MiB | 121.00 KiB/s
Receiving objects: 87% (16264/18573), 15.11 MiB | 119.00 KiB/s
Receiving objects: 88% (16345/18573), 15.11 MiB | 119.00 KiB/s
Receiving objects: 88% (16366/18573), 15.23 MiB | 124.00 KiB/s
Receiving objects: 88% (16432/18573), 15.29 MiB | 119.00 KiB/s
Receiving objects: 88% (16505/18573), 15.39 MiB | 116.00 KiB/s
Receiving objects: 89% (16530/18573), 15.44 MiB | 113.00 KiB/s
Receiving objects: 89% (16553/18573), 15.49 MiB | 107.00 KiB/s
Receiving objects: 89% (16582/18573), 15.53 MiB | 100.00 KiB/s
Receiving objects: 89% (16664/18573), 15.64 MiB | 87.00 KiB/s
Receiving objects: 90% (16716/18573), 15.64 MiB | 87.00 KiB/s
Receiving objects: 90% (16725/18573), 15.70 MiB | 80.00 KiB/s
Receiving objects: 90% (16765/18573), 15.76 MiB | 79.00 KiB/s
Receiving objects: 90% (16848/18573), 15.87 MiB | 78.00 KiB/s
Receiving objects: 91% (16902/18573), 15.87 MiB | 78.00 KiB/s
Receiving objects: 91% (16970/18573), 15.99 MiB | 83.00 KiB/s
Receiving objects: 91% (17029/18573), 16.05 MiB | 87.00 KiB/s
Receiving objects: 92% (17088/18573), 16.11 MiB | 85.00 KiB/s
Receiving objects: 92% (17146/18573), 16.11 MiB | 85.00 KiB/s
Receiving objects: 92% (17206/18573), 16.22 MiB | 89.00 KiB/s
Receiving objects: 93% (17273/18573), 16.28 MiB | 91.00 KiB/s
Receiving objects: 93% (17337/18573), 16.28 MiB | 91.00 KiB/s
Receiving objects: 94% (17459/18573), 16.39 MiB | 94.00 KiB/s
Receiving objects: 94% (17542/18573), 16.51 MiB | 89.00 KiB/s
Receiving objects: 94% (17617/18573), 16.57 MiB | 86.00 KiB/s
Receiving objects: 95% (17645/18573), 16.57 MiB | 86.00 KiB/s
Receiving objects: 95% (17699/18573), 16.63 MiB | 87.00 KiB/s
Receiving objects: 95% (17758/18573), 16.73 MiB | 88.00 KiB/s
Receiving objects: 95% (17825/18573), 16.82 MiB | 83.00 KiB/s
Receiving objects: 96% (17831/18573), 16.82 MiB | 83.00 KiB/s
Receiving objects: 96% (17913/18573), 16.89 MiB | 83.00 KiB/s
Receiving objects: 96% (17969/18573), 17.00 MiB | 87.00 KiB/s
Receiving objects: 97% (18016/18573), 17.00 MiB | 87.00 KiB/s
Receiving objects: 97% (18081/18573), 17.11 MiB | 93.00 KiB/s
Receiving objects: 97% (18179/18573), 17.17 MiB | 93.00 KiB/s
Receiving objects: 98% (18202/18573), 17.17 MiB | 93.00 KiB/s
Receiving objects: 98% (18283/18573), 17.28 MiB | 90.00 KiB/s
Receiving objects: 98% (18363/18573), 17.32 MiB | 91.00 KiB/s
Receiving objects: 99% (18388/18573), 17.32 MiB | 91.00 KiB/s
remote: Total 18573 (delta 0), reused 0 (delta 0)�[K
Receiving objects: 100% (18573/18573), 17.38 MiB | 89.00 KiB/s
Receiving objects: 100% (18573/18573), 17.42 MiB | 88.00 KiB/s, done.
Resolving deltas: 0% (0/10954)
Resolving deltas: 1% (113/10954)
Resolving deltas: 2% (308/10954)
Resolving deltas: 3% (330/10954)
Resolving deltas: 4% (441/10954)
Resolving deltas: 5% (553/10954)
Resolving deltas: 6% (711/10954)
Resolving deltas: 7% (776/10954)
Resolving deltas: 8% (903/10954)
Resolving deltas: 9% (986/10954)
Resolving deltas: 10% (1097/10954)
Resolving deltas: 11% (1213/10954)
Resolving deltas: 12% (1328/10954)
Resolving deltas: 13% (1425/10954)
Resolving deltas: 14% (1535/10954)
Resolving deltas: 15% (1692/10954)
Resolving deltas: 16% (1754/10954)
Resolving deltas: 17% (1864/10954)
Resolving deltas: 18% (1993/10954)
Resolving deltas: 19% (2105/10954)
Resolving deltas: 20% (2191/10954)
Resolving deltas: 21% (2301/10954)
Resolving deltas: 22% (2416/10954)
Resolving deltas: 23% (2520/10954)
Resolving deltas: 24% (2658/10954)
Resolving deltas: 25% (2742/10954)
Resolving deltas: 26% (2854/10954)
Resolving deltas: 27% (2964/10954)
Resolving deltas: 28% (3070/10954)
Resolving deltas: 29% (3198/10954)
Resolving deltas: 30% (3290/10954)
Resolving deltas: 31% (3402/10954)
Resolving deltas: 32% (3554/10954)
Resolving deltas: 33% (3627/10954)
Resolving deltas: 34% (3727/10954)
Resolving deltas: 35% (3852/10954)
Resolving deltas: 36% (3947/10954)
Resolving deltas: 37% (4054/10954)
Resolving deltas: 38% (4163/10954)
Resolving deltas: 39% (4280/10954)
Resolving deltas: 40% (4383/10954)
Resolving deltas: 41% (4511/10954)
Resolving deltas: 42% (4610/10954)
Resolving deltas: 43% (4714/10954)
Resolving deltas: 44% (4825/10954)
Resolving deltas: 45% (4949/10954)
Resolving deltas: 46% (5048/10954)
Resolving deltas: 47% (5151/10954)
Resolving deltas: 48% (5269/10954)
Resolving deltas: 49% (5368/10954)
Resolving deltas: 50% (5478/10954)
Resolving deltas: 51% (5593/10954)
Resolving deltas: 52% (5699/10954)
Resolving deltas: 53% (5807/10954)
Resolving deltas: 54% (5943/10954)
Resolving deltas: 55% (6032/10954)
Resolving deltas: 56% (6135/10954)
Resolving deltas: 57% (6248/10954)
Resolving deltas: 58% (6354/10954)
Resolving deltas: 59% (6463/10954)
Resolving deltas: 60% (6573/10954)
Resolving deltas: 61% (6691/10954)
Resolving deltas: 62% (6808/10954)
Resolving deltas: 63% (6902/10954)
Resolving deltas: 64% (7015/10954)
Resolving deltas: 65% (7125/10954)
Resolving deltas: 66% (7288/10954)
Resolving deltas: 67% (7341/10954)
Resolving deltas: 68% (7507/10954)
Resolving deltas: 69% (7562/10954)
Resolving deltas: 70% (7670/10954)
Resolving deltas: 71% (7782/10954)
Resolving deltas: 72% (7892/10954)
Resolving deltas: 73% (8005/10954)
Resolving deltas: 74% (8106/10954)
Resolving deltas: 75% (8216/10954)
Resolving deltas: 76% (8333/10954)
Resolving deltas: 77% (8435/10954)
Resolving deltas: 78% (8546/10954)
Resolving deltas: 79% (8657/10954)
Resolving deltas: 80% (8764/10954)
Resolving deltas: 81% (8873/10954)
Resolving deltas: 82% (8983/10954)
Resolving deltas: 83% (9134/10954)
Resolving deltas: 84% (9203/10954)
Resolving deltas: 85% (9311/10954)
Resolving deltas: 86% (9423/10954)
Resolving deltas: 87% (9545/10954)
Resolving deltas: 88% (9647/10954)
Resolving deltas: 89% (9760/10954)
Resolving deltas: 90% (9859/10954)
Resolving deltas: 91% (9973/10954)
Resolving deltas: 92% (10078/10954)
Resolving deltas: 93% (10189/10954)
Resolving deltas: 94% (10298/10954)
Resolving deltas: 95% (10407/10954)
Resolving deltas: 96% (10544/10954)
Resolving deltas: 97% (10626/10954)
Resolving deltas: 98% (10735/10954)
Resolving deltas: 99% (10846/10954)
Resolving deltas: 100% (10954/10954)
Resolving deltas: 100% (10954/10954), done.
Checking connectivity... done.
�]0;user@ubuntu: /var/tmp�user@ubuntu:/var/tmp$ mkdir build
�]0;user@ubuntu: /var/tmp�user@ubuntu:/var/tmp$ cd build
�]0;user@ubuntu: /var/tmp/build�user@ubuntu:/var/tmp/build$
�]0;user@ubuntu: /var/tmp/build�user@ubuntu:/var/tmp/build$ cmake ../nscp
-- The CXX compiler identification is GNU 4.8.2
-- The C compiler identification is GNU 4.8.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- NO build configuration found
-- Using dynamic runtime
-- Looking for dependencies:
-- Found PythonInterp: /usr/bin/python2.7
-- Found PythonLibsEx: /usr/lib/x86_64-linux-gnu/libpython2.7.so
-- Could NOT find ZeroMQ (missing: ZEROMQ_LIBRARIES ZEROMQ_INCLUDE_DIRS)
-- Found protobuf: /usr/include/google/protobuf
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.1f")
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- regex
-- date_time
-- program_options
-- python
-- Found Sphinx: /usr/bin/sphinx-build
-- Could NOT find CSharp (missing: CSHARP_TYPE CSHARP_VERSION CSHARP_COMPILER)
CMake Warning at build/cmake/dependencies.cmake:48 (FIND_PACKAGE):
By not providing "FindIConv.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "IConv", but
CMake did not find one.

Could not find a package configuration file provided by "IConv" with any of
the following names:

IConvConfig.cmake
iconv-config.cmake

Add the installation prefix of "IConv" to CMAKE_PREFIX_PATH or set
"IConv_DIR" to a directory containing one of the above files. If "IConv"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:89 (INCLUDE)

-- Found dependencies:
-- - python(exe) found: /usr/bin/python2.7
-- - python(lib) found: /usr/lib/x86_64-linux-gnu/libpython2.7.so
-- ! tinyXML not found: TODO
-- ! zeroMQ not found: ZEROMQ_ROOT=
-- - crypto++(lib) found in: /usr/include/crypto++
-- - lua found in /usr/include/lua5.1
-- ! lua.protocol_buffers not found: PROTOC_GEN_LUA=PROTOC_GEN_LUA_BIN-NOTFOUND
-- - protocol buffers found in: /usr/include/google/protobuf (/usr/bin/protoc)
-- ! google breakpad not found: TODO=
-- - google test found in: /usr/include
-- - OpenSSL found in: /usr/include
-- - boost found in: /usr/include / /usr/lib/x86_64-linux-gnu
-- ! Json Spirit not found: JSON_SPRIT_DIR=
-- - Sphinx found in: /usr/bin/sphinx-build
-- ! Mongoose not found: MONGOOSE_INCLUDE_DIR=MONGOOSE_INCLUDE_DIR-NOTFOUND
-- ! CSharp not found
-- ! IConv package not found.
-- Validating required dependencies:
-- - All required dependecies found! (some modules and features migh stil be missing though)
-- Version: 0.4.3.40
-- Setting GCC MT switches
-- Building support libraries
-- - google test++
-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.6")
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- - Mongoose
CMake Warning (dev) at CMakeLists.txt:381 (ADD_SUBDIRECTORY):
The source directory

/var/tmp/nscp/ext/mongoose-cpp

does not contain a CMakeLists.txt file.

CMake does not support this case but it used to work accidentally and is
being allowed for compatibility.

Policy CMP0014 is not set: Input directories must have CMakeLists.txt. Run
"cmake --help-policy CMP0014" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

-- - Docs
-- Adding libraries
-- + Library: libs/dotnet-plugin-api (dotnet-plugin-api)
-- + Library: libs/installer_lib (installer_lib)
-- + Library: libs/protobuf_net (protobuf_net)
-- + Library: libs/plugin_api (plugin_api)
-- + Library: libs/lua (lua)
-- + Library: libs/nscpcrypt (nscpcrypt)
-- + Library: libs/perfconfig_parser (perfconfig_parser)
-- + Library: libs/win_sysinfo (win_sysinfo)
-- + Library: libs/protobuf (protobuf)
-- + Library: libs/expression_parser (expression_parser)
-- + Library: libs/lua_nscp (lua_nscp)
-- + Library: libs/settings_manager (settings_manager)
-- + Library: libs/where_filter (where_filter)
-- Adding all: Modules
-- + GraphiteClient
-- + CheckMKClient
-- + NSClientServer
-- + SimpleFileWriter
-- - NSCP.Plugin.CSharpSample: CSharp not found
-- + CommandClient
-- - NRDPClient: Skipped
-- - DistributedClient: 0mq was not found
-- - CheckSystem: Not supported on linux
-- + CheckHelpers
-- - DotnetPlugins: Skipped
-- + SMTPClient
-- + CheckSystemUnix
-- + CheckNSCP
-- - CheckWMI: Skipped
-- + NRPEClient
-- + NRPEServer
-- + CheckMKServer
-- + SamplePluginSimple
-- + PythonScript
-- + CheckLogFile
-- + NSCAClient
-- + Scheduler
-- + NSCAServer
-- + SimpleCache
-- - CheckDisk: Skipped
-- - CheckEventLog: Skipped
-- - WEBServer: Skipped
-- - DistributedServer: 0mq was not found
-- - NSCPServer: Skipped
-- + CauseCrashes
-- - NSCPClient: Skipped
-- + LUAScript (without protocol buffer support)
-- + CheckExternalScripts
-- + SyslogClient
-- - CheckTaskSched: Skipped
-- Adding all: Tools
-- + reporter
-- Adding all: Clients
-- + check_nrpe
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/build
�]0;user@ubuntu: /var/tmp/build�user@ubuntu:/var/tmp/build$
�]0;user@ubuntu: /var/tmp/build�user@ubuntu:/var/tmp/build$
�]0;user@ubuntu: /var/tmp/build�user@ubuntu:/var/tmp/build$ make
�[35m�[1mScanning dependencies of target gtest
�[0m[ 1%] �[32mBuilding CXX object ext/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
�[0m�[31m�[1mLinking CXX static library libgtest.a
�[0m[ 1%] Built target gtest
�[35m�[1mScanning dependencies of target gtest_main
�[0m[ 1%] �[32mBuilding CXX object ext/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
�[0m�[31m�[1mLinking CXX static library libgtest_main.a
�[0m[ 1%] Built target gtest_main
[ 1%] �[34m�[1mRunning protocol buffer compiler on ipc.proto - /usr/bin/protoc
�[0m[ 2%] �[34m�[1mRunning protocol buffer compiler on plugin.proto - /usr/bin/protoc
�[0m�[35m�[1mScanning dependencies of target nscp_protobuf
�[0m[ 2%] �[32mBuilding CXX object libs/protobuf/CMakeFiles/nscp_protobuf.dir/plugin.pb.cc.o
�[0m[ 3%] �[32mBuilding CXX object libs/protobuf/CMakeFiles/nscp_protobuf.dir/ipc.pb.cc.o
�[0m�[31m�[1mLinking CXX shared library libnscp_protobuf.so
�[0m[ 3%] Built target nscp_protobuf
�[35m�[1mScanning dependencies of target plugin_api
�[0m[ 3%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_core_wrapper.cpp.o
�[0m/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp: In member function ‘bool nscapi::core_wrapper::load_endpoints(nscapi::core_api::lpNSAPILoader)’:
/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:352:101: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIGetApplicationName = (nscapi::core_api::lpNSAPIGetApplicationName)f("NSAPIGetApplicationName");

                                                                                                 ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:353:119: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIGetApplicationVersionStr = (nscapi::core_api::lpNSAPIGetApplicationVersionStr)f("NSAPIGetApplicationVersionStr");

                                                                                                                   ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:354:68: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIMessage = (nscapi::core_api::lpNSAPIMessage)f("NSAPIMessage");

                                                                ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:355:86: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPISimpleMessage = (nscapi::core_api::lpNSAPISimpleMessage)f("NSAPISimpleMessage");

                                                                                  ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:356:65: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIInject = (nscapi::core_api::lpNSAPIInject)f("NSAPIInject");

                                                             ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:357:80: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIExecCommand = (nscapi::core_api::lpNSAPIExecCommand)f("NSAPIExecCommand");

                                                                            ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:358:86: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIDestroyBuffer = (nscapi::core_api::lpNSAPIDestroyBuffer)f("NSAPIDestroyBuffer");

                                                                                  ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:359:65: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPINotify = (nscapi::core_api::lpNSAPINotify)f("NSAPINotify");

                                                             ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:360:95: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPICheckLogMessages = (nscapi::core_api::lpNSAPICheckLogMessages)f("NSAPICheckLogMessages");

                                                                                           ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:361:68: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIDecrypt = (nscapi::core_api::lpNSAPIDecrypt)f("NSAPIDecrypt");

                                                                ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:362:68: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIEncrypt = (nscapi::core_api::lpNSAPIEncrypt)f("NSAPIEncrypt");

                                                                ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:363:65: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIReload = (nscapi::core_api::lpNSAPIReload)f("NSAPIReload");

                                                             ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:365:86: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPISettingsQuery = (nscapi::core_api::lpNSAPISettingsQuery)f("NSAPISettingsQuery");

                                                                                  ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:366:86: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIRegistryQuery = (nscapi::core_api::lpNSAPIRegistryQuery)f("NSAPIRegistryQuery");

                                                                                  ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:367:77: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIExpandPath = (nscapi::core_api::lpNSAPIExpandPath)f("NSAPIExpandPath");

                                                                         ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:369:80: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSAPIGetLoglevel = (nscapi::core_api::lpNSAPIGetLoglevel)f("NSAPIGetLoglevel");

                                                                            ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:371:89: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSCAPIJson2Protobuf = (nscapi::core_api::lpNSCAPIJson2Protobuf)f("NSCAPIJson2Protobuf");

                                                                                     ^

/var/tmp/nscp/include/nscapi/nscapi_core_wrapper.cpp:372:89: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
fNSCAPIProtobuf2Json = (nscapi::core_api::lpNSCAPIProtobuf2Json)f("NSCAPIProtobuf2Json");

                                                                                     ^

[ 3%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_core_helper.cpp.o
�[0m[ 4%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_helper.cpp.o
�[0m[ 4%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_helper_singleton.cpp.o
�[0m[ 4%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_protobuf_functions.cpp.o
�[0m[ 5%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_protobuf_types.cpp.o
�[0m[ 5%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_targets.cpp.o
�[0m[ 5%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_settings_filter.cpp.o
�[0m[ 6%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_settings_proxy.cpp.o
�[0m[ 6%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/command_client.cpp.o
�[0m[ 6%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_settings_object.cpp.o
�[0m[ 7%] �[32mBuilding CXX object libs/plugin_api/CMakeFiles/plugin_api.dir///include/nscapi/nscapi_settings_helper.cpp.o
�[0m�[31m�[1mLinking CXX shared library libplugin_api.so
�[0m[ 7%] Built target plugin_api
�[35m�[1mScanning dependencies of target nscpcrypt
�[0m[ 7%] �[32mBuilding CXX object libs/nscpcrypt/CMakeFiles/nscpcrypt.dir/nscpcrypt.cpp.o
�[0mIn file included from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:23:0:
/usr/include/crypto++/arc4.h:63:2: warning: #warning is a GCC extension [enabled by default]
#warning "You may be using a weak algorithm that has been retained for backwards compatibility. Please '#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1' before including this .h file and prepend the class name with 'Weak::' to remove this warning."
^
/usr/include/crypto++/arc4.h:63:2: warning: #warning "You may be using a weak algorithm that has been retained for backwards compatibility. Please '#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1' before including this .h file and prepend the class name with 'Weak::' to remove this warning." [-Wcpp]
In file included from /usr/include/crypto++/modes.h:8:0,
from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:14:
/usr/include/crypto++/secblock.h:129:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup;
^
/usr/include/crypto++/secblock.h:130:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup;
^
/usr/include/crypto++/secblock.h:131:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup;
^
/usr/include/crypto++/secblock.h:132:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup;
^
In file included from /usr/include/crypto++/modes.h:10:0,
from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:14:
/usr/include/crypto++/strciphr.h:299:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AbstractPolicyHolder<AdditiveCipherAbstractPolicy, SymmetricCipher>;
^
/usr/include/crypto++/strciphr.h:300:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, SymmetricCipher> >;
^
/usr/include/crypto++/strciphr.h:301:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CFB_CipherTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, SymmetricCipher> >;
^
/usr/include/crypto++/strciphr.h:302:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CFB_EncryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, SymmetricCipher> >;
^
/usr/include/crypto++/strciphr.h:303:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CFB_DecryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, SymmetricCipher> >;
^
In file included from /usr/include/crypto++/modes.h:12:0,
from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:14:
/usr/include/crypto++/algparam.h:329:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AlgorithmParametersTemplate;
^
/usr/include/crypto++/algparam.h:330:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AlgorithmParametersTemplate;
^
/usr/include/crypto++/algparam.h:331:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AlgorithmParametersTemplate;
^
In file included from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:14:0:
/usr/include/crypto++/modes.h:291:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CFB_CipherTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
^
/usr/include/crypto++/modes.h:292:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CFB_EncryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
^
/usr/include/crypto++/modes.h:293:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CFB_DecryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
^
/usr/include/crypto++/modes.h:325:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, OFB_ModePolicy> >;
^
/usr/include/crypto++/modes.h:342:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, CTR_ModePolicy> >;
^
/usr/include/crypto++/modes.h:343:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<ConcretePolicyHolder<Empty, AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, CTR_ModePolicy> > > >;
^
/usr/include/crypto++/modes.h:368:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<ECB_OneWay>;
^
/usr/include/crypto++/modes.h:385:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<CBC_Encryption>;
^
/usr/include/crypto++/modes.h:386:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<CBC_Decryption>;
^
/usr/include/crypto++/modes.h:403:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<CBC_CTS_Encryption>;
^
/usr/include/crypto++/modes.h:404:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS CipherModeFinalTemplate_ExternalCipher<CBC_CTS_Decryption>;
^
In file included from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:16:0:
/usr/include/crypto++/aes.h:9:34: warning: extra ‘;’ [-Wpedantic]
DOCUMENTED_TYPEDEF(Rijndael, AES);
^
In file included from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:26:0:
/usr/include/crypto++/filters.h:614:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS StringSinkTemplatestd::string;
^
In file included from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:27:0:
/usr/include/crypto++/osrng.h:143:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AutoSeededX917RNG;
^
In file included from /usr/include/crypto++/secblock.h:7:0,
from /usr/include/crypto++/modes.h:8,
from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:14:
/usr/include/crypto++/algparam.h: In instantiation of ‘CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string]’:
/usr/include/crypto++/filters.h:793:132: required from here
/usr/include/crypto++/misc.h:59:118: warning: unused variable ‘cryptopp_assert_26’ [-Wunused-variable]
#define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)
^
/usr/include/crypto++/misc.h:62:39: note: in definition of macro ‘CRYPTOPP_DO_ASSERT_JOIN’
#define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
^
/usr/include/crypto++/misc.h:59:97: note: in expansion of macro ‘CRYPTOPP_ASSERT_JOIN’
#define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)
^
/usr/include/crypto++/misc.h:55:44: note: in expansion of macro ‘CRYPTOPP_COMPILE_ASSERT_INSTANCE’
#define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, LINE)
^
/usr/include/crypto++/algparam.h:26:9: note: in expansion of macro ‘CRYPTOPP_COMPILE_ASSERT’
CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
^
In file included from /usr/include/crypto++/modes.h:12:0,
from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:14:
/usr/include/crypto++/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate::MoveInto(void_) const [with T = CryptoPP::RandomNumberGenerator_]’:
/var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:448:1: required from here
/usr/include/crypto++/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]
AlgorithmParametersTemplate* p = new(buffer) AlgorithmParametersTemplate(this);
^
In file included from /usr/include/crypto++/secblock.h:7:0,
from /usr/include/crypto++/modes.h:8,
from /var/tmp/nscp/libs/nscpcrypt/nscpcrypt.cpp:14:
/usr/include/crypto++/misc.h:549:20: warning: ‘std::string CryptoPP::StringNarrow(const wchar_t
, bool)’ defined but not used [-Wunused-function]
static std::string StringNarrow(const wchar_t str, bool throwOnError = true)
^
�[31m�[1mLinking CXX static library libnscpcrypt.a
�[0m[ 7%] Built target nscpcrypt
�[35m�[1mScanning dependencies of target perfconfig_parser
�[0m[ 7%] �[32mBuilding CXX object libs/perfconfig_parser/CMakeFiles/perfconfig_parser.dir///include/parsers/perfconfig/perfconfig.cpp.o
�[0m�[31m�[1mLinking CXX static library libperfconfig_parser.a
�[0m[ 7%] Built target perfconfig_parser
�[35m�[1mScanning dependencies of target perfconfig_parser_test
�[0m[ 8%] �[32mBuilding CXX object libs/perfconfig_parser/CMakeFiles/perfconfig_parser_test.dir/perfconfig_test.cpp.o
�[0m�[31m�[1mLinking CXX executable perfconfig_parser_test
�[0m[ 8%] Built target perfconfig_parser_test
�[35m�[1mScanning dependencies of target expression_parser
�[0m[ 9%] �[32mBuilding CXX object libs/expression_parser/CMakeFiles/expression_parser.dir///include/parsers/expression/expression.cpp.o
�[0m�[31m�[1mLinking CXX static library libexpression_parser.a
�[0m[ 9%] Built target expression_parser
�[35m�[1mScanning dependencies of target expression_parser_test
�[0m[ 9%] �[32mBuilding CXX object libs/expression_parser/CMakeFiles/expression_parser_test.dir/expression_test.cpp.o
�[0m�[31m�[1mLinking CXX executable expression_parser_test
�[0m[ 9%] Built target expression_parser_test
�[35m�[1mScanning dependencies of target lua_nscp
�[0m[ 9%] �[32mBuilding CXX object libs/lua_nscp/CMakeFiles/lua_nscp.dir/lua_core.cpp.o
�[0m[ 10%] �[32mBuilding CXX object libs/lua_nscp/CMakeFiles/lua_nscp.dir/lua_cpp.cpp.o
�[0m[ 10%] �[32mBuilding CXX object libs/lua_nscp/CMakeFiles/lua_nscp.dir/lua_script.cpp.o
�[0m/var/tmp/nscp/libs/lua_nscp/lua_script.cpp:172:1: warning: missing initializer for member ‘Lunalua::core_wrapper::FunctionType::function’ [-Wmissing-field-initializers]
};
^
/var/tmp/nscp/libs/lua_nscp/lua_script.cpp:173:83: warning: missing initializer for member ‘Lunalua::core_wrapper::PropertyType::getter’ [-Wmissing-field-initializers]
const Lunalua::core_wrapper::PropertyType lua::core_wrapper::Properties[] = {{0}};
^
/var/tmp/nscp/libs/lua_nscp/lua_script.cpp:173:83: warning: missing initializer for member ‘Lunalua::core_wrapper::PropertyType::setter’ [-Wmissing-field-initializers]
/var/tmp/nscp/libs/lua_nscp/lua_script.cpp:273:1: warning: missing initializer for member ‘Lunalua::registry_wrapper::FunctionType::function’ [-Wmissing-field-initializers]
};
^
/var/tmp/nscp/libs/lua_nscp/lua_script.cpp:274:91: warning: missing initializer for member ‘Lunalua::registry_wrapper::PropertyType::getter’ [-Wmissing-field-initializers]
const Lunalua::registry_wrapper::PropertyType lua::registry_wrapper::Properties[] = {{0}};
^
/var/tmp/nscp/libs/lua_nscp/lua_script.cpp:274:91: warning: missing initializer for member ‘Lunalua::registry_wrapper::PropertyType::setter’ [-Wmissing-field-initializers]
/var/tmp/nscp/libs/lua_nscp/lua_script.cpp:456:1: warning: missing initializer for member ‘Lunalua::settings_wrapper::FunctionType::function’ [-Wmissing-field-initializers]
};
^
/var/tmp/nscp/libs/lua_nscp/lua_script.cpp:457:91: warning: missing initializer for member ‘Lunalua::settings_wrapper::PropertyType::getter’ [-Wmissing-field-initializers]
const Lunalua::settings_wrapper::PropertyType lua::settings_wrapper::Properties[] = {{0}};
^
/var/tmp/nscp/libs/lua_nscp/lua_script.cpp:457:91: warning: missing initializer for member ‘Lunalua::settings_wrapper::PropertyType::setter’ [-Wmissing-field-initializers]
[ 10%] �[32mBuilding CXX object libs/lua_nscp/CMakeFiles/lua_nscp.dir///include/scripts/script_nscp.cpp.o
�[0m�[31m�[1mLinking CXX static library liblua_nscp.a
�[0m[ 10%] Built target lua_nscp
�[35m�[1mScanning dependencies of target settings_manager
�[0m[ 10%] �[32mBuilding CXX object libs/settings_manager/CMakeFiles/settings_manager.dir/settings_manager_impl.cpp.o
�[0mIn file included from /usr/include/crypto++/iterhash.h:5:0,
from /usr/include/crypto++/sha.h:4,
from /var/tmp/nscp/include/settings/impl/settings_http.hpp:11,
from /var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:5:
/usr/include/crypto++/secblock.h:129:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup;
^
/usr/include/crypto++/secblock.h:130:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup;
^
/usr/include/crypto++/secblock.h:131:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup;
^
/usr/include/crypto++/secblock.h:132:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup;
^
In file included from /usr/include/crypto++/filters.h:11:0,
from /usr/include/crypto++/basecode.h:4,
from /usr/include/crypto++/hex.h:4,
from /var/tmp/nscp/include/settings/impl/settings_http.hpp:12,
from /var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:5:
/usr/include/crypto++/algparam.h:329:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AlgorithmParametersTemplate;
^
/usr/include/crypto++/algparam.h:330:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AlgorithmParametersTemplate;
^
/usr/include/crypto++/algparam.h:331:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS AlgorithmParametersTemplate;
^
In file included from /usr/include/crypto++/basecode.h:4:0,
from /usr/include/crypto++/hex.h:4,
from /var/tmp/nscp/include/settings/impl/settings_http.hpp:12,
from /var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:5:
/usr/include/crypto++/filters.h:614:29: warning: ISO C++ 1998 forbids the use of ‘extern’ on explicit instantiations [-Wpedantic]
CRYPTOPP_DLL_TEMPLATE_CLASS StringSinkTemplatestd::string;
^
In file included from /usr/include/crypto++/secblock.h:7:0,
from /usr/include/crypto++/iterhash.h:5,
from /usr/include/crypto++/sha.h:4,
from /var/tmp/nscp/include/settings/impl/settings_http.hpp:11,
from /var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:5:
/usr/include/crypto++/algparam.h: In instantiation of ‘CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string]’:
/usr/include/crypto++/filters.h:793:132: required from here
/usr/include/crypto++/misc.h:59:118: warning: unused variable ‘cryptopp_assert_26’ [-Wunused-variable]
#define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert
, instance)
^
/usr/include/crypto++/misc.h:62:39: note: in definition of macro ‘CRYPTOPP_DO_ASSERT_JOIN’
#define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
^
/usr/include/crypto++/misc.h:59:97: note: in expansion of macro ‘CRYPTOPP_ASSERT_JOIN’
#define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)
^
/usr/include/crypto++/misc.h:55:44: note: in expansion of macro ‘CRYPTOPP_COMPILE_ASSERT_INSTANCE’
#define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, LINE)
^
/usr/include/crypto++/algparam.h:26:9: note: in expansion of macro ‘CRYPTOPP_COMPILE_ASSERT’
CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
^
In file included from /usr/include/crypto++/filters.h:11:0,
from /usr/include/crypto++/basecode.h:4,
from /usr/include/crypto++/hex.h:4,
from /var/tmp/nscp/include/settings/impl/settings_http.hpp:12,
from /var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:5:
/usr/include/crypto++/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate::MoveInto(void_) const [with T = std::basic_ostream]’:
/var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:261:1: required from here
/usr/include/crypto++/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]
AlgorithmParametersTemplate
p = new(buffer) AlgorithmParametersTemplate(this);
^
/usr/include/crypto++/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate::MoveInto(void
) const [with T = const wchar_t_]’:
/var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:261:1: required from here
/usr/include/crypto++/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]
/usr/include/crypto++/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate::MoveInto(void_) const [with T = const char_]’:
/var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:261:1: required from here
/usr/include/crypto++/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]
/usr/include/crypto++/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate::MoveInto(void_) const [with T = std::basic_istream]’:
/var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:261:1: required from here
/usr/include/crypto++/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]
/usr/include/crypto++/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate::MoveInto(void
) const [with T = const int_]’:
/var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:261:1: required from here
/usr/include/crypto++/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]
/usr/include/crypto++/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate::MoveInto(void_) const [with T = unsigned char]’:
/var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:261:1: required from here
/usr/include/crypto++/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]
/usr/include/crypto++/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate::MoveInto(void_) const [with T = const unsigned char_]’:
/var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:261:1: required from here
/usr/include/crypto++/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]
/usr/include/crypto++/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate::MoveInto(void_) const [with T = CryptoPP::RandomNumberGenerator_]’:
/var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:261:1: required from here
/usr/include/crypto++/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]
In file included from /var/tmp/nscp/include/error.hpp:10:0,
from /var/tmp/nscp/include/settings/impl/settings_ini.hpp:12,
from /var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:3:
/var/tmp/nscp/include/error_impl_unix.hpp: In static member function ‘static std::string error::format::from_system(int)’:
/var/tmp/nscp/include/error_impl_unix.hpp:11:44: warning: ignoring return value of ‘char* strerror_r(int, char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
::strerror_r(dwError, buf, sizeof (buf));

                                        ^

In file included from /usr/include/crypto++/secblock.h:7:0,
from /usr/include/crypto++/iterhash.h:5,
from /usr/include/crypto++/sha.h:4,
from /var/tmp/nscp/include/settings/impl/settings_http.hpp:11,
from /var/tmp/nscp/libs/settings_manager/settings_manager_impl.cpp:5:
/usr/include/crypto++/misc.h: At global scope:
/usr/include/crypto++/misc.h:549:20: warning: ‘std::string CryptoPP::StringNarrow(const wchar_t_, bool)’ defined but not used [-Wunused-function]
static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
^
[ 11%] �[32mBuilding CXX object libs/settings_manager/CMakeFiles/settings_manager.dir/settings_handler_impl.cpp.o
�[0m[ 11%] �[32mBuilding CXX object libs/settings_manager/CMakeFiles/settings_manager.dir///include/nscapi/nscapi_helper.cpp.o
�[0m[ 11%] �[32mBuilding C object libs/settings_manager/CMakeFiles/settings_manager.dir///include/simpleini/ConvertUTF.c.o
�[0m�[31m�[1mLinking CXX static library libsettings_manager.a
�[0m[ 11%] Built target settings_manager
�[35m�[1mScanning dependencies of target where_filter
�[0m[ 12%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where.cpp.o
�[0m[ 12%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/operators.cpp.o
�[0m[ 12%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/helpers.cpp.o
�[0m[ 13%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/binary_op.cpp.o
�[0m[ 13%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/helpers.cpp.o
�[0m[ 13%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/list_node.cpp.o
�[0m[ 14%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/node.cpp.o
�[0m[ 14%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/unary_fun.cpp.o
�[0m[ 14%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/unary_op.cpp.o
�[0m[ 15%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/value_node.cpp.o
�[0m[ 15%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/variable.cpp.o
�[0m[ 15%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/engine.cpp.o
�[0m[ 16%] �[32mBuilding CXX object libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/grammar/grammar.cpp.o
�[0mc++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions.
make[2]: *_* [libs/where_filter/CMakeFiles/where_filter.dir///include/parsers/where/grammar/grammar.cpp.o] Error 4
make[1]: *** [libs/where_filter/CMakeFiles/where_filter.dir/all] Error 2
make: *** [all] Error 2
�]0;user@ubuntu: /var/tmp/build�user@ubuntu:/var/tmp/build$

Certificate problem version 0.4.3.19

Hello,

When I start nsclient++ service, I have the 2 following errors:
2014-08-28 08:48:02: error:D:\source\nscp\modules\NRPEServer\NRPEServer.cpp:118: Certificate not found: C:\Program Files\NSClient++/security/certificate.pem (generating a default certificate)
2014-08-28 08:48:02: error:D:\source\nscp\include\socket/server.hpp:136: Failed to load CA C:\Program Files\NSClient++/security/ca.pem: No such file or directory

I pass the first error in giving to everybody the right to do everything with the file certificate.pem. But, how can I resolve the second error ?

Thanks for your help.
Regards,
Patricia Renault

New rest api + thresholds for check_memory

I am having a few problems with specifying thresholds on queries via rest api, specifically check_memory in this case.

Sending the query 'check_memory' with no arguments seems to work as expected, and I notice in the performance data returned back that warning threshold is by default at 80%.

Now i want to change the warning threshold so i input the following query

check_memory "warning=used > 90"

The warning column on all columns drops to zero, which is kind of unexpected, but there was no metric mentioned, so i try again with percentages:

check_memory "warning=used > 90%"

physical % threshold is now working as expected, but i see that all metrics seemed to go up as well, for example cached % is now also warning

Maybe I am missing some filter? Did not read the doc to well, but wait there is more...

check_memory "warning=used > 90m"

This seems to behave exactly like using 90% according the perfdata returned back.

check_eventlog - not like

Hi All

We use check_eventlog, and now we have a problem with the syntax. We don't know what all of failures it can be

NSClient++ 0.4.1.102 - 64bit

This is the Syntax it goes:
message like 'HH6'
message not like 'HH6'


This is the positiv check to grep the current failure that we want exclude

./check_nrpe -H HOST -c CheckEventLog -a file=application MaxWarn=2 MaxCrit=2 "filter=source like 'TCLKD' AND type IN ('error') AND message like 'HH6' AND generated > -1h" truncate=800 unique descriptions "syntax=%id%: %message% (%count%)"

Result: The ckeck found the error with paramenter "like 'HH6'"

15001: RFC Server can't register at gateway, RFC function: RfcAccept RFC error string
 KEY=RFC_IO5 STATUS=CODE=CM_PRODUCT_SPECIFIC_ERROR STATUS=??? DATA=??? 
ID=??? MESSAGE=Connect to DAT gateway failed Connect_PM  TPNAME=WHPC-XI9s.TPHA.HH6, 
GWHOST=isla919, GWSERV=7707  LOCATION    CPIC (TCP/IP) on local host ERROR       partner 
'172.32.14.9:7707' not reached TIME        Thu Sep 11 10:27:07 Especially check lines 
GWHOST= and GAWSERV= . (1)|'eventlog'=1;2;2directory).



This is the negativ check to exclude the HH6 message

./check_nrpe -H HOST -c CheckEventLog -a file=application MaxWarn=2 MaxCrit=2 "filter=source like 'TCLKD' AND type IN ('error') AND message not like 'HH6' AND generated > -1h" truncate=800 unique descriptions "syntax=%id%: %message% (%count%)"

Verry strange output:

settings. Check trace output. Check user acount se...|'eventlog'=3;2;2of wrong  from the  start.initializing mail DLL"



This is the check with a "not like Text-that-is-not-EXIST" to check if the plugin works

./check_nrpe -H HOST -c CheckEventLog -a file=application MaxWarn=2 MaxCrit=2 "filter=source like 'TCLKD' AND type IN ('error') AND message not like 'Text-that-is-not-EXIST' AND generated > -1h" truncate=800 unique descriptions "syntax=%id%: %message% (%count%)"

And verry good, it works, it show's me only the HH6, failure because there is no "Text-that-is-not-Exist" Error on the Event Log.

15001: RFC Server can't register at gateway, RFC function: RfcAccept RFC error string
KEY=RFC_IO5 STATUS=CODE=CM_PRODUCT_SPECIFIC_ERROR STATUS=??? DATA=???
ID=??? MESSAGE=Connect to DAT gateway failed Connect_PM  TPNAME=WHPC-XI9s.TPHA.HH6,
GWHOST=isla919, GWSERV=7707  LOCATION    CPIC (TCP/IP) on local host ERROR       partner
'172.32.14.9:7707' not reached TIME        Thu Sep 11 10:27:07 Especially check lines
GWHOST= and GAWSERV= . (1)|'eventlog'=1;2;2directory).

Any Idea?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.