Adagios installation problem

I’m trying to install adagios ( ) on nethserver , following this guide …but i’ve this issue

yum update -y ok-release
Loaded plugins: fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ok. Please verify its path and try again

it seems that redirect to

Hi @AbsyntH

I think you have to change url inside ok.repo file, in particular the distribution reference fragment.
Try this:

sed -i ‘s/rhel$releasever/rhel6/’ /etc/yum.repos.d/ok.repo

then you should be able to go on with Adagios installation.

Let me know if everything works!


ok it works tnx nrauso

it seems to be up and runnin’, but it’s asking an user and psw… which parameter i must pass to htpasswd ?

@nrauso can you take a look?

You can quickly disable (just for tests) the password request by editing this file: /etc/httpd/conf.d/adagios.conf

1 Like

so the correct command to set nagios’s password is " htpasswd -c -b /etc/nagios/htpasswd.users User Paassword " but it doesn’t work probably for the peculiar configuration of nethserver…

ok it works!

these are the steps i’ve followed:

chown nagios:apache /etc/nagios/htpasswd.users
chmod 670 /etc/nagios/htpasswd.users

and then edit /etc/httpd/conf.d/adagios.conf

AuthName "Nagios Access"
AuthType Basic

AuthUserFile /etc/nagios/passwd

AuthUserFile /etc/nagios/htpasswd.users
Require valid-user

Redirect /adagios to /adagios

restart httpd and nagios services …

all done well done…now i’ll take a look to the adagios webpage

@AbsyntH when you’re done, what do you think to write down an howto about your efforts?

yessir !!! :smiley:

Good job, @AbsyntH!

Just for information: Adagios already has its file to store usernames and password for basic authentication of HTTP users (/etc/nagios/passwd)

You should be able to add a new user using the syntax:

htpasswd /etc/nagios/passwd myusername

You can enable Adagios access control too: you have to add some directives into /etc/adagios/adagios.conf file (
Eventually remember to add your new user among admins!

1 Like

I moved a post to a new topic: Adagios installation on NethServer

I moved 3 posts to a new topic: Howto section or wiki area?