it’s telling me that it will be installing the files to /usr/local/nagios but the guy who setup the installation have it installed at:
cd /usr/local/web/nagios
can someone please tell me where to change the config so that it will upgrade to the correct path? Am I doing this correctly by following the guide? Thanks!
I have another quick question if you don’t mind! I have previously setup audio alerts for server and service down, however ever since the upgrade the audio alert has been missing. Can anyone tell me what config file I need to look into or how to get audio alert back up and running? Thanks!
I have the same cgi.cfg from the same installation and I have verified that it’s already setup correctly with the proper notification. The HTML path is setup correctly as well and I’ve verified that the WAV file exists. Is there any other reason why it won’t be playing the audio? Thanks again!
# PHYSICAL HTML PATH
# This is the path where the HTML files for Nagios reside. This
# value is used to locate the logo images needed by the statusmap
# and statuswrl CGIs.
physical_html_path=/usr/local/nagios/share
# URL HTML PATH
# This is the path portion of the URL that corresponds to the
# physical location of the Nagios HTML files (as defined above).
# This value is used by the CGIs to locate the online documentation
# and graphics. If you access the Nagios pages with an URL like
# http://www.myhost.com/nagios, this value should be '/nagios'
# (without the quotes).
url_html_path=/nagios
So your physical_html_path is replaced by your url_html_path when web pages are “written”. Thus, if your phys path is /foo/bar and your url path is /nagios, you’d put the files in /foo/bar/media/ and it’d still appear as /nagios/media on the web page. Hope that clears things up for you