From: Daniel B. <dan...@gm...> - 2013-09-29 16:51:29
|
Hi all! On Wednesday, 25 September 2013 22:02:14 -0300, Daniel Bareiro wrote: > 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? Although still have these messages in the log, I could fix the errors I was having to try to get the Map, Trends and Alerts -> Histogram. The configure was not finding the GD library and include files. When now entered in the status map for the first time, the default was "user-supplied coords", with the message below: "You have not supplied any host drawing coordinates, so you cannot use this layout method. Read the FAQs for more information on specifying drawing coordinates or select a different layout method" If I select "circular (marked up)", I think it was the layout I was using with Nagios Core 3.5.0, and update, I keep getting the same message without being able to see the map. Is there to do some additional configuration? Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 |