Page 3 of 3
Re: new nagios install on manjaro ...
Posted: Tue Mar 22, 2016 2:23 pm
by scottwilkerson
look in your conf/extra/nagios.conf file to see the path to your password file, it'll look something like
Code: Select all
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Then update the nagiosadmin password
Code: Select all
htpasswd /usr/local/nagios/etc/htpasswd.users nagiosadmin
Re: new nagios install on manjaro ...
Posted: Wed Mar 23, 2016 5:16 am
by LithiumKid1976
hi Scott,
after doing that, i still get the following when trying to connect to nagios
---
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
10.0.2.127
Apache/2.4.18 (Unix)
-----
Re: new nagios install on manjaro ...
Posted: Wed Mar 23, 2016 6:29 am
by nozlaf
cant help but think it would be easier to start again from scratch, there are pages of posts over a long time to try and rescue an installation that hasn't been used, a fresh build with a decent guide you will be up and running in 5 minutes
Re: new nagios install on manjaro ...
Posted: Wed Mar 23, 2016 7:06 am
by LithiumKid1976
your right of course nozlaf, but unfortunately, the only guide i found for manjaro, isn't much good
https://wiki.archlinux.org/index.php/Nagios
Re: new nagios install on manjaro ...
Posted: Wed Mar 23, 2016 7:33 am
by eloyd
Is there a reason you need Manjaro Linux though? If you're only using the box for Nagios, then you really don't care what the operating system flavor is, do you? IF YOU DON'T NEED MANJARO, then I strongly suggest you follow @nozlaf's advice and start over. You really could be up and running all over in 5 minutes if you installed CentOS minimal and then followed the installation guide on the Nagios web page.
Even better - if you're able to run on a virtual box, download the OVA template for VMware, VirtualBox, etc, and the OS will come pre-installed.
Re: new nagios install on manjaro ...
Posted: Wed Mar 23, 2016 9:31 am
by rkennedy
eloyd wrote:Is there a reason you need Manjaro Linux though? If you're only using the box for Nagios, then you really don't care what the operating system flavor is, do you? IF YOU DON'T NEED MANJARO, then I strongly suggest you follow @nozlaf's advice and start over. You really could be up and running all over in 5 minutes if you installed CentOS minimal and then followed the installation guide on the Nagios web page.
Even better - if you're able to run on a virtual box, download the OVA template for VMware, VirtualBox, etc, and the OS will come pre-installed.
@eloyd is right, and as a Manjaro user myself I am pleased to tell you that pacman has an easy install for Virtual Box.
I believe that guide is written for Arch, and when you bring Manjaro in to the mix it changes the functionality a little bit.
If you'd still like to continue with Manjaro, can you verify the permissions of the /usr/local/nagios/ folder?
ls -l /usr/local/nagios/
Re: new nagios install on manjaro ...
Posted: Wed Mar 23, 2016 10:11 am
by LithiumKid1976
hi all,
well, there was no real reason for me to use manjaro, only that i had the OS running on an old desktop running plex, so i said, id try to configure nagios on it as well, as i plan to install nagios on a server here. just really wanted to see if i could get it done.
(thanks for all the help by the way

)
so, anyway, to cut a long story short, i had signed up to linux academy on monday, to try to learn a bit more about linux. so i fired up a centOS 7 machine in the lab, and using the centOS nagios guide, i was able to fully configure it, and now its running from there.. so its true what you said, you should be able to have nagios up and running in 20 minutes or so.

now that i know its straight forward, ill install centos and nagios on the new server.
i think ill skip manjaro / nagios for the minute.
thanks again for all your help / suggestions along the way. much appreciated
Re: new nagios install on manjaro ...
Posted: Wed Mar 23, 2016 10:49 am
by rkennedy
Ah! I like Manjaro a lot actually for personal use.
Good to hear you were able to get it working on CentOS!
You're welcome, I'm going to close this thread out now, but if you have any questions with your new CentOS install - feel free to create a new thread!