Upgrading to Nagios 4.0.0

Daniel Bareiro daniel-listas at gmx.net
Thu Sep 26 03:02:14 CEST 2013


Hi, Sven.

On Wednesday, 25 September 2013 21:45:29 +0200,
Sven Nierlein wrote:

> > Are you using the latest version of PNP4Nagios?  If so, maybe it
> > doesn't support Nagios 4.0 yet?

> PNP4Nagios works with Nagios4 without any modification, but you have
> to compile the npcdmod against the Nagios4 headers and includes.

I was reviewing the installation of Nagios which also installed
PNP4Nagios and I could not find the source code of the latter so I will
not be able to uninstall it with a simple "make uninstall". So what I'm
trying to do is disable it.

For this I was reviewing the Nagios configuration files in
/usr/local/nagios/etc.

nagios.cfg: I commented the following line:

broker_module=/usr/local/nagios/bin/npcdmod.o

Also I deleted the references to PNP4Nagios in the configuration files
into the "objects" directory.

With these changes I got that Nagios can start, however there are some
sections that are not yet operational:

* Map.
* Trends.
* Alerts -> Histogram.

Reviewing again in /usr/local/nagios/var/nagios.log, I found the
following records are repeated continuously:

-------------------------------------------------------------------------
[1380156849] wproc: HOST PERFDATA job 1983 from worker Core Worker 27245 is a non-check helper but exited with return code 2
[1380156849] wproc:   command: /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
[1380156849] wproc:   early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
[1380156849] Worker 27245: Unknown jobtype: 9
[1380156849] wproc: Unknown job type: 9
[1380157096] wproc: SERVICE PERFDATA job 2020 from worker Core Worker 27246 is a non-check helper but exited with return code 2
[1380157096] wproc:   command: /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
[1380157096] wproc:   early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
[1380157096] Worker 27246: Unknown jobtype: 10
-------------------------------------------------------------------------

May this have to do with the components that are not yet operational?



Thanks for your reply.


Regards,
Daniel
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Squeeze - Linux user #188.598
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130925/2ea0ca55/attachment.sig>
-------------- next part --------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list