I looked and saw that the paths wre not accurate so I changed It, a basic check i should have done my slef :(, ran the cmd again and now the output changed.
[email protected]:~# /usr/local/bin/nagios -v /usr/local/etc/nagios//nagios.cfg
Copyright © 1999-2008 Ethan Galstad (nagios.org)
Last Modified: 02-26-2008
Reading configuration data…
Error: Could not find a service matching host name ‘lagad02’ and description ‘C:
\ Drive Space’ (config file ‘/usr/local/etc/nagios/servicegroups/diskspace.cfg’,
starting on line 1)
Error: Could not expand member services specified in servicegroup (config file ‘
/usr/local/etc/nagios/servicegroups/diskspace.cfg’, starting on line 1)
***> One or more problems was encountered while processing the config files…
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
I have noticed the errors my slef and will edit the files with wrong sections.
I will post back the results.