If nagios 4.0.8 is configured to use performance data (for example with pnp4nagios) then nagios log file is filled with warning messages continuously. The solution is to add a patch described here: http://tracker.nagios.org/view.php?id=534 Patch: http://tracker.nagios.org/file_download.php?file_id=205&type=bug From nagios.log: [1416923287] Worker 8647: Unknown jobtype: 10 [1416923287] wproc: Unknown job type: 10 [1416923288] Worker 8649: Unknown jobtype: 10 [1416923288] wproc: Unknown job type: 10 [1416923289] Worker 8634: Unknown jobtype: 10 [1416923289] wproc: Unknown job type: 10 [1416923289] Worker 8632: Unknown jobtype: 10 [1416923289] wproc: Unknown job type: 10 [1416923289] Worker 8633: Unknown jobtype: 10 [1416923289] wproc: Unknown job type: 10 [1416923289] Worker 8642: Unknown jobtype: 9 [1416923289] wproc: Unknown job type: 9 [1416923290] Worker 8637: Unknown jobtype: 10 [1416923290] wproc: Unknown job type: 10 [1416923290] Worker 8648: Unknown jobtype: 10 [1416923290] wproc: Unknown job type: 10 [1416923291] Worker 8635: Unknown jobtype: 10 [1416923291] wproc: Unknown job type: 10 [1416923291] Worker 8645: Unknown jobtype: 10 [1416923291] wproc: Unknown job type: 10 Reproducible: Always Steps to Reproduce: 1.configure nagios with performance data Actual Results: logs are filled with unwanted and unneeded warnings: [1416923289] Worker 8642: Unknown jobtype: 9 [1416923289] wproc: Unknown job type: 9 [1416923290] Worker 8637: Unknown jobtype: 10 [1416923290] wproc: Unknown job type: 10 Expected Results: logs are clean
Thanks, I'll try to reproduce this and test the patch.
It's pretty straightforward to reproduce: enable anything with "performance" in the name in /etc/nagios/nagios.cfg, and then watch /var/nagios/nagios.log.
The patch looks OK, and fixed the issue. I just committed a revbump that includes it: *nagios-core-4.0.8-r1 (26 Nov 2014) 26 Nov 2014; Michael Orlitzky <mjo@gentoo.org> +files/fix-bogus-perf-data-warnings.patch, +nagios-core-4.0.8-r1.ebuild, -nagios-core-4.0.8.ebuild: Revbump to fix bugs #388323 and #530640.