[Nagios-users] Hiding hostgroups, but still referencing them
I've got some scripts that do a wget in order to receive data from a hostgroup. The hostgroup I'm using is an artificial, really big group that is of no use to anyone except to get said report. Is there any way to hide this hostgroup on the display, yet still access it for data? The usual advice for hiding a hostgroup is just to use a 'register 0', but then the wget doesn't return anything when referencing it. Thanks for any pointers... -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ 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
Re: [Nagios-users] Hiding hostgroups, but still referencing them
Boyer, Timothy A. wrote: I’ve got some scripts that do a wget in order to receive data from a hostgroup. The hostgroup I’m using is an artificial, really big group that is of no use to anyone except to get said report. Is there any way to hide this hostgroup on the display, yet still access it for data? The usual advice for hiding a hostgroup is just to use a ‘register 0’, but then the wget doesn’t return anything when referencing it. Thanks for any pointers… Of course the wget will not work . register 0 tells nagios not to display the group in the WebUI ( it does more , but currently that is the relevant part) and as you are trying to access the data via a HTTP request , the item in question is not passed to the web provider (apache) and there for not coming up for a wget request. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ 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
Re: [Nagios-users] Hiding hostgroups, but still referencing them
Correct, and I understand that. So is there a way to hide the hostgroup and still reference it? -Original Message- From: Assaf Flatto [mailto:nag...@flatto.net] Sent: Thursday, January 26, 2012 8:22 AM To: Nagios Users List Subject: Re: [Nagios-users] Hiding hostgroups, but still referencing them Boyer, Timothy A. wrote: I've got some scripts that do a wget in order to receive data from a hostgroup. The hostgroup I'm using is an artificial, really big group that is of no use to anyone except to get said report. Is there any way to hide this hostgroup on the display, yet still access it for data? The usual advice for hiding a hostgroup is just to use a 'register 0', but then the wget doesn't return anything when referencing it. Thanks for any pointers... Of course the wget will not work . register 0 tells nagios not to display the group in the WebUI ( it does more , but currently that is the relevant part) and as you are trying to access the data via a HTTP request , the item in question is not passed to the web provider (apache) and there for not coming up for a wget request. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ 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 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ 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
Re: [Nagios-users] Hiding hostgroups
On Tuesday September 2 2008 05:14:55 am Paulus, Jake wrote: Just use the register 0 to hide the hostgroup from the CGI's. The group will still be used in service definitions, etc. by the Nagios daemon. (this seems to be an undocumented feature and I haven't actually tested it in Nagios 3 but I used it in Nagios 2.11.) I use this feauture in Nagios3. So it works there too. Christian -Jake -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Horsfall Sent: Monday, September 01, 2008 7:39 PM To: Nagios Users Subject: Re: [Nagios-users] Hiding hostgroups On Mon, 1 Sep 2008, moshe sharon wrote: The only best way to do it is to create different contact with permissions to the relevant hostgroup this contactshould not be added to authorize all host and service information, commands etc.. in the cgi Unfortunately only hosts (and services) can have contacts, not host groups. -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail:[EMAIL PROTECTED] - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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
Re: [Nagios-users] Hiding hostgroups
Just use the register 0 to hide the hostgroup from the CGI's. The group will still be used in service definitions, etc. by the Nagios daemon. (this seems to be an undocumented feature and I haven't actually tested it in Nagios 3 but I used it in Nagios 2.11.) -Jake -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Horsfall Sent: Monday, September 01, 2008 7:39 PM To: Nagios Users Subject: Re: [Nagios-users] Hiding hostgroups On Mon, 1 Sep 2008, moshe sharon wrote: The only best way to do it is to create different contact with permissions to the relevant hostgroup this contactshould not be added to authorize all host and service information, commands etc.. in the cgi Unfortunately only hosts (and services) can have contacts, not host groups. -- Dave Horsfall DTM VK2KFU Ph: +61 2 9552-5509 (direct) +61 2 9552-5500 (switch) Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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