Can someone please assist me on this? I am a newbie to Nagios, Installed the nagios core, created and updated some config files but when i ran the test configuration command i get the error below.
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Code: Select all
Error: Could not find any host matching '$HOSTNAME$' (config file '/usr/local/nagios/etc/objects/services/local-clock-offset.cfg', starting on line 2)
Error: Failed to expand host list '$HOSTNAME$' for service 'local-clock-offset' (/usr/local/nagios/etc/objects/services/local-clock-offset.cfg:2)
Error processing object config files!
Please need help