UNsubcribe PLease

Rodney Jones rodney.jones at eassist.com
Wed Dec 17 23:24:17 CET 2003


unsubcribe

-----Original Message-----
From: nagios-users-request at lists.sourceforge.net
[mailto:nagios-users-request at lists.sourceforge.net] 
Sent: Wednesday, December 17, 2003 2:00 PM
To: nagios-users at lists.sourceforge.net
Subject: Nagios-users digest, Vol 1 #1806 - 16 msgs

Send Nagios-users mailing list submissions to
	nagios-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/nagios-users
or, via email, send a message with subject or body 'help' to
	nagios-users-request at lists.sourceforge.net

You can reach the person managing the list at
	nagios-users-admin at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nagios-users digest..."


Today's Topics:

   1. RE: monitoring postgres? (Marc Powell)
   2. RE: Trouble ticket integration (Frater, Greg J)
   3. Newbie question...which plugins to use? (Steve Gilbert)
   4. check_procs -C on AIX 5L (RyeR at schneider.com)
   5. Monitoring Unix memory and network (=?ISO-8859-1?Q?Josu=E9=20Souza?=)
   6. Jabber message newlines --and-- notify_via_jabber patch for ssl
(DTerrell at Delphi-Tech.com)
   7. NSCA Distributed Server (Jeff Engstrom)
   8. Re: Generating nagios configs from LDAP, nmap, and
       traceroute (Matt Pounsett)
   9. RE: NSCA Distributed Server (Marc Powell)
  10. RE: NSCA Distributed Server (Jeff Engstrom)
  11. Re: Generating nagios configs from LDAP, nmap, and
       traceroute (Ben Lisle)
  12. Re: Generating nagios configs from LDAP, nmap, and
       traceroute ScanMail has blocked your mail due to a mail policy.
(Hermes at infracomspa.it)
  13. RE: NSCA Distributed Server (Jeff Engstrom)

--__--__--

Message: 1
Subject: RE: [Nagios-users] monitoring postgres?
Date: Wed, 17 Dec 2003 12:00:09 -0600
From: "Marc Powell" <marc at ena.com>
To: "Lars Oeschey" <extern.lars.oeschey at audi.de>,
	<nagios-users at lists.sourceforge.net>

There is a check_pgsql as part of the standard plugins. You need to have
the postgres devel and lib's installed before compiling though.

--
Marc

> -----Original Message-----
> From: Lars Oeschey [mailto:extern.lars.oeschey at audi.de]
> Sent: Wednesday, December 17, 2003 9:07 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] monitoring postgres?
>=20
> Hi,
>=20
> I just started with nagios, and want to monitor a postgres DB, though
I
> couldn't find a plugin for it. Is there none availible yet?



--__--__--

Message: 2
From: "Frater, Greg J" <gjfrater at bechtel.com>
To: "'nagios-users at lists.sourceforge.net'"
	 <nagios-users at lists.sourceforge.net>
Date: Wed, 17 Dec 2003 10:07:58 -0800
Subject: [Nagios-users] RE: Trouble ticket integration

We use HEAT and Nagios here so I have interest in your inquiry.  Here our
programming group has come up with some of the magic you are looking for by
manipulating the HEAT system through the back door i.e. writing directly to
the database tables.  They do this to create tickets with some home grown
applications and do web reporting of tickets currently in the system.  You
should be able to find the magic your looking for using this method, it
seems to work well. 

This is a multi-part message in MIME format.

------_=_NextPart_001_01C3C4C5.DB448CCD
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Has anyone ever attempted trouble ticket integration with Nagios?
I can generate trouble tickets in our trouble ticket system (HEAT) via
SMTP mail, but I really need to have bi-directional integration between
Nagios and HEAT.
=20
Here is what I would **like** to have happen:
1) Nagios detects a fault condition (host or service)
2) Nagios opens a HEAT ticket
3) HEAT responds via SMTP with ticket # in subject line
4) **something** magical happens and a comment is added to the
host/service that generated the ticket containing the HEAT ticket #
OR
does Nagios keep some type of UNIQUE event ID?  If so, then:
1) Nagios detects a fault condition (host or service)
2) Nagios opens a HEAT ticket that includes the unique event ID
(operators need to be correlate between a HEAT ticket and a Nagios
event).
=20
what I would **love** to have happen:
5) HEAT user owns the ticket
6) **something** magical happens and a comment is added to the
host/service that generated the ticket
and/or
7) Nagios user acknowledges the host/service problem
8) **something** magical happens and HEAT ticket is closed
and/or
5) HEAT user closed the ticket
6) **something** magical happens and a comment is added to the
host/service that generated the ticket (possibly acknowledging it, if
necessary - but it shouldn't be as the problem **ought** to be resolved,
else why close the ticket)
=20
I know how to do this for HP OpenView (NNM and OVO) and both Vantive &
Remedy.
=20
I couldn't find a way to do this with Nagios..... Don't get me wrong,
I'm impressed with Nagios - I just **know** how to do this in HP-OV and
I couldn't figure out how to do this in Nagios....
=20
TIA,
=20
=20
=20
Phillip Wilson
Consultant
SNIA FC-Professional and FC-Specialist
Gwinnett County Government
DOSS/Information Technology Services-Networking
75 Langley Dr.
Lawrenceville, GA 30045

=20
Office: 770-822-7381
phillip.wilson at gwinnettcounty.com
=20
This e-mail (including any attachments) is confidential and may be
legally privileged. If you are not an intended recipient or an
authorized representative of an intended recipient, you are prohibited
from using, copying or distributing the information in this e-mail or
its attachments. If you have received this e-mail in error, please
notify the sender immediately by return e-mail and delete all copies of
this message and any attachments. Thank you.

=20


Greg Frater
WTP IT Dept
(509) 371-3537


--__--__--

Message: 3
From: Steve Gilbert <SGilbert at nvidia.com>
To: nagios-users at lists.sourceforge.net
Date: Wed, 17 Dec 2003 10:10:17 -0800
Subject: [Nagios-users] Newbie question...which plugins to use?

I've got a couple of questions about the various plugin choices that are
available...

Is there any benefit to using check_fping over check_ping?  My understanding
(which may be wrong) is that the only difference in ping and fping is that
fping can ping a list of machines in parallel.  That seems great, but I
don't see how this helps with the check_fping plugin, since it's only going
to work on one host, anyway.

Also...why do we have both check_dns and check_dig?  From my perspective,
check_dns looks like the superior check since you can supply an address that
you expect to be returned.  Is there a reason to have them both, or is
check_dig just left for historical reasons?

Finally...looks like the first plugin that I will be writing myself will be
something to check that NIS servers are working...unless someone has already
done this, and I'm not finding it.  Is there a check_nis out there somewhere
before I reinvent the wheel?  :-)

Thanks!

Steve Gilbert
Unix Systems Administrator
sgilbert at nvidia.com


--__--__--

Message: 4
To: nagios-users at lists.sourceforge.net
From: RyeR at schneider.com
Date: Wed, 17 Dec 2003 12:17:24 -0600
Subject: [Nagios-users] check_procs -C on AIX 5L

I am having issues with the check_procs command on AIX 5L systems.  There
is certain instance where it will report a Critical state of no processes
existing, when indeed the process does exist.  After digging, I believe it
is issuing a ps -el.  I have also changed the check_proc.c code to use the
verbose setting.  This the output when I run the command on a AIX 5L system

root $ ./check_procs -w 1: -c 1: -C syslogd
/usr/bin/ps -el
Not parseable:   200003 A   0      1      0   0  60 20 fb8f000  1928
-  0:28 init
Not parseable:   240001 A   0 131178 155720   0  60 20 1cd1c400   604
-  0:00 syslogd
Not parseable:   240001 A   0 155720      1   0  60 20 2ce2400   712
-  0:00 srcmstr
Not parseable:   240001 A   0 172076 155720   0  60 20 7d27400  3036
-  0:07 sendmail
Not parseable:   240001 A   0 180272 155720   0  60 20 10d30400  1784
-  0:04 portmap
Not parseable:   240001 A   0 188462 155720   0  60 20 6d26400   644
-  0:00 inetd
Not parseable:   240001 A   0 196656 155720   0  48  8 1ad3a400   828
-  0:00 xntpd
Not parseable:   240001 A   0 204852 155720   0  60 20 1d41400   720
-  7:54 dpid2
Not parseable:   240001 A   0 213044 155720   0  60 20 dd4d400   804
-  0:40 hostmibd
Not parseable:   240001 A   0 245824 155720   0  60 20 d60400   356
-  0:00 biod
Not parseable:   240001 A   1 262212 155720   0  60 20 cd4c400  2092
-  0:00 rpc.statd
Not parseable:   240001 A   0 327772 155720   0  60 20 15db5400  1656
-  0:00 dtlogin
Not parseable:    40001 A 560 344258 696544   0  60 20 638e400  1968
-  0:00 sshd
Not parseable:    40001 A   0 385120      1   0  60 20 3de3400   308
-  0:00 diagd
Not parseable:   240001 A   0 434326 491674   0  60 20 bfcb400  2944
- 499:32 dtgreet
Not parseable:   200001 A   0 548906 524386   1  60 20 12c9a400   316
pts/0  0:00 ps
Not parseable:   240001 A 560 630858 344258   0  60 20 68e1400   680
pts/0  0:00 ksh
Not parseable:    40001 A   0 639090      1   0  60 20 1b1b3400  1292
-  0:00 sshd
Not parseable:   200001 A   0 647304 630858   1  60 20 5503400   876
pts/0  0:00 ksh
Not parseable:    40001 A   0 663802      1   0  60 20 1bddb400   416
-  0:02 prngd
syslogd CRITICAL - 0 processes running with command name syslogd

So of course any process listed as "not pareable" does not correctly work.

I was hoping someone might have run into this, before I have to resort to
looking at the source code.

Thanks
Ralph




--__--__--

Message: 5
Date: Wed, 17 Dec 2003 17:43:56 -0200
From: "=?ISO-8859-1?Q?Josu=E9=20Souza?=" <josue at nexos.com.br>
To: <nagios-users at lists.sourceforge.net>
Subject: [Nagios-users] Monitoring Unix memory and network

Hello,

I'm using Nagios to monitor some Windows NT/2K and Unix servers. Among the =
various things I have to monitor is memory and network usage. I managed to =
do this on Windows using NSClient and fetching data from Windows perfomance=
 counters but I didn't find a way to do the same with a Unix box (I'm =
testing on a FreeBSD 4.5 server). I have installed the nagios-plugins and =
couldn't find anyone who can give me memory and network traffic (inbound/ou=
tbound bytes) stats.

Any hints on how to do this?

Thanks

Josue Souza
Nexos Information Security

Salvador - Bahia - Brasil



--__--__--

Message: 6
From: DTerrell at Delphi-Tech.com
To: Nagios-users at lists.sourceforge.net
Date: Wed, 17 Dec 2003 15:01:19 -0500
Subject: [Nagios-users] Jabber message newlines --and-- notify_via_jabber
patch for ssl

I recently read the post about notify-via-jabber and went to impliment it
immediately.  A small note is how would I be able to insert new lines into
the message instead of having one long sentence?

Also, I use SSL enabled Jabber and noticed there wasn't support in the perl
script for it.  Simple patch is:

--- notify_via_jabber   2003-12-17 14:24:40.000000000 -0500
+++ notify_via_jabber1  2003-12-17 14:25:09.000000000 -0500
@@ -32,9 +32,10 @@
 use constant RESOURCE  => 'resource';
 use constant MESSAGE   => $ARGV[1];
 use constant MAXWAIT   => 2 ;
+use constant SSL       => 1;

 my $connection = Net::Jabber::Client->new();
