Help with Monitoring Windows Machines
Rick Knight
rick_knight at rlknight.com
Wed Oct 1 21:12:14 CEST 2008
I've installed Nagios and have it working to monitor my linux localhost
without problems, so I tried to add a Windows server to monitor. I
followed the instructions in Nagios Documentation, Monitoring Windows
Machines. After installing and starting NSClient++ on the Windows
machine and making the changes to /usr/local/nagios/etc/nagios.cfg and
/usr/local/nagios/etc/objects/windows.cfg I tried verifying the
configuration with /usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg. I get this error...
Nagios 3.0b3
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 08-30-2007
License: GPL
Reading configuration data...
Error: Could not find any hostgroup matching 'allhosts' (config file
'/usr/local/nagios/etc/objects/windows.cfg', starting on line 25)
Error: Hostgroup has no members (config file
'/usr/local/nagios/etc/objects/windows.cfg', starting on line 47)
***> 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 get this on 2 linux PCs configured similarly. I've re-read the
instructions and I've got everything correct.
Why am I getting this error?
Thanks,
Rick
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list