is there a way to pass contact username thru url to status.cgi for authentication?

dave stern - e-mail.pluribus.unum dit.dash at gmail.com
Thu Oct 7 13:13:40 CEST 2010


Yes
http://nagiosuser:nagiospassword@nagioshost.domain
/nagios/cgi-bin/status.cgi\?host=server...

Note the backslash before the question mark.

BTW, I think IE blocks this for what MicroSloth calls "security reasons"

On Thu, Oct 7, 2010 at 1:48 AM, Steve Kemp <
steve at dedicatedserversaustralia.com.au> wrote:

> Im looking for a way to allow remote access to Nagios based on specific
> clients (contacts) in Nagios without using http authentication
>
>
>
> The remote access is being displayed in another site using <object> tags
>
>
>
> I don’t however want them to have access to any data not relating to their
> specific servers.
>
>
>
> So for example:
>
>
>
>
> http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.com.au&style=detailis what I would like to load but the cgis can only show the data relating to
> the contacts servers.
>
>
>
> In Firefox and Chrome I can pass authentication thru the browser via
> http://user:pass@ but this isn’t allowed in IE, and isn’t ideal or secure
> anyway.
>
>
>
> Is there a way to pass the contact variable thru to the browser ie
> http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.com.au&style=detail&contact=xyzso that while the user isn’t given a popup login box they are still
> restricted to only seeing data relating to their server or servers
>
>
>
> I have hunted high and low for a way around this and have had no luck so
> far….
>
>
>
> Regards
>
>
>
> *Steve Kemp*
>
> *Dedicated Servers Australia*
>
> [image: Description: ded-aus-logo]
>
> *www.dedicatedserversaustralia.com.au*
>
> *Tel:* *+61 7 30187567*  *Fax:* *+61 7 38476684*
>
> *Support: **https://accounts.dedicatedserversaustralia.com.au*
>
> *Sales Email:* *dedaus.sales at dedicatedserversaustralia.com.au*
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101007/81fb4363/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 7714 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101007/81fb4363/attachment.gif>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list