<!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 5.50.4919.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=672184620-03012003><FONT face=Arial color=#0000ff size=2>It's 
3.5-STABLE, but I just completely deleted /usr/ports/* (after cvsup'ing multiple 
times recently) and re-cvsup'ed and plugins compiled just fine. So that's 
that.</FONT></SPAN></DIV>
<DIV><SPAN class=672184620-03012003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=672184620-03012003><FONT face=Arial color=#0000ff 
size=2>-e</FONT></SPAN></DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Jon Lyons 
  [mailto:jlyons30@yahoo.com]<BR><B>Sent:</B> Friday, January 03, 2003 12:39 
  PM<BR><B>To:</B> Eric Hill; 
  nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re: [Nagios-users] 
  nagios isn't running well<BR><BR></FONT></DIV>
  <P>What version of freebsd? and how old is your ports collection? 
  <P> <B><I>Eric Hill <eric@spins.com></I></B> wrote: 
  <BLOCKQUOTE 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi 
    All,<BR><BR>I'm just getting started with Nagios on FreeBSD, and it's (or 
    I'm) limping<BR>out of the gate. I've set up two hosts, one with ping and 
    http and one with<BR>just ping. Nagios isn't seeing either of them and I've 
    been wracking my<BR>brain trying to figure out what is going on. Per the 
    earlier message,<BR>/sbin/ping is indeed suid root. I haven't been able to 
    install<BR>nagios-plugins from ports because it is broken somehow (both make 
    and gmake<BR>break), but I have the basic checks installed in nagios/libexec 
    so I should<BR>at least be able to set up basic hosts, right? Unfortunately, 
    I get<BR>notifications like "check_ping: %s: Warning threshold must be 
    integer or<BR>percentage!" or "CRITICAL - Plugin timed out after 10 seconds" 
    (both for<BR>ping). check_http gives "Socket timeout after 10 seconds" 
    though (presumably<BR>it's a port 80 check) this is our main corporate 
    webserver. Could it<BR>possibly be because I'm running Apache2 rather than 
    1.x? FreeBSD vs. Linux?<BR>I'm going to have to choose something else if I 
    can't figure this out. My<BR>sense is that Nagios shouldn't be this finicky, 
    but for me it is.<BR><BR>-eric<BR><BR>hosts.cfg<BR>---------<BR># Generic 
    host definition template<BR>define host{<BR>; The name of this host template 
    - referenced in other host<BR>definitions, used for template 
    recursion/resolution<BR>name generic-host<BR>notifications_enabled 1 ; Host 
    notifications are<BR>enabled<BR>event_handler_enabled 1 ; Host event handler 
    is<BR>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<BR>across 
    program restarts<BR>retain_nonstatus_information 1 ; Retain 
    non-status<BR>information across program restarts<BR><BR>register 0 ; DONT 
    REGISTER THIS<BR>DEFINITION - ITS NOT A REAL HOST, JUST A 
    TEMPLATE!<BR>}<BR><BR># 'nt1' host definition<BR>define host{<BR>use 
    generic-host ; Name of host<BR>template to use<BR>host_name comet<BR>alias 
    Corp. File/Print Server<BR>address xx.xx.xx.xx<BR>check_command 
    check-host-alive<BR>max_check_attempts 10<BR>notification_interval 
    60<BR>notification_period 24x7<BR>notification_options d,u,r<BR>}<BR><BR># 
    'linux1' host definition<BR>define host{<BR>use generic-host ; Name of 
    host<BR>template to use<BR><BR>host_name elguapo<BR>alias Linux Server 
    #1<BR>address xx.xx.xx.xx<BR>check_command 
    check-host-alive<BR>max_check_attempts 10<BR>notification_interval 
    60<BR>notification_period 24x7<BR>notification_options 
    d,u,r<BR>}<BR><BR>nagios.cfg<BR>----------<BR>log_file=/usr/local/nagios/var/nagios.log<BR>cfg_file=/usr/local/nagios/etc/checkcommands.cfg<BR>cfg_file=/usr/local/nagios/etc/misccommands.cfg<BR><BR># 
    You can split other types of object definitions across several<BR># config 
    files if you wish (as done here), or keep them all in a<BR># single config 
    file.<BR><BR>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<BR><BR>resource_file=/usr/local/nagios/etc/resource.cfg<BR>status_file=/usr/local/nagios/var/status.log<BR><BR>nagios_user=nagios<BR>nagios_group=nagios<BR><BR>check_external_commands=1<BR>#command_check_interval=15s<BR>command_check_interval=-1<BR>command_file=/usr/local/nagios/var/rw/nagios.cmd<BR><BR>comment_file=/usr/local/nagios/var/comment.log<BR>downtime_file=/usr/local/nagios/var/downtime.log<BR>lock_file=/usr/local/nagios/var/nagios.lock<BR>temp_file=/usr/local/nagios/var/nagios.tmp<BR><BR># 
    n = None - don't rotate the log<BR># h = Hourly rotation (top of the 
    hour)<BR># d = Daily rotation (midnight every day)<BR># w = Weekly rotation 
    (midnight on Saturday evening)<BR># m = Monthly rotation (midnight last day 
    of 
    month)<BR>log_archive_path=/usr/local/nagios/var/archives<BR>use_syslog=1<BR><BR># 
    If you don't want notifications to be logged, set this value to 0.<BR># If 
    notifications should be logged, set the value to 
    1.<BR><BR>log_service_retries=1<BR>log_host_retries=1<BR>log_event_handlers=1<BR>log_passive_service_checks=1<BR><BR>#global_host_event_handler=somecommand<BR>#global_service_event_handler=somecommand<BR><BR># 
    n = None - don't use any delay between checks<BR># d = Use a "dumb" delay of 
    1 second between checks<BR># s = Use "smart" inter-check delay 
    calculation<BR># x.xx = Use an inter-check delay of x.xx 
    seconds<BR>inter_check_delay_method=s<BR><BR># s = Use "smart" interleave 
    factor calculation<BR># x = Use an interleave factor of x, where x is a<BR># 
    number greater than or equal to 1.<BR><BR># being 
    executed.<BR><BR>sleep_time=1<BR><BR>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<BR><BR>retain_state_information=1<BR>state_retention_file=/usr/local/nagios/var/status.sav<BR>retention_update_interval=60<BR>use_retained_program_state=0<BR>interval_length=60<BR><BR>use_agressive_host_checking=0<BR>execute_service_checks=1<BR>accept_passive_service_checks=1<BR><BR>enable_notifications=1<BR><BR>#host_perfdata_command=process-host-perfdata<BR>#service_perfdata_command=process-service-perfdata<BR><BR>obsess_over_services=0<BR>#ocsp_command=somecommand<BR><BR># 
    If you have problems with service checks never getting<BR># rescheduled, you 
    might want to try enabling this option.<BR># Values: 1 = enable checks, 0 = 
    disable 
    checks<BR>check_for_orphaned_services=1<BR><BR>check_service_freshness=1<BR>freshness_check_interval=60<BR>aggregate_status_updates=1<BR>status_update_interval=15<BR><BR>enable_flap_detection=1<BR>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<BR><BR># 
    us (MM-DD-YYYY HH:MM:SS)<BR># euro (DD-MM-YYYY HH:MM:SS)<BR># iso8601 
    (YYYY-MM-DD HH:MM:SS)<BR># strict-iso8601 
    (YYYY-MM-DDTHH:MM:SS)<BR>date_format=us<BR><BR>illegal_object_name_chars=`~!$%^&*|'"<>?,()=<BR>illegal_macro_output_chars=`~$&|'"<><BR><BR>admin_email=helpdesk@spins.com<BR>admin_pager=pagenagios<BR><BR># 
    EOF (End of file)<BR><BR>services.cfg<BR>------------<BR># Generic service 
    definition template<BR>define service{<BR>; The 'name' of this service 
    template, referenced in other service<BR>definitions<BR>name generic-service 
    <BR>active_checks_enabled 1 ; Active service checks 
    are<BR>enabled<BR>passive_checks_enabled 1 ; Passive service checks 
    are<BR>enabled/accepted<BR>parallelize_check 1 ; Active service 
    checks<BR>should be parallelized (disabling this can lead to major 
    per<BR>formance problems)<BR>obsess_over_service 1 ; We should obsess over 
    this<BR>service (if necessary)<BR>check_freshness 0 ; Default is to NOT 
    check<BR>service 'freshness'<BR>notifications_enabled 1 ; Service 
    notifications are<BR>enabled<BR>event_handler_enabled 1 ; Service event 
    handler is<BR>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<BR>across 
    program restarts<BR>retain_nonstatus_information 1 ; Retain 
    non-status<BR>information across program restarts<BR><BR>register 0 ; DONT 
    REGISTER THIS<BR>DEFINITION - ITS NOT A REAL SERVICE, JUST A 
    TEMPLATE!<BR>}<BR><BR># Service definition<BR>define service{<BR>use 
    generic-service ; Name of<BR>service template to use<BR><BR>host_name 
    comet,elguapo<BR>service_description PING<BR>is_volatile 0<BR>check_period 
    24x7<BR>max_check_attempts 3<BR>normal_check_interval 
    5<BR>retry_check_interval 1<BR>contact_groups 
    nt-admins<BR>notification_interval 120<BR>notification_period 
    24x7<BR>notification_options c,r<BR>check_command 
    check_ping!100.0,20%!500.0,60%<BR>}<BR><BR># Service definition<BR>define 
    service{<BR>use generic-service ; Name of<BR>service template to 
    use<BR><BR>host_name comet<BR>service_description HTTP<BR>is_volatile 
    0<BR>check_period 24x7<BR>max_check_attempts 3<BR>normal_check_interval 
    5<BR>retry_check_interval 1<BR>contact_groups 
    nt-admins<BR>notification_interval 120<BR>notification_period 
    24x7<BR>notification_options w,u,c,r<BR>check_command 
    check_http<BR>}<BR><BR>(etc...most cfg is 
    stock)<BR><BR><BR>-------------------------------------------------------<BR>This 
    sf.net email is sponsored by:ThinkGeek<BR>Welcome to geek 
    heaven.<BR>http://thinkgeek.com/sf<BR>_______________________________________________<BR>Nagios-users 
    mailing 
    list<BR>Nagios-users@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/nagios-users</BLOCKQUOTE>
  <P><BR>
  <HR SIZE=1>
  Do you Yahoo!?<BR><A 
  href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail 
  Plus</A> - Powerful. Affordable. <A 
  href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up 
  now</A></BLOCKQUOTE></BODY></HTML>