You are not logged in.

#1 2010-01-10 13:58:51

awayand
Member
Registered: 2009-09-25
Posts: 396

Nagios quick install guide

Hello guys,

since I keep asking questions, I thought it was time to give back to the community. I created a small quick install guide for nagios, feel free to extend it.

http://wiki.archlinux.org/index.php/Nagios

Best wishes.

Offline

#2 2010-01-10 15:09:40

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: Nagios quick install guide

Looks to be good work. I don't have time to test it for you just yet, but you might want to make the first paragraph a description of the program. I have no idea what it is

Edit: Oh, and switch the yaourt thing to say install it from AUR. You can mention yaourt if you want, but I think it's more sensible for people who don't yet know what AUR is/what the differnce is

Last edited by jac (2010-01-10 15:10:51)

Offline

#3 2010-01-10 16:06:28

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: Nagios quick install guide

I filled out the wiki article a bit. I haven't checked if the installation/config steps work though.

@awayand what versions of apache and php did you test (for the wiki)?

Edit:got Awayand's name backward

Last edited by makimaki (2010-01-10 17:26:14)


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

#4 2010-01-10 22:44:55

awayand
Member
Registered: 2009-09-25
Posts: 396

Re: Nagios quick install guide

Thanks, makimaki!

Here are my versions:

[x@eee libexec]$ pacman -Q apache php
apache 2.2.14-2
php 5.3.1-3

I have put the versions in the wiki already, looks good what you did!

Offline

#5 2010-01-10 22:48:17

awayand
Member
Registered: 2009-09-25
Posts: 396

Re: Nagios quick install guide

PS: makimaki, I saw you put # in front of the installation commands to show that these are typed into the shell prompt. I actually left those out on purpose so that someone in a hurry could just copy-paste the entire block into a shell without having to select each line manually... I am leaving it the way you put it though, since you obviously put much effort into it.

Offline

#6 2010-01-10 23:22:57

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: Nagios quick install guide

@awayand

you're welcome smile

Also, the reason I included the hashes is because on the wiki # is used to denote root shell and $ normal user. It makes it easier to follow the wiki, and involves less typing for the writer. Your way does makes it easier to copy and paste (I've fallen foul of hashes myself in the past), but the other way seems to be standard practice.


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

#7 2010-01-10 23:37:08

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Nagios quick install guide

jac wrote:

Oh, and switch the yaourt thing to say install it from AUR. You can mention yaourt if you want, but I think it's more sensible for people who don't yet know what AUR is/what the differnce is

I think that Yaourt is a good mention.  Since Yaourt is still the predominant tool to install from the AUR, I think it's a good way to go.

Nice writeup awayand, good you could the use of templates for the packages, etc.  Be careful with phrases like 'Have fun!', it's not relevant and plus is is seen (in some lights) as intentionally demoralizing a person for one's own influence.  Overall, good article, those that need it I think will find it useful.

Last edited by Gen2ly (2010-01-10 23:40:19)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#8 2010-01-11 00:26:02

awayand
Member
Registered: 2009-09-25
Posts: 396

Re: Nagios quick install guide

Hello Gen2ly,

I took out "have fun!"

I also added instructions to use the check_rdiff plugin to monitor rdiff-backups.

Normally, I would have put all of these infos on my own blog for my personal reference (I keep running into the same problems over and over, so the blog I use is for my own documentation if I don't remember something), but seeing how great this wiki and the arch community is, I prefer not to water down such a great documentation resource.

Offline

#9 2010-01-13 18:41:48

steve___
Member
Registered: 2008-02-24
Posts: 439

Re: Nagios quick install guide

awayand wrote:

Normally, I would have put all of these infos on my own blog for my personal reference ...

I suggest adding the url to your blog to your archlinux.org profile information.

Offline

#10 2010-01-17 16:35:19

Urfaust
Member
From: Germany
Registered: 2009-01-30
Posts: 164

Re: Nagios quick install guide

Thanks for the great wiki entry.:D
Worked flawlessly.

Now I am trying to install NagiosQL. http://www.nagiosql.org
This is for not having to edit all the config files manually but also with a webgui. It is up and running but i can't write any config files.
I followed the documentation: http://www.nagiosql.org/faq/31-general- … ermissions

Instead of the below configuration, you could also add the Apache user to the Nagios group.

This is mentioned in the Arch wiki, too. But it still doesn't work. NagiosQL always complains about missing permissions when I try to write the config files. Any ideas here?

Offline

#11 2010-01-19 19:12:46

Urfaust
Member
From: Germany
Registered: 2009-01-30
Posts: 164

Re: Nagios quick install guide

Got it!
Forgot to include /etc/nagiosql as open_basedir in php.ini.:rolleyes:

Offline

Board footer

Powered by FluxBB