-$connection->Connect( "hostname" => SERVER,"port" => PORT )  or die
+$connection->Connect( "hostname" => SERVER,"port" => PORT,"ssl" => SSL )
or die
 "Cannot connect ($!)\n";

 my @result = $connection->AuthSend( "username" => USER,"password" =>

of course, you'll also have to make sure the port is changed properly, SSL
can be 1 or 0 (go figure).

Thanks,

> ________________________ 
> David A. Terrell
> MIS Engineer, RHCE, A+
> Delphi Technology, Inc. 
> Cambridge, MA 02139
> 617-494-8361 x2024
> 
> 
> 


--__--__--

Message: 7
From: Jeff Engstrom <Jeff.Engstrom at fortix.net>
To: "'nagios-users at lists.sourceforge.net'"
	 <nagios-users at lists.sourceforge.net>
Date: Wed, 17 Dec 2003 12:43:46 -0800
Subject: [Nagios-users] NSCA Distributed Server

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3C4DE.77572710
Content-Type: text/plain

Greetings,

 

            For some reason the script that updates the central server is
not executing but all other external commands seem to work fine.  I was
hoping that someone might be able to help?  Here is the configuration (sorry
about the length)...

 

Central Server (10.1.1.4)

            NSCA running in daemon mode with the following config...

                        server_port=5667

server_address=10.1.1.4

allowed_hosts=10.1.1.3

nsca_user=nagios

nsca_group=nagios

debug=1

command_file=/usr/local/nagios/var/rw/nagios.cmd

alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump

aggregate_writes=1

append_to_file=0

max_packet_age=30

password=nagiosadmin

decryption_method=2

            

            nagios.cfg has the following..

log_file=/usr/local/nagios/var/nagios.log

cfg_file=/usr/local/nagios/etc/checkcommands.cfg

cfg_file=/usr/local/nagios/etc/misccommands.cfg

cfg_file=/usr/local/nagios/etc/contactgroups.cfg

cfg_file=/usr/local/nagios/etc/contacts.cfg

cfg_file=/usr/local/nagios/etc/dependencies.cfg

cfg_file=/usr/local/nagios/etc/escalations.cfg

cfg_file=/usr/local/nagios/etc/hostgroups.cfg

cfg_file=/usr/local/nagios/etc/hosts.cfg

cfg_file=/usr/local/nagios/etc/services.cfg

cfg_file=/usr/local/nagios/etc/timeperiods.cfg

resource_file=/usr/local/nagios/etc/resource.cfg

status_file=/usr/local/nagios/var/status.log

nagios_user=nagios

nagios_group=nagios

check_external_commands=1

command_check_interval=30s

command_file=/usr/local/nagios/var/rw/nagios.cmd

comment_file=/usr/local/nagios/var/comment.log

downtime_file=/usr/local/nagios/var/downtime.log

lock_file=/usr/local/nagios/var/nagios.lock

temp_file=/usr/local/nagios/var/nagios.tmp

log_rotation_method=d

log_archive_path=/usr/local/nagios/var/archives

use_syslog=1

log_notifications=1

log_service_retries=1

log_host_retries=1

log_event_handlers=1

log_initial_states=1

log_external_commands=1

log_passive_service_checks=1

#global_host_event_handler=somecommand

#global_service_event_handler=somecommand

inter_check_delay_method=s

service_interleave_factor=s

max_concurrent_checks=9

service_reaper_frequency=3

sleep_time=1

service_check_timeout=60

host_check_timeout=60

event_handler_timeout=30

notification_timeout=30

ocsp_timeout=5

perfdata_timeout=5

retain_state_information=0

state_retention_file=/usr/local/nagios/var/status.sav

retention_update_interval=60

use_retained_program_state=1

interval_length=60

use_agressive_host_checking=1

execute_service_checks=0

accept_passive_service_checks=1

enable_notifications=0

enable_event_handlers=1

process_performance_data=0

#host_perfdata_command=process-host-perfdata

#service_perfdata_command=process-service-perfdata

obsess_over_services=0

#ocsp_command=somecommand

check_for_orphaned_services=1

check_service_freshness=1

freshness_check_interval=93600

aggregate_status_updates=1

status_update_interval=15

enable_flap_detection=1

low_service_flap_threshold=5.0

high_service_flap_threshold=20.0

low_host_flap_threshold=5.0

high_host_flap_threshold=20.0

date_format=us

illegal_object_name_chars=`~!$%^&*|'"<>?,()=

illegal_macro_output_chars=`~$&|'"<>

 

Distributed Server (10.1.1.3)

            checkcommands.cfg contains...

                        define command{

command_name    submit_check_result

command_line    /usr/local/nagios/libexec/eventhandlers/submit_check_result
$HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$'

}

 

submit_check_result permissions:

            -rwxr-xr-x    1 nagios nagios     1270 Dec 15 14:48
libexec/eventhandlers/submit_check_result

 

submit_check_result file contains the following...

            #!/bin/sh

 

        return_code=-1

 

        case "$3" in

            OK)

                        return_code=0

                    ;;

                WARNING)

                    return_code=1

                        ;;

                CRITICAL)

                    return_code=2

                        ;;

                UNKNOWN)

                    return_code=-1

                        ;;

        esac

 

        /bin/echo -e "$1\t$2\t$return_code\t$4\n" |
/usr/local/nagios/bin/send_nsca 10.1.1.4 -p 5667 -c
/usr/local/nagios/etc/send_nsca.cfg

 

send_nsca.cfg has the following...

                        password=nagiosadmin

encryption_method=2

 

            nagios.cfg...

                        log_file=/usr/local/nagios/var/nagios.log

cfg_file=/usr/local/nagios/etc/checkcommands.cfg

cfg_file=/usr/local/nagios/etc/misccommands.cfg

cfg_file=/usr/local/nagios/etc/contactgroups.cfg

cfg_file=/usr/local/nagios/etc/contacts.cfg

cfg_file=/usr/local/nagios/etc/dependencies.cfg

cfg_file=/usr/local/nagios/etc/escalations.cfg

cfg_file=/usr/local/nagios/etc/hostgroups.cfg

cfg_file=/usr/local/nagios/etc/hosts.cfg

cfg_file=/usr/local/nagios/etc/services.cfg

cfg_file=/usr/local/nagios/etc/timeperiods.cfg

resource_file=/usr/local/nagios/etc/resource.cfg

status_file=/usr/local/nagios/var/status.log

nagios_user=nagios

nagios_group=nagios

check_external_commands=1

command_check_interval=-1

command_file=/usr/local/nagios/var/rw/nagios.cmd

comment_file=/usr/local/nagios/var/comment.log

downtime_file=/usr/local/nagios/var/downtime.log

lock_file=/usr/local/nagios/var/nagios.lock

temp_file=/usr/local/nagios/var/nagios.tmp

log_rotation_method=d

log_archive_path=/usr/local/nagios/var/archives

use_syslog=1

log_notifications=1

log_service_retries=1

log_host_retries=1

log_event_handlers=1

log_initial_states=1

log_external_commands=1

log_passive_service_checks=1

inter_check_delay_method=s

log_file=/usr/local/nagios/var/nagios.log

cfg_file=/usr/local/nagios/etc/checkcommands.cfg

cfg_file=/usr/local/nagios/etc/misccommands.cfg

cfg_file=/usr/local/nagios/etc/contactgroups.cfg

cfg_file=/usr/local/nagios/etc/contacts.cfg

cfg_file=/usr/local/nagios/etc/dependencies.cfg

cfg_file=/usr/local/nagios/etc/escalations.cfg

cfg_file=/usr/local/nagios/etc/hostgroups.cfg

cfg_file=/usr/local/nagios/etc/hosts.cfg

cfg_file=/usr/local/nagios/etc/services.cfg

cfg_file=/usr/local/nagios/etc/timeperiods.cfg

resource_file=/usr/local/nagios/etc/resource.cfg

status_file=/usr/local/nagios/var/status.log

nagios_user=nagios

nagios_group=nagios

check_external_commands=1

command_check_interval=-1

command_file=/usr/local/nagios/var/rw/nagios.cmd

comment_file=/usr/local/nagios/var/comment.log

downtime_file=/usr/local/nagios/var/downtime.log

lock_file=/usr/local/nagios/var/nagios.lock

temp_file=/usr/local/nagios/var/nagios.tmp

log_rotation_method=d

log_archive_path=/usr/local/nagios/var/archives

use_syslog=1

log_notifications=1

log_service_retries=1

log_host_retries=1

log_event_handlers=1

log_initial_states=1

log_external_commands=1

log_passive_service_checks=1

inter_check_delay_method=s

service_interleave_factor=s

max_concurrent_checks=9

service_reaper_frequency=3

sleep_time=1

service_check_timeout=60

host_check_timeout=60

event_handler_timeout=30

notification_timeout=30

ocsp_timeout=5

perfdata_timeout=5

retain_state_information=1

state_retention_file=/usr/local/nagios/var/status.sav

retention_update_interval=60

use_retained_program_state=1

interval_length=60

use_agressive_host_checking=1

execute_service_checks=1

accept_passive_service_checks=1

enable_notifications=1

enable_event_handlers=1

process_performance_data=1

obsess_over_services=1

ocsp_command=submit_check_result

check_for_orphaned_services=1

check_service_freshness=1

freshness_check_interval=60

aggregate_status_updates=1

status_update_interval=15

enable_flap_detection=1

low_service_flap_threshold=5.0

