Nagios PHP requirement workaround

[caption id=”” align=”alignright” width=”180” caption=”Image via Wikipedia”][/caption]

Nagios is server monitoring software used by many schools worldwide, we use it to monitor all of our services/sites.  Here is a conversation from IRC that discusses if Nagios requires PHP or not.

16:47] Nagios now requires PHP?

[16:48] "requires" is a strong word

[16:49] apparently, it depends on your distro, too

[16:49] compiling from source version 3.2.1 no longer includes a few html files but php instead.

[16:49] he must be talking about building from source

[16:50] right. then... sure, it requires php

[16:50] Is there a way to do 3.2.1 without php?

[16:51] what distro?

[16:52] compiled apache on rhel4

[16:52] why not use the RPMs?

[16:52] need newer version of apache than is available via rpm in our environment.

[16:55] The only thing it seems to be needed for is the access to cgi\_base\_url config.

[16:56] mischko: pretty much

[16:57] wow. I'm surprised they put in a PHP requirement for \_that\_ alone.

[16:59] keith4: didn't you say debian doesn't have the php requirement?

[17:06] <dnsmichi home> the php requirement only is for the update checker, nothing else
[17:06] <dnsmichi home> which is rather useless when using a package

[17:08] dnsmichi, It's also used in a few other places. I'm editing it all out.

[17:09] <dnsmichi home> well ok then hf :)

[17:10] that was easy. Let's hope they don't increase use of PHP in the future.

14:12] CapnDan: try a debian package - they remove php

[14:12] http://git.debian.org/?p=pkg-nagios/pkg-nagios3.git;a=blob;f=debian/patches/55\_remove\_php.dpatch;h=e8ff8255deed83f5287e17669782c06843792663;hb=HEAD

[14:12] :)

14:13] dnsmichi: eh, I'm installing on Solaris.

[14:14] well then you might consider the patch on the git repo

[14:14] I will take a look at it, thanks!

Reblog this post [with Zemanta]