Hi,
i am trying to monitor VNC service via NSclient but getting error i have used this link for configuration,
http://www.kernelhardware.org/nagios-ns ... -services/
but i am getting error ..
[root@localhost ~]# service nagios restartRunning configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration.
[root@localhost ~]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 3.3.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 07-25-2011
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config file '/usr/local/nagios/etc/objects/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/templates.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows.cfg'...
Error: Could not find any hostgroup matching 'musewerx-72c7b0' (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 156)
Error processing object config files!
***> 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.
hopes for your suggestions ...
Thanks in Advance,
VNC Service Not Monitoring Via Nsclient??
Re: VNC Service Not Monitoring Via Nsclient??
The clue is here:- Error: Could not find any hostgroup matching 'musewerx-72c7b0' (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 156)
Have you defined a hostgroup called musewerx-72c7b0? is there a typo?
Have you defined a hostgroup called musewerx-72c7b0? is there a typo?
-
mohsin2011
- Posts: 63
- Joined: Fri Sep 09, 2011 1:14 am
Re: VNC Service Not Monitoring Via Nsclient??
Thanks for your reply i have got the answer i was just getting error due to the wrong executable file i mentioned in the windows.cfg for monitoring service !