high_service_flap_threshold=20.0

low_host_flap_threshold=5.0

high_host_flap_threshold=20.0

date_format=us

illegal_object_name_chars=`~!$%^&*|'"<>?,()=

illegal_macro_output_chars=`~$&|'"<>

 

 

Thanks!!

Jeff


------_=_NextPart_001_01C3C4DE.77572710
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Greetings,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>        &nbsp=
;   For
some reason the script that updates the central server is not executing =
but all
other external commands seem to work fine.  I was hoping that =
someone
might be able to help?  Here is the configuration (sorry about the =
length)...<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Central Server =
(10.1.1.4)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>        &nbsp=
;   NSCA
running in daemon mode with the following =
config...<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>        &nbsp=
;           &nbsp=
;   server_port=3D5667<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>server_address=3D10.1.1.4<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>allowed_hosts=3D10.1.1.3<o:=
p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>nsca_user=3Dnagios<o:p></o:=
p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>nsca_group=3Dnagios<o:p></o=
:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>debug=3D1<o:p></o:p></span>=
</font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>command_file=3D/usr/local/n=
agios/var/rw/nagios.cmd<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>alternate_dump_file=3D/usr/=
local/nagios/var/rw/nsca.dump<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>aggregate_writes=3D1<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>append_to_file=3D0<o:p></o:=
p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>max_packet_age=3D30<o:p></o=
:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>password=3Dnagiosadmin<o:p>=
</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>decryption_method=3D2<o:p><=
/o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>        &nbsp=
;   <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>        &nbsp=
;   nagios.cfg
has the following..<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_file=3D/usr/local/nagio=
s/var/nagios.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/checkcommands.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/misccommands.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/contactgroups.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/contacts.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/dependencies.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/escalations.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/hostgroups.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/hosts.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/services.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/timeperiods.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>resource_file=3D/usr/local/=
nagios/etc/resource.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>status_file=3D/usr/local/na=
gios/var/status.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>nagios_user=3Dnagios<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>nagios_group=3Dnagios<o:p><=
/o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>check_external_commands=3D1=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>command_check_interval=3D30=
s<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>command_file=3D/usr/local/n=
agios/var/rw/nagios.cmd<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>comment_file=3D/usr/local/n=
agios/var/comment.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>downtime_file=3D/usr/local/=
nagios/var/downtime.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>lock_file=3D/usr/local/nagi=
os/var/nagios.lock<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>temp_file=3D/usr/local/nagi=
os/var/nagios.tmp<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_rotation_method=3Dd<o:p=
></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_archive_path=3D/usr/loc=
al/nagios/var/archives<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>use_syslog=3D1<o:p></o:p></=
span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_notifications=3D1<o:p><=
/o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_service_retries=3D1<o:p=
></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_host_retries=3D1<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_event_handlers=3D1<o:p>=
</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_initial_states=3D1<o:p>=
</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_external_commands=3D1<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_passive_service_checks=3D=
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>#global_host_event_handler=3D=
somecommand<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>#global_service_event_handl=
er=3Dsomecommand<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>inter_check_delay_method=3D=
s<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>service_interleave_factor=3D=
s<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>max_concurrent_checks=3D9<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 face=3DA=
rial><span
style=3D'font-size:10.0pt;font-family:Arial'>service_reaper_frequency=3D=
3<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>sleep_time=3D1<o:p></o:p></=
span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>service_check_timeout=3D60<=
o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>host_check_timeout=3D60<o:p=
></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>event_handler_timeout=3D30<=
o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>notification_timeout=3D30<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>ocsp_timeout=3D5<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>perfdata_timeout=3D5<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>retain_state_information=3D=
0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>state_retention_file=3D/usr=
/local/nagios/var/status.sav<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>retention_update_interval=3D=
60<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>use_retained_program_state=3D=
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>interval_length=3D60<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>use_agressive_host_checking=
=3D1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>execute_service_checks=3D0<=
o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>accept_passive_service_chec=
ks=3D1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>enable_notifications=3D0<o:=
p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>enable_event_handlers=3D1<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>process_performance_data=3D=
0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>#host_perfdata_command=3Dpr=
ocess-host-perfdata<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>#service_perfdata_command=3D=
process-service-perfdata<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>obsess_over_services=3D0<o:=
p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>#ocsp_command=3Dsomecommand=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>check_for_orphaned_services=
=3D1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>check_service_freshness=3D1=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>freshness_check_interval=3D=
93600<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>aggregate_status_updates=3D=
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>status_update_interval=3D15=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>enable_flap_detection=3D1<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>low_service_flap_threshold=3D=
5.0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>high_service_flap_threshold=
=3D20.0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>low_host_flap_threshold=3D5=
.0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>high_host_flap_threshold=3D=
20.0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>date_format=3Dus<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>illegal_object_name_chars=3D=
`~!$%^&*|'"<>?,()=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>illegal_macro_output_chars=3D=
`~$&|'"<><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Distributed Server =
(10.1.1.3)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>        &nbsp=
;   checkcommands.cfg
contains...<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>        &nbsp=
;           &nbsp=
;   define
command{<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>command_name  &nb=
sp;
submit_check_result<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>command_line  &nb=
sp;
/usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$
'$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$'<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>}<o:p></o:p></span></font><=
/p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>submit_check_result =
permissions:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;       -rwxr-xr-x   
1 nagios nagios     1270 Dec 15 14:48
libexec/eventhandlers/submit_check_result<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>submit_check_result file =
contains
the following...<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;       =
#!/bin/sh<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;  
return_code=3D-1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;  
case "$3" in<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;      
OK)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;           &nb=
sp;      
return_code=3D0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;           &nb=
sp;  
;;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;          
WARNING)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;           &nb=
sp;  
return_code=3D1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;           &nb=
sp;      
;;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;          
CRITICAL)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;           &nb=
sp;  
return_code=3D2<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;           &nb=
sp;      
;;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;          
UNKNOWN)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;           &nb=
sp;  
return_code=3D-1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;           &nb=
sp;      
;;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;  
esac<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>    &nb=
sp;  
/bin/echo -e "$1\t$2\t$return_code\t$4\n" | =
/usr/local/nagios/bin/send_nsca
10.1.1.4 -p 5667 -c =
/usr/local/nagios/etc/send_nsca.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>send_nsca.cfg has the =
following...<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>        &nbsp=
;           &nbsp=
;   password=3Dnagiosadmin<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:.5in'><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>encryption_method=3D2<o:p><=
/o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>        &nbsp=
;   nagios.cfg...<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>        &nbsp=
;           &nbsp=
;   =
log_file=3D/usr/local/nagios/var/nagios.log<o:p></o:p></span></font></p>=


