I've setup about 3 or so nagios boxes (for various companies) and i'm trying to setup another however I am having some real problems.
Each box is running Fedora Core 3 or 4 and installed using EXACTLY the same list of commands (instructions) using EXACTLY the same versions of all the components. Ive tried using Nagios 1.3 and 2.0 each has this same problem.
The extended host definitions just will not work. Ive been onto this for 3 solid days and have got nowhere with getting Nagios to compile with the extended host definitions.
This is what i'm compiling with:
./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include --with-template-extinfo
Then whenever I try to add an extended host definition into an external file they are ignored. If i add them into the hosts.cfg (which is how I did it on all the previous boxes i've built and works fine) i get this:
Error: Invalid hostextinfo object directive 'host_group'.
Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 47.
Has anybody got any ideas at all i'm really at the end of my tether here!