Monday, January 16, 2006

Step 6 - Part 2 - Editing cgi.cfg

Now lets see the CGI Configuration file :

/usr/local/nagios/etc/cgi.cfg

I have UnHashed the below lines in the file cgi.cfg

main_config_file=/usr/local/nagios/etc/nagios.cfg

physical_html_path=/usr/local/nagios/share

url_html_path=/nagios/

show_context_help=1

nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios'

use_authentication=1

authorized_for_system_information=nagiosadmin,theboss,jdoe

authorized_for_configuration_information=nagiosadmin,jdoe

authorized_for_system_commands=nagiosadmin

authorized_for_all_services=nagiosadmin,guest
authorized_for_all_hosts=nagiosadmin,guest

authorized_for_all_service_commands=nagiosadmin
authorized_for_all_host_commands=nagiosadmin

statusmap_background_image=smbackground.gd2

default_statusmap_layout=4

default_statuswrl_layout=4

ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$

refresh_rate=90

No comments: