Error Could Not Expand Members Specified In Hostgroup Nagios
Contents |
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This nagios regex may not be possible with some types of ads) More information
Could Not Expand Hostgroups And/or Hosts Specified In Service
about our ad policies X You seem to have CSS turned off. Please don't fill out nagios host groups this field. You seem to have CSS turned off. Please don't fill out this field. 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
»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 https://sourceforge.net/p/nagios/mailman/message/23439091/ 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 https://www.reddit.com/r/nagios/comments/31x6l4/issue_with_nagios_configs/ 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
package in Lenny uses cfg_dir pointing at /etc/nagios3/conf.d. The directory is pre-populated with the following: contacts_nagios2.cfg extinfo_nagios2.cfg generic-host_nagios2.cfg generic-service_nagios2.cfg host-gateway_nagios3.cfg hostgroups_nagios2.cfg localhost_nagios2.cfg services_nagios2.cfg https://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg30480.html timeperiods_nagios2.cfg I made a new cfg for my gecko server, gecko.cfg, and added it alongside localhost in hostgroups_nagios2.cfg, but when I tried to restart, nagios says: Error: Could not https://www.alienvault.com/forums/discussion/594/nagios3-failed-to-start find any host matching 'gecko' (config file '/etc/nagios3/conf.d/hostgroups_nagios2.cfg', starting on line 18) Error: Could not expand members specified in hostgroup (config file '/etc/nagios3/conf.d/hostgroups_nagios2.cfg', starting on line 18) I worked around could not the issue by removing gecko from the hostgroup members and instead adding a hostgroups entry to the gecko host definition. I believe the object definitions are correct because the gecko entry with an HTTP service is now active. What would prevent me from adding gecko to members of the hostgroup? services_nagios2.cfg: ... define service { hostgroup_name http-servers service_description HTTP could not expand check_command check_http use generic-service notification_interval 0 } ... hostgroups_nagios2.cfg: ... define hostgroup { hostgroup_name http-servers alias HTTP servers # works/original members localhost # broken # members localhost,gecko } ... gecko.cfg: define host{ use generic-host host_name gecko.domain.tld alias gecko address nnn.nnn.nnn.nnn # added when hostgroup.members didn't work hostgroups http-servers } localhost_nagios2.cfg: define host{ use generic-host host_name localhost alias localhost address 127.0.0.1 } # a few non-hostgroup service definitions follow ... ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ 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] Could not expand members specified in hostgro... Jacob Anawalt Re: [Nagios-users] Could not expand members specified i... Marc Powe
Best Of... Unanswered Categories All Categories 5.6KGeneral 561 Getting Started 3 Intergalactic Hang Out 107 AlienVault Labs 401 Security 101 29 AlienVault USM 4.5K Deployment Architecture 844 Installation 657 Updates & Upgrades 314 Logger 156 Server / Console 629 Sensor 1.5K Reporting 141 Release Notes 54 Documentation & How-to Guides 45 Feedback & Feature Requests 45 Security Advisory 31 Plugins 36 AlienVault USM Anywhere 2 Getting Started 1 Sensors 0 Reporting 0 Plugins 0 Orchestration Rules 0 Suppression Rules 0 Security Advisory 0 Release Notes 1 Documentation & How-to Guides 0 Feedback & Feature Requests 0 OSSIM (open source) 492 Deployment Architecture 74 Installation 93 Updates & Upgrades 44 Logger / Sensor 123 Server / Console 41 Correlation Help 33 Reporting 12 Release notes 7 How-to Guides 27 Feedback & Feature Requests 31 Security Advisory 7 Installation 6 Reporting 1 Documentation & How-to Guides 4 Release notes 3 Feedback & Feature Requests 0 Security Advisory 0 Open Threat Exchange (OTX) 72 General 64 How-to Guides 5 Feedback & Feature Requests 3 New Release! AlienVault v5.3.3 is now available for OSSIM and USM. Learn more Nagios3 failed to start cjcboy2 cjcboy2 Big Time Roles Member Joined November 2012 | Visits 21 | Last Active November 2012 21 Points Message Big Time Message November 2012 edited December 2012 in Sensor Experiencing errors on this module. What is the right way of setting this up?RegardsJessie Share post: Best Answer rezguimed November 2012 edited November 2012 Answer ✓ see this answerhttps://www.alienvault.com/forum/index.php?t=msg&goto=1538&S=e4e17b7b25469defc9a2e6c01000a92ethis is a problem with Nagis after creating hostgrouscheck the host groupInitialScanResults.cfg that you createdBest regrads Answers rezguimed November 2012 can you post the erro cjcboy2 November 2012 Here's what I got:-----------------------------alienvault2:/var/log/nagios3# /etc/init.d/nagios3 restartRestarting nagios3 monitoring daemon: nagios3Nagios Core 3.4.1Copyright (c) 2009-2011 Nagios Core Development Team and Community ContributorsCopyright (c) 1999-2009 Ethan GalstadLast Modified: 05-11-2012License: GPLWebsite: http://www.nagios.orgReading configuration data... Read main config file okay...Processing object config file '/etc/nagios3/commands.cfg'...Processing object config directory '/etc/nagios-plugins/config'...Processing object config file '/etc/nagios-plugins/config/dns.cfg'...Processing object config file '/etc/nagios-plugins/config/u