Home > Could Not > Duplicate Definition Found For Host

Duplicate Definition Found For Host

Contents

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. The time now is 02:36 PM. © WebHostingTalk, 1998. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section and the Changelog CHANGES section as well to find out what has changed. The issue with nagios.cfg file is I added following lines in it: cfg_dir=/etc/nagios/servers cfg_file=/etc/nagios/servers/host.cfg Because of above lines when nagios checking nagios.cfg file its getting host.cfg file two times, one isĀ becauseĀ of http://wiiplay.net/could-not/your-requested-host-could-not-be-resolved-by-dns.html

But when I try configure network printer, after restart Icinga, console show me: Source Code Processing object config file '/etc/icinga/objects/printer.cfg'... Any good nagios people in here who would be willing to help me out? all now works. Leave a Reply Cancel reply Enter your comment here...

Duplicate Definition Found For Host

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. Checked 0 service escalations. Checked 0 extended host info definitions. Related By Sandeep • Posted in Nagios • Tagged nagios, software 3 Post navigation ← Wake On LAN withpowerwake Linux figlet andbanner → 3 comments on “Warning duplicate definition found for

Checked 0 service dependencies. In the main cfg file of Icinga(icinga.cfg), I had some entries as shown below: cfg_dir=/etc/icinga/conf.d cfg_file=/etc/icinga/conf.d/hostgroups.cfg This is the root cause of the warning. Any advice? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the icinga-users mailing list Review your favorite Linux distribution.

Lunacy - what does it mean? Nagios Duplicate Definition Found For Hostgroup Blog Stats 958,148 hits Search Search Follow Blog via Email Enter your email address to follow this blog and receive notifications of new posts by email. It was giving me the same problem...as soon as I linked in windows.cfg in my nagios.cfg, it broke the config. Processing object config file '/usr/local/icinga/etc/objects/commands.cfg'...

Reply With Quote 0 09-17-2013,09:02 AM #4 cerrie View Profile View Forum Posts View Forum Threads Temporarily Suspended Join Date Jun 2013 Posts 139 FIXED, Made a new admin, What would You-Know-Who want with Lily Potter? I don't think there is a proper way to do it....just easier for me to follow I guess. Which ones?

Nagios Duplicate Definition Found For Hostgroup

I'm a bit stuck on this...I'm thinking of ordering a nagios book to help me walk through a good configuration. pop over to these guys Meaning of grey and yellow/brown colors of buildings in google maps? Duplicate Definition Found For Host define hostgroup{ hostgroup_name test alias Test Servers members localhost } ############################################################################### ############################################################################### # # SERVICES # ############################################################################### ############################################################################### # Generic service definition template - This is NOT a real service, just Nagios Error: Could Not Add Object Property In File Checking obsessive compulsive processor commands...

BINGO! define host{ use generic-host ; Name of host template to use host_name Est alias Est.xeng.com ; localhost.localhostdomain address 127.0.0.1 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r I can easily reset everything i've done via the NST interface to a basic ping config. How should I deal with a difficult group and a DM that doesn't help? Nagios Hostgroup

Forum Join Now Featured New Posts FAQ Rules Forum Actions Mark Forums Read Quick Links Today's Posts My Posts View Site Leaders Helpdesk Memberships Web Hosting News Find A Host Advanced 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. Processing object config file '/etc/icinga/default/appgroups.cfg'... First thing...the check_nt service was not defined in commands.cfg.

Checking services... define host{ use generic-host ; Name of host template to use host_name Est alias Est.xeng.com ; localhost.localhostdomain address 127.0.0.1 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r Asgorath, Apr 28, 2009 Asgorath, Apr 28, 2009 #12 Apr 28, 2009 #13 Chiggy [H]Lite Messages: 84 Joined: Nov 23, 2003 [[email protected] nagios]# /usr/sbin/nagios -v /usr/nagios/nagios.cfg I think your nagios.cfg file

and my command.cfg in line 126 is: #check_N_utilizadores_sql define command { command_name check_N_utilizadores_sql comand_line /usr/lib/nagios/plugins/check_N_utilizadores_sql.sh } bash nagios share|improve this question asked Jan 11 '14 at 14:56 user3161343 385 1

Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [[email protected] nagios]#Click to expand... the difference is that it is related to localhost.cfg file. Processing object config file '/etc/icinga/global/host_templates.cfg'... You are currently viewing LQ as a guest.

Not the answer you're looking for? Checking hosts... I ran this... From what I understand, that template shouldn't do much of anything, its just there to define object definitions.

Thanks for your help Quote Report Content Go to Page Top Share Facebook 0 Twitter 0 Google Plus 0 Reddit 0 monitoring-portal.org » Forum » Icinga » Icinga 1.x » Privacy more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Checking time periods... Web Hosting Talk Newsletters Subscribe Now & Get The WHT Quick Start Guide!

Here is the code of my templates.cfg Code: ############################################################################### # TEMPLATES.CFG - SAMPLE OBJECT TEMPLATES # # Last Modified: 10-03-2007 # # NOTES: This config file provides you with some example define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin } ############################################################################### ############################################################################### # # HOSTS # ############################################################################### ############################################################################### # Generic host definition template - This is NOT a real host, just Warning if > 20 users, critical # if > 50 users. Send to Email Address Your Name Your Email Address Cancel Post was not sent - check your email addresses!

define service{ use local-service ; Name of service template to use host_name localhost service_description Current Load check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } Asgorath, Apr 28, 2009 Asgorath, Apr 28, 2009 #16 Apr 28, define hostgroup{ hostgroup_name RedHatLinux alias Xeng Servers members Est } uppalagayatri View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by uppalagayatri Thread Says Cogeco Peer 1 Offers ExpressRoute for Secure Microsoft Cloud Connections Web Hosting Talk Team A Division Of: Penton Media Community Leaders: SoftWareRevue, anon-e-mouse, writespeak, bear, Ash, Postbox WHT Membership Sponsored Checked 0 host dependencies.

Nest a string inside an array n times How to find positive things in a code review? * at end of directory path Plausibility of the Japanese Nekomimi more hot questions Warning if > 250 processes, critical if # > 400 users. They may or may not work on # your system, as they must be modified for your plugins. Error processing object config files!

Error processing object config files! ***> One or more problems was encountered while processing the config files...