<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/checkcommands.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/misccommands.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/contactgroups.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/contacts.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/dependencies.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/escalations.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/hostgroups.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/hosts.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/services.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/timeperiods.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>resource_file=3D/usr/local/=
nagios/etc/resource.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>status_file=3D/usr/local/na=
gios/var/status.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>nagios_user=3Dnagios<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>nagios_group=3Dnagios<o:p><=
/o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>check_external_commands=3D1=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>command_check_interval=3D-1=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>command_file=3D/usr/local/n=
agios/var/rw/nagios.cmd<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>comment_file=3D/usr/local/n=
agios/var/comment.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>downtime_file=3D/usr/local/=
nagios/var/downtime.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>lock_file=3D/usr/local/nagi=
os/var/nagios.lock<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>temp_file=3D/usr/local/nagi=
os/var/nagios.tmp<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_rotation_method=3Dd<o:p=
></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_archive_path=3D/usr/loc=
al/nagios/var/archives<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>use_syslog=3D1<o:p></o:p></=
span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_notifications=3D1<o:p><=
/o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_service_retries=3D1<o:p=
></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_host_retries=3D1<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_event_handlers=3D1<o:p>=
</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_initial_states=3D1<o:p>=
</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_external_commands=3D1<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_passive_service_checks=3D=
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>inter_check_delay_method=3D=
s<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_file=3D/usr/local/nagio=
s/var/nagios.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/checkcommands.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/misccommands.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/contactgroups.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/contacts.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/dependencies.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/escalations.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/hostgroups.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/hosts.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/services.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cfg_file=3D/usr/local/nagio=
s/etc/timeperiods.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>resource_file=3D/usr/local/=
nagios/etc/resource.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>status_file=3D/usr/local/na=
gios/var/status.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>nagios_user=3Dnagios<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>nagios_group=3Dnagios<o:p><=
/o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>check_external_commands=3D1=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>command_check_interval=3D-1=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>command_file=3D/usr/local/n=
agios/var/rw/nagios.cmd<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>comment_file=3D/usr/local/n=
agios/var/comment.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>downtime_file=3D/usr/local/=
nagios/var/downtime.log<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>lock_file=3D/usr/local/nagi=
os/var/nagios.lock<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>temp_file=3D/usr/local/nagi=
os/var/nagios.tmp<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_rotation_method=3Dd<o:p=
></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_archive_path=3D/usr/loc=
al/nagios/var/archives<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>use_syslog=3D1<o:p></o:p></=
span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_notifications=3D1<o:p><=
/o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_service_retries=3D1<o:p=
></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_host_retries=3D1<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_event_handlers=3D1<o:p>=
</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_initial_states=3D1<o:p>=
</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_external_commands=3D1<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>log_passive_service_checks=3D=
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>inter_check_delay_method=3D=
s<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>service_interleave_factor=3D=
s<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>max_concurrent_checks=3D9<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>service_reaper_frequency=3D=
3<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>sleep_time=3D1<o:p></o:p></=
span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>service_check_timeout=3D60<=
o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>host_check_timeout=3D60<o:p=
></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>event_handler_timeout=3D30<=
o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>notification_timeout=3D30<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>ocsp_timeout=3D5<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>perfdata_timeout=3D5<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>retain_state_information=3D=
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>state_retention_file=3D/usr=
/local/nagios/var/status.sav<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>retention_update_interval=3D=
60<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>use_retained_program_state=3D=
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>interval_length=3D60<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>use_agressive_host_checking=
=3D1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>execute_service_checks=3D1<=
o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>accept_passive_service_chec=
ks=3D1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>enable_notifications=3D1<o:=
p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>enable_event_handlers=3D1<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>process_performance_data=3D=
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>obsess_over_services=3D1<o:=
p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>ocsp_command=3Dsubmit_check=
_result<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>check_for_orphaned_services=
=3D1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>check_service_freshness=3D1=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>freshness_check_interval=3D=
60<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>aggregate_status_updates=3D=
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>status_update_interval=3D15=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>enable_flap_detection=3D1<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>low_service_flap_threshold=3D=
5.0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>high_service_flap_threshold=
=3D20.0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>low_host_flap_threshold=3D5=
.0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>high_host_flap_threshold=3D=
20.0<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>date_format=3Dus<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>illegal_object_name_chars=3D=
`~!$%^&*|'"<>?,()=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:1.0in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>illegal_macro_output_chars=3D=
`~$&|'"<><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks!!<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Jeff<o:p></o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C3C4DE.77572710--


--__--__--

Message: 8
Date: Wed, 17 Dec 2003 16:08:14 -0500 (EST)
From: Matt Pounsett <matt.pounsett at cira.ca>
To: nagios-users <nagios-users at lists.sourceforge.net>
Subject: Re: [Nagios-users] Generating nagios configs from LDAP, nmap, and 
 traceroute

On Wed, 17 Dec 2003, Al Tobey wrote:

> I find that manually managing the configuration files is really less
> work than you'd think.  Once I set up a shell script to automatically
> check the configurations out of CVS and bounce Nagios, the workload for
> maintaining those configuration files has been minimal.  The only
> downside is that it's harder to delegate administration of some servers,
> for example to our DBA's.

I've found the same thing -- I wound up creating one file per host, sorted
into directories based on install site, and put services in the files with
the
hosts.  Manual maintenance has been pretty easy doing things that way,
except
for the issue of getting non-sysadmins to maintain the configs.  Sticking
with
the DBA example... I'm currently taking the position that the DBAs are
responsible for scheduling downtime, acknowledging notifications, etc.. but
that if they make major changes which require a Nagios config change, they
copy the sysadmins who will reflect the change in Nagios.

Maybe one day I'll invest the time to train the programmers and DBAs on
maintaining the config files, and then work out the right CVS rules to only
allow them to modify their files.. but for now that is more work than
maintaining the configs on their behalf.

-- 
Matt Pounsett                 CIRA - Canadian Internet Registration
Authority
Technical Support Programmer                    350 Sparks Street, Suite
1110
matt.pounsett at cira.ca                                 Ottawa, Ontario,
Canada
613.237.5335 ext. 231
http://www.cira.ca



--__--__--

Message: 9
Subject: RE: [Nagios-users] NSCA Distributed Server
Date: Wed, 17 Dec 2003 15:18:29 -0600
From: "Marc Powell" <marc at ena.com>
To: "Jeff Engstrom" <Jeff.Engstrom at fortix.net>,
	<nagios-users at lists.sourceforge.net>

See inline comments marked with <MARC>:
________________________________________
From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net]=20
Sent: Wednesday, December 17, 2003 2:44 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] NSCA Distributed Server

Greetings,

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 For some reason the script that =
updates the central server is not executing but all other external =
commands seem to work fine.=A0 I was hoping that someone might be able =
to help?=A0 Here is the configuration (sorry about the length)...

<MARC> - Is there any error message in /var/log/messages on either =
machine? You might try enabling the debug option in nsca.cfg to get more =
detailed information. You should also try submitting a check result by =
calling send_nsca manually. That might spit out some errors. I'd also =
verify that nsca is listening on the IP/Port you expect it to be via =
netstat -aelp.


Central Server (10.1.1.4)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NSCA running in daemon mode with the =
following config...
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
server_port=3D5667
[snip]
<MARC> NSCA config looks fine at first glance.
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nagios.cfg has the following..
[snip]

command_check_interval=3D30s

