Error Could Not Expand Member Hosts Specified In Hostgroup
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 nagios regex information about our ad policies X You seem to have CSS turned off. could not expand hostgroups and/or hosts specified in service Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. nagios host groups Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or 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, 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 Re: [Nagios-users] hostgroup expansion and regex Re: [Nagios-users] hostgroup expansion and regex From: Terry
This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support. Topic locked 7 posts • Page 1 of 1 Created Host Groups But Getting Configuration Error by Ben.Patrick » Fri Mar 11, 2011 9:16 am Looking for some pointers in the right direction please.I've been creating a batch of meaningful host groups so that I can group relevant hosts together for reporting purposes.After spending the time typing all the groups into the Nagios XI interface, when I try to apply configuration it fails. The Log shows this message Error: Could not expand members specified in hostgroup (config file '/usr/local/nagios/etc/hostgroups.cfg', starting on line https://sourceforge.net/p/nagios/mailman/message/23439091/ 216)I have looked into the /usr/local/nagios/etc/hostgroups.cfg file and it only shows the hostgroups from the current active config in NagiosXI and not the version in the Core.Could it be that Nagios is limited by size of field or certain characters in the field? A sample hostgroup name is:Production - Plant Equipment - Threading LineI also have hostgroups embedded in other hostgroups to form a tree of about three levels.Any help would be appreciated, thanks in advance.Ben Ben.Patrick https://support.nagios.com/forum/viewtopic.php?t=1842&p=7716 Posts: 10Joined: Thu Mar 10, 2011 5:26 am Top Re: Created Host Groups But Getting Configuration Error by admin » Fri Mar 11, 2011 7:56 pm Hi Ben -In order to see the offending statements, you'd have to go to the admin section of the XI interface and select the "Config snapshots" option. The latest error snapshot will contain the config file with the problems. If Nagios XI detects a config problem when you try to restart it, it rolls back to the last known good config files. That's why you don't see it in the current file. Ethan GalstadPresident admin Site Admin Posts: 256Joined: Mon Oct 12, 2009 8:21 am Top Re: Created Host Groups But Getting Configuration Error by Ben.Patrick » Sat Mar 12, 2011 8:27 am Thanks for the reply. Went through the snapshot and it was erroring out anytime I had a hostgroup with hostgroup members. Removed all the hostgroup members and the snapshot successfully applied.I've now gone back in to add the hostgroup members and it still errors out. The message is:Error: Could not expand members specified in hostgroup (config file '/usr/local/nagios/etc/hostgroups.cfg', starting on line 54)Line 54 contains the following string:define hostgroup { hostgroup_name Location - Bellshill - Plant - Coat And Mark alias Location - Bellshill - Plant - Coat And Mark hostgroup_members Production - Plant Equipment - Coat And Mark } The hostgroup member is
Sign in Pricing Blog Support Search GitHub This repository Watch 30 Star https://github.com/naemon/naemon/issues/11 60 Fork 25 naemon/naemon Code Issues 13 Pull requests https://www.reddit.com/r/nagios/comments/31x6l4/issue_with_nagios_configs/ 0 Projects 0 Pulse Graphs New issue Config Parse Errors after creating new Hostgroup in Thruk #11 Closed jryberg opened this Issue Feb 1, 2014 · 4 comments Projects None yet Labels None yet Milestone No could not milestone Assignees No one assigned 2 participants naemon member jryberg commented Feb 1, 2014 I created a new hostgroup testtest.cfg, when I klick "Apply" this message was shown Config Parse Errors there are parse errors referenced template 'generic-service' does not exist in thruk_templates.cfg:22 referenced template 'linux-server' does could not expand not exist in localhost.cfg:20 referenced template 'local-service' does not exist in localhost.cfg:49 referenced template 'local-service' does not exist in localhost.cfg:59 referenced template 'local-service' does not exist in localhost.cfg:69 referenced template 'local-service' does not exist in localhost.cfg:79 referenced template 'local-service' does not exist in localhost.cfg:87 referenced template 'local-service' does not exist in localhost.cfg:96 referenced template 'local-service' does not exist in localhost.cfg:105 referenced template 'local-service' does not exist in localhost.cfg:115 referenced template 'generic-contact' does not exist in contacts.cfg:24 referenced template 'windows-server' does not exist in windows.cfg:18 referenced template 'generic-service' does not exist in windows.cfg:48 referenced template 'generic-service' does not exist in windows.cfg:57 referenced template 'generic-service' does not exist in windows.cfg:66 referenced template 'generic-service' does not exist in windows.cfg:75 referenced template 'generic-service' does not exist in windows.cfg:84 referenced template 'generic-service' does not exist in windows.cfg:93 referenced template 'generic-service' does not exist in windows.cfg:102 re
»reddit.comnagioscommentsWant to join? Log in or sign up in seconds.|Englishlimit my search to /r/nagiosuse the following search parameters to narrow your results:subreddit:subredditfind submissions in "subreddit"author:usernamefind submissions by "username"site:example.comfind submissions from "example.com"url:textsearch for "text" in urlselftext:textsearch for "text" in self post contentsself:yes (or self:no)include (or exclude) self postsnsfw:yes (or nsfw:no)include (or exclude) results marked as NSFWe.g. subreddit:aww site:imgur.com dogsee the search faq for details.advanced search: by author, subreddit...this post was submitted on 08 Apr 20151 point (60% upvoted)shortlink: remember mereset passwordloginSubmit a new linkSubmit a new text postnagiossubscribeunsubscribe1,046 readers~3 users here nowcreated by mpierrea community for 6 yearsmessage the moderatorsMODERATORSmpierredavethebarbmikeoquinnoldlinuxguylp86nomadismydjabout moderation team »discussions in /r/nagios<>X1 points · 8 comments Host down by default1 points · 2 comments check_smart.pl - MegaRAID and regex?4 points · 6 comments Nagios Learning Material2 points · 1 comment check_linux_stats.pl does not work with user nagios1 points NConf setup on FAN1 points · 3 comments Disable all host and service notifications for a specific host, via config3 points SMS Gateway 4G3 points · 1 comment Returning Powershell script results0 points · 3 comments 4.2.0 Tried and failed....0 points · 1 comment Replacing qpageThis is an archived post. You