Урааа, как же вы мне помогли, третий день вожусь уже. Все оказалось как всегда просто.
Спасибо вам огромнейшее.
Может кому пригодится: ln -s /usr/local/bin/perl /usr/bin/perl
Новая ошибка возникла, может кто сталкивался
Generate config log:
[INFO] Starting generate_config script
[INFO] Generating global config files
[INFO] Generating config for Nagios-collector 'Default Nagios'
[INFO] Ended generate_config script
Running syntax check:
Default_collectorError generating config
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL
Website:
https://www.nagios.orgReading configuration data...
Read main config file okay...
Error: Service has no hosts and/or service_description (config file '/usr/local/www/nconf/temp/Default_collector/advanced_services.cfg', starting on line 120)
Error processing object config files!
***> The name of the main configuration file looks suspicious...
Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of another configuration file. The
main configuration file is typically '/usr/local/etc/nagios/nagios.cfg'
***> One or more problems was encountered while processing the config files...