<MARC> - This isn't valid for a 1.1 or below config AFAIK (it may be for =
a 2.0 config though). This should be an integer value specifying a =
multiple of the interval_length. For example, if you have your interval =
length set at 60 (seconds), then a 1 here would cause nagios to check =
for external commands every 60 seconds. 2 would mean every 120 seconds. =
The only odd value you could have here would be -1 which would cause =
nagios to check for external commands as often as possible. This could =
very well be your problem. A simple test would be to do an ls -l on =
rw/nagios.cmd and see if it's anything other than 0 length. If it's not =
then NSCA is successfully appending new results to the file but nagios =
may not be reading them.

Distributed Server (10.1.1.3)

[snip]
<MARC> Distributed server information looked fine. It is interesting to =
note that your had the command_check_interval set to -1 here where I =
would expect the least number of external commands (if any) to be =
received. That's more of a work-flow thing anyway I would suspect.

--
Marc=20





--__--__--

Message: 10
From: Jeff Engstrom <Jeff.Engstrom at fortix.net>
To: 'Marc Powell' <marc at ena.com>, nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NSCA Distributed Server
Date: Wed, 17 Dec 2003 13:28:00 -0800

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3C4E4.A58CC6C0
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Marc,

	First and foremost, Thanks for the response!

	I was unable to locate anything strange when I did a tail -f
/var/log/messages on either machine.

	Thanks for the heads up on the command_check_interval setting.  That
was there for testing and I forgot to change it back.

	I'm not sure why the oscp_command is not executing on the
distributed server when the configuration tells it to execute??=20

	One strange thing to note though...  If I run the script manually
from the distributed server it connects for 10secs and then times out.  =
This
is the output of /var/log/messages on the central server...
		Dec 17 13:20:44 nsca[6650]: Handling the connection...
		Dec 17 13:20:54 nsca[6650]: End of connection...

Thanks again!
Jeff

-----Original Message-----
From: Marc Powell [mailto:marc at ena.com]=20
Sent: Wednesday, December 17, 2003 1:18 PM
To: Jeff Engstrom; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NSCA Distributed Server

See inline comments marked with <MARC>:
________________________________________
From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net]=20
Sent: Wednesday, December 17, 2003 2:44 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] NSCA Distributed Server

Greetings,

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 For some reason the script that =
updates the central server is
not executing but all other external commands seem to work fine.=A0 I =
was
hoping that someone might be able to help?=A0 Here is the configuration =
(sorry
about the length)...

<MARC> - Is there any error message in /var/log/messages on either =
machine?
You might try enabling the debug option in nsca.cfg to get more =
detailed
information. You should also try submitting a check result by calling
send_nsca manually. That might spit out some errors. I'd also verify =
that
nsca is listening on the IP/Port you expect it to be via netstat -aelp.


Central Server (10.1.1.4)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NSCA running in daemon mode with the =
following config...
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
server_port=3D5667
[snip]
<MARC> NSCA config looks fine at first glance.
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nagios.cfg has the following..
[snip]

command_check_interval=3D30s

<MARC> - This isn't valid for a 1.1 or below config AFAIK (it may be =
for a
2.0 config though). This should be an integer value specifying a =
multiple of
the interval_length. For example, if you have your interval length set =
at 60
(seconds), then a 1 here would cause nagios to check for external =
commands
every 60 seconds. 2 would mean every 120 seconds. The only odd value =
you
could have here would be -1 which would cause nagios to check for =
external
commands as often as possible. This could very well be your problem. A
simple test would be to do an ls -l on rw/nagios.cmd and see if it's
anything other than 0 length. If it's not then NSCA is successfully
appending new results to the file but nagios may not be reading them.

Distributed Server (10.1.1.3)

[snip]
<MARC> Distributed server information looked fine. It is interesting to =
note
that your had the command_check_interval set to -1 here where I would =
expect
the least number of external commands (if any) to be received. That's =
more
of a work-flow thing anyway I would suspect.

--
Marc=20



------_=_NextPart_001_01C3C4E4.A58CC6C0
Content-Type: text/html;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DISO-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>RE: [Nagios-users] NSCA Distributed Server</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Marc,</FONT>
</P>

<P>        <FONT SIZE=3D2>First and =
foremost, Thanks for the response!</FONT>
</P>

<P>        <FONT SIZE=3D2>I was =
unable to locate anything strange when I did a tail -f =
/var/log/messages on either machine.</FONT>
</P>

<P>        <FONT SIZE=3D2>Thanks for =
the heads up on the command_check_interval setting.  That was =
there for testing and I forgot to change it back.</FONT></P>

<P>        <FONT SIZE=3D2>I'm not =
sure why the oscp_command is not executing on the distributed server =
when the configuration tells it to execute?? </FONT></P>

<P>        <FONT SIZE=3D2>One =
strange thing to note though...  If I run the script manually from =
the distributed server it connects for 10secs and then times out.  =
This is the output of /var/log/messages on the central =
server...</FONT></P>

<P>        =
        <FONT SIZE=3D2>Dec 17 =
13:20:44 nsca[6650]: Handling the connection...</FONT>
<BR>        =
        <FONT SIZE=3D2>Dec 17 =
13:20:54 nsca[6650]: End of connection...</FONT>
</P>

<P><FONT SIZE=3D2>Thanks again!</FONT>
<BR><FONT SIZE=3D2>Jeff</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Marc Powell [<A =
HREF=3D"mailto:marc at ena.com">mailto:marc at ena.com</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, December 17, 2003 1:18 PM</FONT>
<BR><FONT SIZE=3D2>To: Jeff Engstrom; =
nagios-users at lists.sourceforge.net</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Nagios-users] NSCA Distributed =
Server</FONT>
</P>

