Problem in configuring NSClient ++

MAD sri.lumpa at free.fr
Tue May 12 11:29:14 CEST 2009


It seems you used a template when you created your host definition into Nagios, but you hadn't created it. Try create the 'windows-server' template (I think you can also find it in some configuration file samples with your distribution of Nagios) or remove the template of your host definition if you don't need it.

Marc-André


----- Mail Original -----
De: "Sundar V S" <sunnywavez at in.com>
À: nagios-users at lists.sourceforge.net
Envoyé: Mardi 12 Mai 2009 11h07:10 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: [Nagios-users] Problem in configuring NSClient ++




Hi, 

I configured NSClient on Windows server, as menitoned in Nagios Documentation. Now, when i restarted the Nagios service on my Nagios Server, i gave me the following error, 
Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock 

When i started the nagios service it gave, 
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration . 

I tried to verify the nagios configuration it gave me the below error. 

Nagios 3.0.6 
Copyright (c) 1999-2008 Ethan Galstad ( http://www.nagios.org ) 
Last Modified: 12-01-2008 

License: GPL 
Reading configuration data... 

Error: Template 'windows-server' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25) 
***> 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. 

Can anyone guide me whats going wrong in my configuration. I followed all the steps mentioned in NSCLient++ site. I want to montior my Windows Server (10.180.117.172) on my Nagios Server (10.180.117.171) having OS RHEL 4. Please help. 



Dear nagios-users! Get Yourself a cool, short @in.com Email ID now! 
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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