[Nagios-users] check_nt: Could not parse arguments
Hi,NSClient has been configured for my windows server, now the problem is, in Nagios Interface, when the specified services are checked, I get the message “checknt: Could not parse arguments “ These are common for all the service which are being monitored for my Windows Server (hostname:flexsrvr212). I think there is problem in configuring windows.cfg and commands.cfg which are not interlinking appropriately. I have done the preflight check there was no error found. Attached is my .cfg files for refrence. Kindly guide where my modifications are clashing.Thanks and Regards, Sundar windows.cfg Description: t commands.cfg Description: e -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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
Re: [Nagios-users] Problem in configuring NSClient ++
Hi chris, Thanks for the update, as mentioned byyou, my default template.cfg is in the path, "/usr/local/nagios/etc/objects/template.cfg." The default host definition is intact and uncommented. No " # " in any part of the file. Is there any alternate way to cross check the configuration, am i specifying anything wrong in the configuration. Do tell me if you require any .cfg file from me to verify. Regards,Sundar Original message From:Christopher McAtackney< crist...@gmail.com >Date: 12 May 09 14:54:05Subject: Re: [Nagiosusers] Problem in configuring NSClient ++To: Sundar V S 2009/5/12 Sundar V S :> 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) 19992008 Ethan Galstad (http://www.nagios.org)> Last Modified: 12012008>> License: GPL> Reading configuration data...>> Error: Template 'windowsserver' 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 m ontior my Windows Server> (10.180.117.172) on my Nagios Server (10.180.117.171) having OS RHEL 4.> Please help.Hi Sundar,Check your etc/objects/templates.cfg file and make sure that thefollowing default template is defined;define host{name windowsserver ; The name of this host templateuse generichost ; Inherit default values from the generichost templatecheckperiod 24x7 ; By default, Windows servers are monitored round the clockcheckinterval 5 ; Actively check the server every 5 minutesretryinterval 1 ; Schedule host check retries at 1 minute intervalsmaxcheckattempts 10 ; Check each server 10 times (max)checkcommand checkhostalive ; Default command to check if serversare "alive"notificationperiod 24x7 ; Send notification out at any time day or nightnotificationinterval 30 ; Resend notifications every 30 minutesnotificationoptions d,r ; Only send notifications for specific host statescontactgroups admins ; Notifications get sent to the admins by defaulthostgroups windowsser vers ; Host groups that Windows servers shouldbe a member ofregister 0 ; DONT REGISTER THIS ITS JUST A TEMPLATE}This should be there by default, but it sounds like your configurationis missing this definition for some reason. It may be commented out bydefault, I can't remember but if so, just uncomment it.ChrisGet 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@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
[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.lockWhen 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.6Copyright (c) 19992008 Ethan Galstad (http://www.nagios.org)Last Modified: 12012008 License: GPLReading configuration data... Error: Template 'windowsserver' 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 t hat 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 nagiosusers! 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@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
[Nagios-users] Nagios Web Interface not Accessible on R HEL 4 AS
Hi Friends, I am a newbie, installing Nagios 3.1.0 on RHEL 4 AS . I have completed the basic installation of Nagios, and now when i am trying to Access the url : http://localhost/nagios/ , and after giving the appropriate Username and Password, it is giving following error. ForbiddenYou don't have permission to access /nagios/ on this server.Apache/2.0.52 (Red Hat) Server at localhost Port 80 Below given is the extract from the error logs after accessing the Web Page,[Thu Apr 23 19:45:39 2009] [error] [client 127.0.0.1] Directory index forbidden by rule: /usr/local/nagios/share[Thu Apr 23 19:45:39 2009] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico Please help to resolve this issue, as i am not able to see the Nagios Web Interface page. Thanks and Regards,SundarDear nagiosus...@lists.sourceforge.net ! Get Yourself a cool, short @in.com Email ID now! -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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
[Nagios-users] Help! 403 Forbidden and Internal Server Error during Nagios Web Interface
Hi,After long fighting effort, i have successfully installed Nagios on Red Hat EL4. Now i can enter the Web interface: http://localhost/nagios but when i try to access http:/localhost/nagios/cgibin, it gives error" ForbiddenYou Don’t have permission to access /nagios/cgibin/ on this server.Apache/2.0.52 (Red Hat) Server at 10.180.117.171 Port 80And when i try to access theLeft Hand Menu in Nagios i get the error," Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, r...@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.Apache/2.0.52 (Red Hat) Server at 10.180.117.171 Port 80Please do help to solve the issue, and i wud like have some infor On configuring the ScriptAlias and Alias for Nagios. Thanks and Regards,SundarDea r nagiosus...@lists.sourceforge.net ! Get Yourself a cool, short @in.com Email ID now! -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ 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