DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th April 2016
kleefaj kleefaj is offline
New User
 
Join Date: Aug 2012
Posts: 1
Default How to configure nagios-web on OpenBSD 5.8 httpd?

I'm looking for documentation for setting up Nagios 4.0-chroot on OpenBSD 5.8 using httpd (not Apache).

I have nagios-4.0.8p1-chroot and nagios-web-4.0.8p1-chroot installed on OpenBSD 5.8.

When I browse to _http://nagios.mydomain.loc_ (set up in DNS) the index.php page displays. _http://nagios.mydomain.loc/main.php_ seems to render the page properly but displays "Unable to get process status" at the top of the page. I think I'm missing the php and CGI locations in the httpd.conf file and I don't know how to configure them correctly.

My earlier Nagios documentation explains how to set up Nagios using Apache. I'm trying to set Nagios up with httpd. My config file is below:

Code:
#
# Macros
#
ext_addr="egress"

#
# Servers
#

# A minimal default server
server "default" {
        listen on $ext_addr port 80
}

# A name-based "virtual" server on the same address
server "www.mydomain.loc" {
        listen on $ext_addr port 80

        root "/htdocs/www.skunkworks.loc"
}

server "mrtg.mydomain.loc" {
        listen on $ext_addr port 80
        root "/mrtg/canyon"
}

server "nagios.mydomain.loc" {
        listen on $ext_addr port 80
        root "/nagios"
        directory index "index.php"
}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FCGI.pm on OpenBSD httpd pmaddams OpenBSD General 2 22nd March 2016 01:38 AM
nagios-web vs. new httpd bceverly OpenBSD Packages and Ports 1 7th October 2015 02:29 AM
Patch for OpenBSD 5.6 httpd(8) J65nko OpenBSD General 12 7th January 2015 12:49 PM
httpd in OpenBSD 5.6 jorisvh OpenBSD Packages and Ports 8 4th November 2014 12:14 AM
OpenBSD Configure OpenBSD Sendmail with SASL J65nko News 3 18th March 2013 01:53 AM


All times are GMT. The time now is 05:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick