new nagios install on manjaro ...

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: new nagios install on manjaro ...

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
LithiumKid1976
Posts: 16
Joined: Wed Mar 09, 2016 5:43 am

Re: new nagios install on manjaro ...

Post 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)
-----
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: new nagios install on manjaro ...

Post 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
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
LithiumKid1976
Posts: 16
Joined: Wed Mar 09, 2016 5:43 am

Re: new nagios install on manjaro ...

Post 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
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: new nagios install on manjaro ...

Post 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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: new nagios install on manjaro ...

Post 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/
Former Nagios Employee
LithiumKid1976
Posts: 16
Joined: Wed Mar 09, 2016 5:43 am

Re: new nagios install on manjaro ...

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: new nagios install on manjaro ...

Post 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!
Former Nagios Employee
Locked