problems with the webinterface

Chakotey STME chakoteystme at gmail.com
Thu Sep 9 13:54:18 CEST 2010


Thanks for your answer,

I found a solution. the problem was based on udev.

chakoteystme

2010/9/8 Dorfman, Justin <justin at mahalo.com>

> Try creating a new user. e.g.
>
> First, create a file called .htaccess in the
>> /usr/local/share/nagios/cgi-bin directory. If you would like to lock up
>> your Nagios Web interface completely, you can also put a copy of the same
>> file in the /usr/local/share/nagios directory.
>>
>> Put the following in this .htaccess file.
>>
>> AuthName "Nagios Access"
>> AuthType Basic
>> AuthUserFile /usr/local/nagios/etc/htpasswd.users
>> require valid-user
>>
>> When you're adding your first user, the password file that .htaccess
>> refers to will not be present. You need to run the 'htpasswd' command
>> with the -c option to create the file.
>>
>>
>> htpasswd -c /usr/local/nagios/etc/htpasswd.users bob
>> New password: ******
>> Re-type new password: ******
>> Adding password for user bob
>>
>> For the rest of your users, use the 'htpasswd' command without the '-c'
>> option so as not to overwrite the existing one. After you add all of your
>> users, you can go back to the Web interface which will now pop up an
>> authentication dialog. Upon successful authentication, you can start using
>> the Web interface. Notice that your users will only be able to access
>> information for servers that they are associated with in the Nagios
>> configuration files. Also, some sections of the Web interface will be
>> disabled for everyone by default. If you would like to enable those, take a
>> look at 'cgi.cfg' file. For instance, in order to allow the user 'bob' to
>> access the'Process Info' section, uncomment the '
>> authorized_for_system_information' line and add 'bob' to the list of
>> names delimited by commas.
>>
>
> via - http://www.section6.net/wiki/index.php/Setting_up_Nagios_in_FreeBSD
>
> Note change the paths if needed.
>
> Regards,
>
> Justin Dorfman
> Mahalo.com Inc. > Jr. Systems Engineer
> 818.485.1458
> @jdorfman <http://www.twitter.com/jdorfman> | @MahaloSysops<http://twitter.com/MahaloSysops>| Blog:
> http://bit.ly/aNiWSk
>
>
> On Wed, Sep 8, 2010 at 6:53 AM, Chakotey STME <chakoteystme at gmail.com>wrote:
>
>> Hello Mailinglist,
>>
>> I used Debian Lenny.
>> i installed nagios3 with apt-get.
>> Because of this apt installed further packages like apache2.
>> It worked fine.
>>
>> Because an other reasen I have to use Debian Squeeze.
>> So I updated to Squeeze and then I had to solve a problem.
>> I fixed it with this solution:
>>
>> http://devplant.net/2010/03/26/linux-upgrading-debian-lenny-to-testing-halts-on-udev-package/
>>
>> Now I have a problem.
>> When I go to serveraddress/nagios3 in my webbrowser I type in my username
>> (nagiosadmin) and password (nagios).
>> But then I geht the message:
>> Forbidden
>>
>> You don't have permission to access /nagios3/ on this server.
>>
>>
>> The user nagiosadmin has an entry in /etc/nagios3/htpaswd.users.
>>
>>
>> Can you tell me what can I do?
>>
>> Maybe there is a problem between nagios and apache?
>>
>>
>> thanks
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net Dev2Dev email is sponsored by:
>>
>> Show off your parallel programming skills.
>> Enter the Intel(R) Threading Challenge 2010.
>> http://p.sf.net/sfu/intel-thread-sfd
>> _______________________________________________
>> 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
>>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> 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/20100909/b7e86cb9/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
-------------- 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