<P><FONT SIZE=3D2>See inline comments marked with <MARC>:</FONT>
<BR><FONT SIZE=3D2>________________________________________</FONT>
<BR><FONT SIZE=3D2>From: Jeff Engstrom [<A =
HREF=3D"mailto:Jeff.Engstrom at fortix.net">mailto:Jeff.Engstrom at fortix.net=
</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, December 17, 2003 2:44 PM</FONT>
<BR><FONT SIZE=3D2>To: 'nagios-users at lists.sourceforge.net'</FONT>
<BR><FONT SIZE=3D2>Subject: [Nagios-users] NSCA Distributed =
Server</FONT>
</P>

<P><FONT SIZE=3D2>Greetings,</FONT>
</P>

<P><FONT SIZE=3D2>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 For some reason the =
script that updates the central server is not executing but all other =
external commands seem to work fine.=A0 I was hoping that someone might =
be able to help?=A0 Here is the configuration (sorry about the =
length)...</FONT></P>

<P><FONT SIZE=3D2><MARC> - Is there any error message in =
/var/log/messages on either machine? You might try enabling the debug =
option in nsca.cfg to get more detailed information. You should also =
try submitting a check result by calling send_nsca manually. That might =
spit out some errors. I'd also verify that nsca is listening on the =
IP/Port you expect it to be via netstat -aelp.</FONT></P>
<BR>

<P><FONT SIZE=3D2>Central Server (10.1.1.4)</FONT>
<BR><FONT SIZE=3D2>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NSCA running in =
daemon mode with the following config...</FONT>
<BR><FONT =
SIZE=3D2>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0 server_port=3D5667</FONT>
<BR><FONT SIZE=3D2>[snip]</FONT>
<BR><FONT SIZE=3D2><MARC> NSCA config looks fine at first =
glance.</FONT>
<BR><FONT SIZE=3D2>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </FONT>
<BR><FONT SIZE=3D2>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nagios.cfg has the =
following..</FONT>
<BR><FONT SIZE=3D2>[snip]</FONT>
</P>

<P><FONT SIZE=3D2>command_check_interval=3D30s</FONT>
</P>

<P><FONT SIZE=3D2><MARC> - This isn't valid for a 1.1 or below =
config AFAIK (it may be for a 2.0 config though). This should be an =
integer value specifying a multiple of the interval_length. For =
example, if you have your interval length set at 60 (seconds), then a 1 =
here would cause nagios to check for external commands every 60 =
seconds. 2 would mean every 120 seconds. The only odd value you could =
have here would be -1 which would cause nagios to check for external =
commands as often as possible. This could very well be your problem. A =
simple test would be to do an ls -l on rw/nagios.cmd and see if it's =
anything other than 0 length. If it's not then NSCA is successfully =
appending new results to the file but nagios may not be reading =
them.</FONT></P>

<P><FONT SIZE=3D2>Distributed Server (10.1.1.3)</FONT>
</P>

<P><FONT SIZE=3D2>[snip]</FONT>
<BR><FONT SIZE=3D2><MARC> Distributed server information looked =
fine. It is interesting to note that your had the =
command_check_interval set to -1 here where I would expect the least =
number of external commands (if any) to be received. That's more of a =
work-flow thing anyway I would suspect.</FONT></P>

<P><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Marc </FONT>
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C3C4E4.A58CC6C0--


--__--__--

Message: 11
Subject: Re: [Nagios-users] Generating nagios configs from LDAP, nmap, and
	traceroute
From: Ben Lisle <benl at flowcom.com.au>
To: "Luke A. Kanies" <luke at madstop.com>
Cc: nagios-users at lists.sourceforge.net
Date: Thu, 18 Dec 2003 07:51:13 +1100

Hi,

We're doing exactly this sort of thing at the moment.

It's a real pain in the ass having to manage a whole range of
applications to monitor/manage network elements.  We use Nagios, Cricket
(RRDTool), Pancho, Networklens, Smokeping, and one or two others.  Each
of them have their own way of storing their configuration information.
Each of them have some nifty application that can be used to manage
them.  Urgh!

We're using LDAP as a machine database of sorts.  The theory goes
something like this.  We'll have our own application (both web-based and
a PyGTK tool) which will be used to modify/view/add records in LDAP. 
Once you're happy with a configuration you can "push" the new device to
the various applications you'll be using.  So it'll put a good
Defaults/Targets definition in the right spot in the Cricket config
tree, it'll build the host/hostgroups/service configs for Nagios, that
sort of thing.  It'll obviously config the other tools we use, but those
are the main two we're working on right now.

I've got a rough schema hacked out for Cricket at the moment, so we're
just beyond the planning stage finally.  The Nagios schema will probably
be next.
 
If there's any interest for this sort of thing let me know.  I'll see if
I can con our management into releasing these sorts of things. If not
I'll put up some documenation on what we've done and why we did it.

I hate release dates, but we should have a fairly working tool by
mid-late February.

Rocking!

Ben

On Wed, 2003-12-17 at 08:37, Luke A. Kanies wrote:
> Hi all,
> 
> I've just started on a project to generate my nagios configurations, and
> I'd like to know if others have worked on similar projects, and I'd also
> like to know if others would find this work useful, and if so, how.
> 
> One of my barriers to using nagios has always been my unwillingness to
> maintain yet another host list.  I already maintain a list of all of my
> hosts in LDAP, and my nagios configs need to automatically update
> themselves based on that list.  Also, I can't have my nagios configuration
> be the definition of what "should" be running on the system, because then
> when I update the host I have to update Nagios, which I hate.
> 
> So, I'm trying to come up with a design for maintaining my entire Nagios
> data configuration automatically.  My LDAP host list is basically
> self-maintaining (I have a client/server style script that does most the
> work), I already have all of my contacts in LDAP, the network is
> authoritative on what machines each of my machines depends on, and the
> hosts themselves are (usually) authoritative on what services they should
> be providing.
> 
> What I want is something to collect all of that and turn it into a valid
> nagios config.  However, there are still some pieces missing.  For
> instance, the LDAP directory is not currently capable of holding the
> templates for the various object types, and there are some nagios-specific
> details I'll probably want to associate with hosts and contacts.
> 
> So, I think the first step is to create a nagios schema for LDAP.  This is
> the main thing I want to check:  Would I be redoing someone else's work
> here?  It's definitely a no-no to have schema variety.  If no one else has
> ever done this before, then I'll go ahead and create one for OpenLDAP (it
> should be easily usable for most other LDAP servers) and contribute it
> back to the Nagios developers.
> 
> Second is getting the data out of the directory.  I've actually already
> created a set of ruby classes which do this quite well.  I've also created
> a parser in ruby which can parse existing files and glean all the data in
> them; it's a small stretch from where I am to parsing those files and
> putting all of their data into LDAP.  Because I don't currently have any
> nagios configs, I'm less interested in moving data into LDAP, but I'd be
> glad to work with people who would like to transition from storing data in
> flat files to storing it in LDAP.
> 
> Next is figuring out which services a given host should be running.  I am
> currently focusing on external services (i.e., ports), but will later
> visit using nrpe et al to monitor other stuff.  I know that there is
> already an nmap2nagios script, and I would probably plan on utilyzing
> lessons from this script, but because I need the results to interoperate
> with the rest of my data structures I'll probably write something similar
> in ruby.  This tool will specifically support only scanning specific for
> specific ports, as in most cases I don't want to monitor every port.
> 
> Lastly is deducing the dependencies for each host.  Apparently not many
> people (none?) have built automated topology tools using traceroute, as I
> could not find any online (well, I could find some that resulted in maps,
> but none that were generically for building topologies).  It should be
> pretty simple to do, so I plan on adding a 'dependencies' method or
> something to my ruby objects that transparently uses traceroute to figure
> out the dependencies.  I may later abstract that into an overall topology
> tool, but unless I have a client specifically request that, I am unlikely
> to do so any time soon.  (I'm an independent consultant and am doing all
> this for a client.)  It also would not be a bad idea to have an option for
> automatically monitoring these extra hosts.
> 
> So, now that you basically know my plans, my main question is:  Has
> someone done something like this before?  I'm slightly incredulous that
> everyone using nagios is hand-editing every config file and manually
> adding every service and every dependency.
> 
> I'm hoping to release all of the code I write, but it will take some
> effort on my part, as my current client has one of those we-get-everything
> contracts.  At the very least I plan on writing an article on my
> experiences and then probably redoing the work in my free time.
> 
> Anyone have any of this experience?
> 
> Thanks,
> Luke Kanies
> Reductive Consulting
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null



--__--__--

Message: 12
To: nagios-users at lists.sourceforge.net,
	roppedisano at infracomspa.it
