Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #255] add icinga to freebsd ports #112

Closed
icinga-migration opened this issue Jan 18, 2010 · 17 comments
Closed

[dev.icinga.com #255] add icinga to freebsd ports #112

icinga-migration opened this issue Jan 18, 2010 · 17 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/255

Created by mfriedrich on 2010-01-18 09:00:20 +00:00

Assignee: LarsEngels
Status: Resolved (closed on 2011-03-18 17:35:19 +00:00)
Target Version: (none)
Last Update: 2011-03-18 17:35:19 +00:00 (in Redmine)


http://www.freebsd.org/cgi/ports.cgi?query=nagios-3&stype=all&sektion=all

ask the maintainer of nagios ...

Attachments


Relations:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2010-02-18 10:30:42 +00:00

there are several things to edit and make compatible too.

as mentioned in the board, -D is not supported in bsd, just -d

Also think of this howto:
http://www.bardiak.com/2009/08/freebsd-nagios-setup.html

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2010-02-19 12:53:57 +00:00

as it's unix too .. http://www.nagios-portal.org/wbb/index.php?page=Thread&postID=99863

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2010-02-19 13:02:14 +00:00

  • Assigned to deleted Meier

http://lists.freebsd.org/pipermail/freebsd-questions/2008-November/186495.html

@icinga-migration
Copy link
Author

Updated by marcel on 2010-05-19 22:32:10 +00:00

just wanted to file an issue with the install -D parameter
for me not even -d works, the error message says

[root@maro /home/maco/dl/icinga-1.0.1]# make install-webconf
/usr/bin/install -c -d -m 644 sample-config/httpd.conf /usr/local/etc/apache22/Includes//icinga.conf
install: sample-config/httpd.conf exists but is not a directory

***** Error code 71

Stop in /home/maco/dl/icinga-1.0.1.

also libraries need to be properly set-up on command line:
--with-gd-lib=/usr/local/lib/ --with-gd-inc=/usr/local/include/

this is FreeBSD 7.2

I can probably compile a list of issues with FreeBSD 7.2 easily - have no experience with creating ports on FreeBSD but I might be interesed in learning it for the case

@icinga-migration
Copy link
Author

Updated by marcel on 2010-05-19 23:32:09 +00:00

dnsmichi wrote:

there are several things to edit and make compatible too.

as mentioned in the board, -D is not supported in bsd, just -d

Also think of this howto:
http://www.bardiak.com/2009/08/freebsd-nagios-setup.html

The lines starting on line 322 in Makegile.in can be changed to the following to work around the -D problem:

install-webconf: mkdir -m 755 -p $(DESTDIR)$(HTTPD_CONF) $(INSTALL) -m 644 sample-config/httpd.conf $(DESTDIR)$(HTTPD_CONF)/icinga.conf

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2010-09-14 08:05:14 +00:00

  • Status changed from New to Feedback

had a chat with Lars (https://dev.icinga.org/users/182), pending feedback.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2010-09-16 19:04:39 +00:00

  • File added nagios_patches.tar.gz

some patches from nagios.

better threads: http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-mgmt/nagios/files/patch-configure.in?rev=1.6

@icinga-migration
Copy link
Author

Updated by telephono on 2010-10-17 09:50:05 +00:00

I'm trying to write a port at the moment:
http://github.com/telephono/freebsd-port-icinga

But I still have to look into the suggested patches (without knowing much C...)

@icinga-migration
Copy link
Author

Updated by ricardo on 2010-10-22 17:50:46 +00:00

welcome René, nice to see you here ;-)

@icinga-migration
Copy link
Author

Updated by telephono on 2010-10-25 18:01:55 +00:00

Current status of http://github.com/telephono/freebsd-port-icinga

  • integrated all patches from nagios port
  • port builds, installs & runs fine using the existing nagios user & group (still need to register new icinga user and group in /usr/ports/UID & /usr/ports/GID)
  • options for IDOutils with MySQL and PostgreSQL
  • IDOutils with MySQL backend works
  • IDOutils with PostgreSQL doesn't work (no connection to PostgreSQL 8.4 & 9.0, string escape warnings with 8.0)
    > Are there any working setups with IDOutils and PostgreSQL?

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2010-11-04 15:23:42 +00:00

  • Status changed from Feedback to Assigned
  • Assigned to set to LarsEngels

have fun ;-)

another guy just asked about it to help out in case.

@icinga-migration
Copy link
Author

Updated by LarsEngels on 2010-11-10 07:15:00 +00:00

Hopefully I will find the time to create a port of Icinga next week...

If anyone has already done so, please reply to this Thread.

@icinga-migration
Copy link
Author

Updated by telephono on 2010-11-11 14:54:08 +00:00

Please have a look at https://github.com/telephono/freebsd-port-icinga
It should be almost complete (besides from committing to the FreeBSD ports folks).

@icinga-migration
Copy link
Author

Updated by LarsEngels on 2010-11-12 10:36:42 +00:00

  • File added icinga-1.0.3.shar
  • Done % changed from 0 to 10

Thank you!

I made some basic version of the port in September (1.0.3).

Attached is a shar file of it. You need to bump the autoconf version however from
USE_AUTOTOOLS= autoconf:262 libltdl:22 to the most recent one.

Perhaps we can merge our ports, then I can commit it to the ports tree.

@icinga-migration
Copy link
Author

Updated by ricardo on 2010-11-12 12:19:37 +00:00

telephono told me something about the different thread handling in BSD witch slows Icinga down compared to linux.

Can one of you have a look into it, please?

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2010-11-30 22:01:48 +00:00

in some ways, ltdl(.h) is not used/found in /usr/local/include (report from today). is this already marked as needed dependency for a ports build or am i getting something wrong here?

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2011-03-18 17:35:19 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 10 to 100

the first import is done, more to follow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant