Loading...
 

Help


php_ui installs to eprefix/sbin

Hi,

I don't think this should be the default behaviour. I've been using the --with-cgidir option to configure to not use nagios/sbin.

The PHP UI however, is unaffected. I think in phpgui/Makefile, INST_PHPUI_PATH should not be set to ${exec_prefix}/sbin, but ${INST_CGI_PATH} instead?

Just my two cents..

Regards
> Hi,
>
> I don't think this should be the default behaviour. I've been using the --with-cgidir option to configure to not use nagios/sbin.
>
> The PHP UI however, is unaffected. I think in phpgui/Makefile, INST_PHPUI_PATH should not be set to ${exec_prefix}/sbin, but ${INST_CGI_PATH} instead?
>
> Just my two cents..
>
> Regards

I'm actually looking at the same issue right now, the PHP UI definitely should not be getting installed to the nagios/sbin as it's wreaking havoc on it. I've tinkered around with moving everything for it into its own directory and tweaking the paths in the files, but it's really a headache. I finally decided to just continue using the perfparse.cgi for now.
Uhm *cough, cough*

yes, alright, there is the --with-phpuidir option. Honestly missed that, sorry.

Still - shouldn't this rather default to cgidir rather than sbindir...? wink

I'd have posted a patch to configure.ac, but it ended up full of wiki syntax. Here's a simple diff:
318c318
< INST_PHPUI_PATH=${sbindir}
===
> INST_PHPUI_PATH=${INST_CGI_PATH}


Regards,
Felix
 

Shoutbox

redflo, 14:25 UTC, Sun 10 of Apr, 2005: No, lneuxyuhje, this shall write to a pipe not to a file and so ">" is o.k.
lneuxyuhje, 15:14 UTC, Thu 07 of Apr, 2005: is ">" meant to be ">>" in /usr/local/perfparse/bin/perfparse_nagios_pipe_command.pl ?
redflo, 08:35 UTC, Tue 05 of Apr, 2005: fhdplbvjipsld, it works now. Permissions were wrong.
fhdplbvjipsld, 14:42 UTC, Wed 30 of Mar, 2005: How to post to Forums->Help?
benclewett, 09:27 UTC, Thu 03 of Feb, 2005: Hi Jon! I hope you like our wiki site.