Nagios Error Could Not Expand Host Groups
Contents |
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to
Error: Could Not Find Any Host Matching Nagios
have CSS turned off. Please don't fill out this field. You seem to have CSS nagios error could not find any hostgroup matching 'windows-servers' turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or nagios could not find any hostgroup matching drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse Nagios Core Mailing Lists Nagios Core Nagios network monitoring software is enterprise server monitoring Brought to you by: egalstad,
Nagios Hostgroup
swilkerson Summary Files Reviews Support Wiki Mailing Lists Donate SVN CVS Git ▾ Nagios BPI Nagios Core Nagios Core Docs Nagios V-Shell NDOUtils NRDP NRPE NSCA NSTI nagios-announce nagios-checkins nagios-devel nagios-devteam nagios-drama nagios-project nagios-users nagios-users-br nagios-users-ru [Nagios-devel] Empty hostgroups ok, but not if services defined? [Nagios-devel] Empty hostgroups ok, but not if services defined? From: Marcus Fleige
trying to add a couple of hostgroups. The way I have things organized is /etc/nagios/conf.d/ contains individual files for each host and /etc/nagios/objects contains hostgroup definitions used to define common services https://sourceforge.net/p/nagios/mailman/message/18950202/ to be monitored. I've got all the objects/*.cfg files included in nagios.cfg: cfg_file=/etc/nagios/objects/commands.cfg cfg_file=/etc/nagios/objects/contacts.cfg cfg_file=/etc/nagios/objects/timeperiods.cfg cfg_file=/etc/nagios/objects/templates.cfg cfg_file=/etc/nagios/objects/localhost.cfg cfg_file=/etc/nagios/objects/windows.cfg cfg_file=/etc/nagios/objects/linux.cfg cfg_file=/etc/nagios/objects/switch.cfg cfg_file=/etc/nagios/objects/printer.cfg cfg_file=/etc/nagios/objects/router.cfg #cfg_file=/etc/nagios/objects/winhttp.cfg #cfg_file=/etc/nagios/objects/twiki.cfg #cfg_file=/etc/nagios/objects/bugzilla.cfg cfg_file=/etc/nagios/objects/mysql.cfg cfg_file=/etc/nagios/objects/exchange.cfg Sample host definition: #/etc/nagios/conf.d/mailsrv.cfg define host{ use windows-server ; https://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg30783.html Inherit default values from a template host_name mailsrv ; The name we're giving to this host alias mailsrv.domain.com ; A longer name associated with the host hostgroups windows-servers,exchange-servers address 10.239.1.16 ; IP address of the host parents cisco-3560g } Sample hostgroup definition: #/etc/nagios/objects/exchange.cfg define hostgroup{ hostgroup_name exchange-servers alias Exchange Servers } define service{ use generic-service hostgroup_name exchange-servers service_description Exchange Information Store check_command check_nt!SERVICESTATE!-d SHOWALL -l MSExchangeIS } define service{ use generic-service hostgroup_name exchange-servers service_description Exchange Management check_command check_nt!SERVICESTATE!-d SHOWALL -l MSExchangeMGMT } define service{ use generic-service hostgroup_name exchange-servers service_description Exchange MTA Stacks check_command check_nt!SERVICESTATE!-d SHOWALL -l MSExchangeMTA } define service{ use generic-service hostgroup_name exchange-servers service_description Exchang
Members Icinga PNP Icinga Exchange Monitoring Plugins NagVis Undone Threads Go to Page Bottom Sitemap monitoring-portal.org https://monitoring-portal.org/index.php?thread/12019-error-could-not-expand-hostgroups-and-or-hosts-specified-in-service/ » Forum » Nagios » General » Error: Could not expand hostgroups and/or hosts specified in service This site uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. More details Your browser has JavaScript disabled. If you would like to use all features of could not this site, it is mandatory to enable JavaScript. lifehack Beginner Posts 9 Number of hosts 120 Number of services >1000 Operating Systems Linux 1 Error: Could not expand hostgroups and/or hosts specified in service Sep 26th 2008, 10:43am Folgendes Setup: Ich nutze Service Templates und in diesen Service Templates ist jeweils hostgroup_name could not find definiert. Ich würde jetzt gerne den Service definieren welcher auf diesem Template basiert ohne einen Host, als Mitglied der Hostgruppe, definieren zu müssen. Es wird eine leere Hostgrupe festgestellt und das wird als fehlender host_name interpretiert und als Folge bekomme ich die Fehlermeldung aus dem Topic. Gibt es eine Möglichkeit Nagios diesen Umstand ignoieren zu lassen? Danke. Quote Report Content Go to Page Top Sascha Professional Posts 868 Number of hosts >500 Number of services >2000 Operating Systems Win200x, RHEL4/5/6, OES2 2 Sep 26th 2008, 12:01pm Bahnhof? Vielleicht versuchst du es nochmal zu erklären, diesmal eventuell mit den Templates und was du eigentlich erreichen möchtest? S Quote Report Content Go to Page Top lifehack Beginner Posts 9 Number of hosts 120 Number of services >1000 Operating Systems Linux 3 Sep 26th 2008, 12:19pm Ok. Beispiel Service Template: define service{ use remote-service,srv-pnp ; Name of service template to use name webserver-check check_command check_web hostgroup_name webse