Nagios Error Could Not Find Any Host Matching
Contents |
• All times are UTC - 6 hours [ DST ] Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, https://support.nagios.com/forum/viewtopic.php?f=7&t=11983&start=10 FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Could not find any hostgroup matching 'allhosts' up vote 2 down vote favorite I've just started configuring Nagios from http://unix.stackexchange.com/questions/99556/could-not-find-any-hostgroup-matching-allhosts scratch, and I'm new at this. I've been getting this error after adding objects/printer.cfg Error: Could not find any hostgroup matching 'allhosts' (config file '/etc/nagios3/objects/printer.cfg', starting on line 1) Error processing object config files! And this is the content of the printer.cfg define host{ use generic-host ; Inherit default values from a template host_name Printer_klen ; The name we're giving to this printer alias Printer_klen ; A longer name associated with the printer address 10.1.0.45 ; IP address of the printer hostgroups allhosts ; Host groups this printer is associated with } define service{ use generic-service ; Inherit values from a template host_name Printer_klen ; The name of the host the service is associated with service_description Printer Status ; The service description check_command check_Printer_klen!-C public ; The command used to monitor the service normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined } define service{ use generic-service host_name Printer_klen service_description PING check_comm
has found an object which refers to https://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg25659.html a host called win4503, but can't find a host definition for it anywhere in your configuration files. > Error: Could not expand hostgroups http://forums.monitoring-fr.org/index.php?topic=156.0 and/or hosts specified in service (config > file '/usr/local/nagios/etc/windows.cfg', starting on line 36) This tells you where Nagios found this problem. It looks could not like you have defined a service in your windows.cfg file, but have not created a host definition for host "win4503'. Have a look through the sample configuration files to see what a host definition should look like, or see http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host An excellent way to get could not find started with Nagios is to read the book "Nagios" by Wolfgang Barth. http://nostarch.com/nagios_2e.htm hth, Jim ------------------------------------------------------------------------------ _______________________________________________ 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 Previous message View by thread View by date Next message [Nagios-users] Nagios Error: Could not find any host matching/... Dei Bertine Re: [Nagios-users] Nagios Error: Could not find any host ... Jim Avery Re: [Nagios-users] Nagios: Adding Windows Servers to ... Dei Bertine Re: [Nagios-users] Nagios: Adding Windows Servers... Jim Avery Reply via email to Search the site The Mail Archive home nagios-users - all messages nagios-users - about the list Expand Previous message Next message The Mail Archive home Add your mailing list FAQ Support Privacy 765d77c80904040055u11b89e86m9b7423eeb014b711@mail.gmail.com
#6 du 18 juin 2016 Voici le compte-rendu du Centreon Camp #6 du samedi 18 juin 2016. Le Centreon Camp est un événement communautaire organisé par Centreon pour informer ses utilisateurs et clients des nouveautés de leurs produits (Centreon, Centreon Web/Engine/Broker/MBI) et accueillir des présentations des membres de la communauté. Cette année, c’est Éric Coquard et Charles Judith qui ont […] Premier anniversaire du Meetup Paris Monitoring : interview de Philippe Lewin Le premier Meetup Paris Monitoring s’est déroulé le 04 juin 2015, soit il y a un an. Et pour son premier anniversaire, nous avons souhaité faire un bilan et interviewer l’organisateur Philippe Lewin (@PhilippeLewin) de Somone. Cette interview a eu lieu lors d’un… meetup Paris Monitoring, le dernier précédent l’anniversaire. Aujourd’hui, le meetup Paris Monitoring […] Appel à présentation pour le CentreonCamp #6 du samedi 18 juin 2016 L’équipe de Centreon organise son 6e CentreonCamp le samedi 18 juin 2016, dans ses nouveaux locaux du 46-52 rue Albert à Paris. Dans le programme, en dehors des sujets habituels sur les nouveautés et les prochaines versions, trois slots sont disponibles : les utilisateurs de Centreon qui souhaitent faire un retour, présenter un cas d’usage […] Meetup Paris Monitoring #6 : interview de Julien Danjou pour «Gnocchi: metric as a service» Le 6e Meetup Paris Monitoring a eu lieu le mercredi 18 mai et avait pour thème «la collecte, le stockage et la manipulation de métriques/séries temporelles». Cet événement était sponsorisé par Logmatic.io et Ikoula. Durant ce meetup, Julien Danjou (@juldanjou), Principal Software Engineer chez Red Hat, nous a présenté le projet Gnocchi, intég