Date: Wed, 17 Dec 2003 22:48:31 +0100
From: Hermes at infracomspa.it
Subject: Re: [Nagios-users] Generating nagios configs from LDAP, nmap, and
	traceroute ScanMail has blocked your mail due to a mail policy.

nagios-users-admin at lists.sourceforge.net
Reason the mail was blocked:


Scanned by ScanMail for Lotus Notes 2.6
with scanengine 6.810-1005
and patternfile lpt$vpn.702




--__--__--

Message: 13
From: Jeff Engstrom <Jeff.Engstrom at fortix.net>
To: 'Marc Powell' <marc at ena.com>, nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NSCA Distributed Server
Date: Wed, 17 Dec 2003 13:55:42 -0800

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3C4E8.844447F0
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


I found it!!  On a whim I deleted the status.sav file and wha-la I =
began to
receive updates to the central server!  Thanks for you help again Marc. =
 :)

-Jeff=20


-----Original Message-----
From: Marc Powell [mailto:marc at ena.com]=20
Sent: Wednesday, December 17, 2003 1:18 PM
To: Jeff Engstrom; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NSCA Distributed Server

See inline comments marked with <MARC>:
________________________________________
From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net]=20
Sent: Wednesday, December 17, 2003 2:44 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] NSCA Distributed Server

Greetings,

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 For some reason the script that =
updates the central server is
not executing but all other external commands seem to work fine.=A0 I =
was
hoping that someone might be able to help?=A0 Here is the configuration =
(sorry
about the length)...

<MARC> - Is there any error message in /var/log/messages on either =
machine?
You might try enabling the debug option in nsca.cfg to get more =
detailed
information. You should also try submitting a check result by calling
send_nsca manually. That might spit out some errors. I'd also verify =
that
nsca is listening on the IP/Port you expect it to be via netstat -aelp.


Central Server (10.1.1.4)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NSCA running in daemon mode with the =
following config...
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
server_port=3D5667
[snip]
<MARC> NSCA config looks fine at first glance.
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nagios.cfg has the following..
[snip]

command_check_interval=3D30s

<MARC> - This isn't valid for a 1.1 or below config AFAIK (it may be =
for a
2.0 config though). This should be an integer value specifying a =
multiple of
the interval_length. For example, if you have your interval length set =
at 60
(seconds), then a 1 here would cause nagios to check for external =
commands
every 60 seconds. 2 would mean every 120 seconds. The only odd value =
you
could have here would be -1 which would cause nagios to check for =
external
commands as often as possible. This could very well be your problem. A
simple test would be to do an ls -l on rw/nagios.cmd and see if it's
anything other than 0 length. If it's not then NSCA is successfully
appending new results to the file but nagios may not be reading them.

Distributed Server (10.1.1.3)

[snip]
<MARC> Distributed server information looked fine. It is interesting to =
note
that your had the command_check_interval set to -1 here where I would =
expect
the least number of external commands (if any) to be received. That's =
more
of a work-flow thing anyway I would suspect.

--
Marc=20



------_=_NextPart_001_01C3C4E8.844447F0
Content-Type: text/html;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DISO-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>RE: [Nagios-users] NSCA Distributed Server</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>I found it!!  On a whim I deleted the status.sav =
file and wha-la I began to receive updates to the central server!  =
Thanks for you help again Marc.  :)</FONT></P>

<P><FONT SIZE=3D2>-Jeff </FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Marc Powell [<A =
HREF=3D"mailto:marc at ena.com">mailto:marc at ena.com</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, December 17, 2003 1:18 PM</FONT>
<BR><FONT SIZE=3D2>To: Jeff Engstrom; =
nagios-users at lists.sourceforge.net</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Nagios-users] NSCA Distributed =
Server</FONT>
</P>

<P><FONT SIZE=3D2>See inline comments marked with <MARC>:</FONT>
<BR><FONT SIZE=3D2>________________________________________</FONT>
<BR><FONT SIZE=3D2>From: Jeff Engstrom [<A =
HREF=3D"mailto:Jeff.Engstrom at fortix.net">mailto:Jeff.Engstrom at fortix.net=
</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, December 17, 2003 2:44 PM</FONT>
<BR><FONT SIZE=3D2>To: 'nagios-users at lists.sourceforge.net'</FONT>
<BR><FONT SIZE=3D2>Subject: [Nagios-users] NSCA Distributed =
Server</FONT>
</P>

<P><FONT SIZE=3D2>Greetings,</FONT>
</P>

<P><FONT SIZE=3D2>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 For some reason the =
script that updates the central server is not executing but all other =
external commands seem to work fine.=A0 I was hoping that someone might =
be able to help?=A0 Here is the configuration (sorry about the =
length)...</FONT></P>

<P><FONT SIZE=3D2><MARC> - Is there any error message in =
/var/log/messages on either machine? You might try enabling the debug =
option in nsca.cfg to get more detailed information. You should also =
try submitting a check result by calling send_nsca manually. That might =
spit out some errors. I'd also verify that nsca is listening on the =
IP/Port you expect it to be via netstat -aelp.</FONT></P>
<BR>

<P><FONT SIZE=3D2>Central Server (10.1.1.4)</FONT>
<BR><FONT SIZE=3D2>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NSCA running in =
daemon mode with the following config...</FONT>
<BR><FONT =
SIZE=3D2>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0 server_port=3D5667</FONT>
<BR><FONT SIZE=3D2>[snip]</FONT>
<BR><FONT SIZE=3D2><MARC> NSCA config looks fine at first =
glance.</FONT>
<BR><FONT SIZE=3D2>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </FONT>
<BR><FONT SIZE=3D2>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nagios.cfg has the =
following..</FONT>
<BR><FONT SIZE=3D2>[snip]</FONT>
</P>

<P><FONT SIZE=3D2>command_check_interval=3D30s</FONT>
</P>

<P><FONT SIZE=3D2><MARC> - This isn't valid for a 1.1 or below =
config AFAIK (it may be for a 2.0 config though). This should be an =
integer value specifying a multiple of the interval_length. For =
example, if you have your interval length set at 60 (seconds), then a 1 =
here would cause nagios to check for external commands every 60 =
seconds. 2 would mean every 120 seconds. The only odd value you could =
have here would be -1 which would cause nagios to check for external =
commands as often as possible. This could very well be your problem. A =
simple test would be to do an ls -l on rw/nagios.cmd and see if it's =
anything other than 0 length. If it's not then NSCA is successfully =
appending new results to the file but nagios may not be reading =
them.</FONT></P>

<P><FONT SIZE=3D2>Distributed Server (10.1.1.3)</FONT>
</P>

<P><FONT SIZE=3D2>[snip]</FONT>
<BR><FONT SIZE=3D2><MARC> Distributed server information looked =
fine. It is interesting to note that your had the =
command_check_interval set to -1 here where I would expect the least =
number of external commands (if any) to be received. That's more of a =
work-flow thing anyway I would suspect.</FONT></P>

<P><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Marc </FONT>
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C3C4E8.844447F0--



--__--__--

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


End of Nagios-users Digest


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list