Chris Weiss wrote: > When I run nagios -v with cfg_file=/etc/nagios/objects/twiki.cfg > present, it complains: > Error: Could not expand hostgroups and/or hosts specified in service > (config file '/etc/nagios/objects/twiki.cfg', starting on line 24) > Error processing object config files! > > I'm stumped as to why it cannot expand the hostname. It's defined in > the same file and nowhere else. The only other place "twiki-servers" > is referenced is in one of the other host files in conf.d >
That's precisely the reason for the error. You're assigning a service to a hostgroup you have not defined. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null