<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1126" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Courier size=2>Despite my best efforts, I can't figure it out.
Here's all the details, any help is greatly appreciated...</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>I know this is a lot to sift through... but I'm
desparate to get this working.</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Courier size=2>Olivier</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>####</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Environment</FONT></DIV>
<DIV><FONT face=Courier size=2>-------------</FONT></DIV>
<DIV><FONT face=Courier size=2>Redhat 8.0</FONT></DIV>
<DIV><FONT face=Courier size=2>Apache (that came with RedHat 8.0)</FONT></DIV>
<DIV><FONT face=Courier size=2>Perl 5.8.0</FONT></DIV>
<DIV><FONT face=Courier size=2>Only the defaults with ./configure</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Snippet from hosts.cfg</FONT></DIV>
<DIV><FONT face=Courier size=2>-----------------------</FONT></DIV>
<DIV><FONT face=Courier size=2># 'foo host' definition template<BR>define
host{<BR>
name
foo-host ; The name of this host
template<BR>
notifications_enabled
1 ; Host notifications are
enabled<BR>
event_handler_enabled
1 ; Host event handler is
enabled<BR>
flap_detection_enabled
1 ; Flap detection is
enabled<BR>
process_perf_data
1 ; Process performance
data<BR>
retain_status_information
1 ; Retain status information across program
restarts<BR>
retain_nonstatus_information
1 ; Retain non-status information across
program restarts<BR>
register
0 ; DONT REGISTER THIS
DEFINITION!<BR> }</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2># 'foo.foo.com host definition<BR>define
host{<BR>
use
foo-host ;
Name of host template to use<BR>
host_name foo.foo.com<BR>
alias foo.foo.com<BR>
address
63.170.56.34<BR>
check_command
check-host-alive<BR>
max_check_attempts
10<BR>
notification_interval
120<BR>
notification_period
24x7<BR>
notification_options
d,u,r<BR> }</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Snippet from services.cfg</FONT></DIV>
<DIV><FONT face=Courier size=2>-------------------------</FONT></DIV>
<DIV><FONT face=Courier size=2># 'foo-service' template for accolade group
hosts/services<BR>define service{<BR>
name
foo-service ; The 'name' of this service
template<BR>
active_checks_enabled
1 ; Active service checks are
enabled<BR>
passive_checks_enabled
1 ; Passive service checks are
enabled/accepted<BR>
parallelize_check
1 ; Active service checks should be
parallelized (bad idea)<BR>
obsess_over_service
1 ; We should obsess over this service (if
necessary)<BR>
check_freshness
0 ; Default is to NOT check service
'freshness'<BR>
notifications_enabled
1 ; Service notifications are
enabled<BR>
event_handler_enabled
1 ; Service event handler is
enabled<BR>
flap_detection_enabled
1 ; Flap detection is
enabled<BR>
process_perf_data
1 ; Process performance
data<BR>
retain_status_information
1 ; Retain status information across program
restarts<BR>
retain_nonstatus_information
1 ; Retain non-status information across
program restarts<BR>
is_volatile
0<BR>
check_period
24x7<BR>
max_check_attempts
3<BR>
normal_check_interval
5<BR>
retry_check_interval
1<BR>
notification_interval
120<BR>
register
0 ; DONT REGISTER THIS
DEFINITION!<BR> }</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>define
service{<BR>
use
foo-service
; Name of service template to use<BR>
host_name foo.foo.com<BR>
service_description
FTP<BR>
contact_groups olivier<BR>
notification_period
24x7<BR>
notification_options
w,u,c,r<BR>
check_command
check_ftp!-H 63.170.56.35<BR>
}</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Snippet from contacts.cfg</FONT></DIV>
<DIV><FONT face=Courier size=2>-------------------------</FONT></DIV>
<DIV><FONT face=Courier size=2># 'olivier' contact definition<BR>define
contact{<BR>
contact_name
olivier<BR>
alias
olivier<BR>
service_notification_period
24x7<BR>
host_notification_period
24x7<BR>
service_notification_options
c,r<BR>
host_notification_options
d,r<BR>
service_notification_commands
notify-by-email<BR>
host_notification_commands
host-notify-by-email<BR>
email
</FONT><A href="mailto:foo@foo.com"><FONT face=Courier
size=2>foo@foo.com</FONT></A></DIV>
<DIV><FONT face=Courier size=2>
}</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Snippet from contactgroups.cfg</FONT></DIV>
<DIV><FONT face=Courier size=2>------------------------------</FONT></DIV>
<DIV><FONT face=Courier size=2># 'olivier' contact group definition<BR>define
contactgroup{<BR>
contactgroup_name
olivier<BR>
alias
Olivier<BR>
members
olivier<BR> }</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Privs on the external command file and rw/
directory</FONT></DIV>
<DIV><FONT face=Courier
size=2>----------------------------------------------------</FONT></DIV>
<DIV><FONT face=Courier size=2>prw-rw---- 1 nagios
nagiocmd 0 Jan 10 01:39
nagios.cmd</FONT></DIV>
<DIV><FONT face=Courier size=2>drwxrwsr-x 2 nagios
nagiocmd 4096 Jan 10 01:39 rw</FONT></DIV>
<DIV><FONT face=Courier size=2>{the file nagios.cmd is in the rw/
directory}</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Snippets from cgi.cfg</FONT></DIV>
<DIV><FONT face=Courier size=2>---------------------</FONT></DIV>
<DIV><FONT face=Courier
size=2>use_authentication=1<BR>authorized_for_system_information=nagiosadmin,olivier<BR>authorized_for_configuration_information=nagiosadmin,olivier<BR>authorized_for_system_commands=nagiosadmin,olivier<BR>authorized_for_all_services=nagiosadmin,olivier<BR>authorized_for_all_hosts=nagiosadmin,olivier<BR>authorized_for_all_service_commands=nagiosadmin,olivier<BR>authorized_for_all_host_commands=nagiosadmin,olivier</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Snippets from nagios.cfg</FONT></DIV>
<DIV><FONT face=Courier size=2>------------------------</FONT></DIV>
<DIV><FONT face=Courier
size=2>log_file=/usr/local/nagios/var/nagios.log</FONT></DIV>
<DIV><FONT><FONT face=Courier
size=2>cfg_file=/usr/local/nagios/etc/checkcommands.cfg</FONT></DIV>
<DIV><FONT face=Courier
size=2>cfg_file=/usr/local/nagios/etc/misccommands.cfg</FONT></DIV>
<DIV><FONT face=Courier
size=2>cfg_file=/usr/local/nagios/etc/contactgroups.cfg<BR>cfg_file=/usr/local/nagios/etc/contacts.cfg<BR>cfg_file=/usr/local/nagios/etc/dependencies.cfg<BR>cfg_file=/usr/local/nagios/etc/escalations.cfg<BR>cfg_file=/usr/local/nagios/etc/hostgroups.cfg<BR>cfg_file=/usr/local/nagios/etc/hosts.cfg<BR>cfg_file=/usr/local/nagios/etc/services.cfg<BR>cfg_file=/usr/local/nagios/etc/timeperiods.cfg</FONT></DIV>
<DIV><FONT face=Courier
size=2>resource_file=/usr/local/nagios/etc/resource.cfg</FONT></DIV>
<DIV><FONT face=Courier
size=2>status_file=/usr/local/nagios/var/status.log</FONT></DIV>
<DIV><FONT face=Courier size=2>nagios_user=nagios</FONT></DIV>
<DIV><FONT face=Courier size=2>nagios_group=nagios</FONT></DIV>
<DIV><FONT face=Courier size=2>check_external_commands=1</FONT></DIV>
<DIV><FONT face=Courier size=2>command_check_interval=-1</FONT></DIV>
<DIV><FONT face=Courier
size=2>command_file=/usr/local/nagios/var/rw/nagios.cmd</FONT></DIV>
<DIV><FONT face=Courier
size=2>comment_file=/usr/local/nagios/var/comment.log</FONT></DIV>
<DIV><FONT face=Courier
size=2>downtime_file=/usr/local/nagios/var/downtime.log</FONT></DIV>
<DIV><FONT face=Courier
size=2>lock_file=/usr/local/nagios/var/nagios.lock</FONT></DIV>
<DIV><FONT face=Courier
size=2>temp_file=/usr/local/nagios/var/nagios.tmp</FONT></DIV>
<DIV><FONT face=Courier size=2>log_rotation_method=d</FONT></DIV>
<DIV><FONT face=Courier
size=2>log_archive_path=/usr/local/nagios/var/archives</FONT></DIV>
<DIV><FONT face=Courier size=2>use_syslog=1</FONT></DIV>
<DIV><FONT face=Courier size=2>log_notifications=1</FONT></DIV>
<DIV><FONT face=Courier size=2>log_service_retries=1</FONT></DIV>
<DIV><FONT face=Courier size=2>log_host_retries=1</FONT></DIV>
<DIV><FONT face=Courier size=2>log_event_handlers=1</FONT></DIV>
<DIV><FONT face=Courier size=2>log_initial_states=0</FONT></DIV>
<DIV><FONT face=Courier size=2>log_external_commands=1</FONT></DIV>
<DIV><FONT face=Courier size=2>log_passive_service_checks=1</FONT></DIV>
<DIV><FONT face=Courier size=2>inter_check_delay_method=s</FONT></DIV>
<DIV><FONT face=Courier size=2>service_interleave_factor=s</FONT></DIV>
<DIV><FONT face=Courier size=2>max_concurrent_checks=0</FONT></DIV>
<DIV><FONT face=Courier size=2>service_reaper_frequency=10</FONT></DIV>
<DIV><FONT face=Courier size=2>sleep_time=1</FONT></DIV>
<DIV><FONT face=Courier
size=2>service_check_timeout=60<BR>host_check_timeout=30<BR>event_handler_timeout=30<BR>notification_timeout=30<BR>ocsp_timeout=5<BR>perfdata_timeout=5</FONT></DIV>
<DIV><FONT face=Courier size=2>retain_state_information=1</FONT></DIV>
<DIV><FONT face=Courier
size=2>state_retention_file=/usr/local/nagios/var/status.sav</FONT></DIV>
<DIV><FONT face=Courier size=2>retention_update_interval=60</FONT></DIV>
<DIV><FONT face=Courier size=2>use_retained_program_state=0</FONT></DIV>
<DIV><FONT face=Courier size=2>interval_length=60</FONT></DIV>
<DIV><FONT face=Courier size=2>use_agressive_host_checking=0</FONT></DIV>
<DIV><FONT face=Courier size=2>execute_service_checks=1</FONT></DIV>
<DIV><FONT face=Courier size=2>accept_passive_service_checks=1</FONT></DIV>
<DIV><FONT face=Courier size=2>enable_notifications=1</FONT></DIV>
<DIV><FONT face=Courier size=2>enable_event_handlers=1</FONT></DIV>
<DIV><FONT face=Courier size=2>process_performance_data=1</FONT></DIV>
<DIV><FONT face=Courier size=2>obsess_over_services=0</FONT></DIV>
<DIV><FONT face=Courier size=2>check_for_orphaned_services=0</FONT></DIV>
<DIV><FONT face=Courier size=2>check_service_freshness=1</FONT></DIV>
<DIV><FONT face=Courier size=2>freshness_check_interval=60</FONT></DIV>
<DIV><FONT face=Courier size=2>aggregate_status_updates=1</FONT></DIV>
<DIV><FONT face=Courier size=2>status_update_interval=15</FONT></DIV>
<DIV><FONT face=Courier size=2>enable_flap_detection=1</FONT></DIV>
<DIV><FONT face=Courier
size=2>low_service_flap_threshold=5.0<BR>high_service_flap_threshold=20.0<BR>low_host_flap_threshold=5.0<BR>high_host_flap_threshold=20.0</FONT></DIV>
<DIV><FONT face=Courier size=2>date_format=us</FONT></DIV>
<DIV><FONT face=Courier
size=2>illegal_object_name_chars=`~!$%^&*|'"<>?,()=</FONT></DIV>
<DIV><FONT face=Courier
size=2>illegal_macro_output_chars=`~$&|'"<></FONT></DIV>
<DIV><A href="mailto:admin_email=foo@foo.com"><FONT face=Courier
size=2>admin_email=foo@foo.com</FONT></A></DIV>
<DIV><A href="mailto:admin_pager=foopager@foo.com"><FONT face=Courier
size=2>admin_pager=foopager@foo.com</FONT></A></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>####</FONT></FONT></DIV></BODY></HTML>