<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>Considering this command is
looking for  “check_dummy” should I remove this then as it isn’t required? From
what I have read of the documentation of this Nagios Appender. There is no
plugin required for it as it is all done via jboss and through NSCA. I could be
wrong on this matter as I find the documentation isn’t very clear.... <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Thanks<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Raymond<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> jonathan.wheeler@stfc.ac.uk
[mailto:jonathan.wheeler@stfc.ac.uk] <br>
<b>Sent:</b> 25 March 2010 10:28<br>
<b>To:</b> nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: [Nagios-users] Nagios Appender 1.5.1<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>The check_command for “define
host” is the command used to check that the host is alive; this is not a
default for service checks which require (usually) their own individual
check_command.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><i><span style='color:#1F497D'>Jonathan Wheeler</span></i><span
style='color:#1F497D'> <br>
<i>e-Science Centre</i> <br>
<i>Rutherford Appleton Laboratory</i><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Raymond Setchfield
[mailto:raymond.setchfield@seewhy.com] <br>
<b>Sent:</b> 25 March 2010 10:06<br>
<b>To:</b> 'Nagios Users List'<br>
<b>Subject:</b> Re: [Nagios-users] Nagios Appender 1.5.1<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>Hi Jonathan<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>This part has also been added
into nagios called VirtualHost.cfg<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>define host{<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
host_name                      
production<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
alias                          
production<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
address                        
127.0.0.1       ; we really don't care what the
host ip is, because we're monitoring a 'virtual' server<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
notifications_enabled          
0              
; Host notifications are not enabled<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
event_handler_enabled          
0              
; Host event handler is not enabled<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
flap_detection_enabled         
1           
   ; Flap detection is enabled<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
failure_prediction_enabled     
1              
; Failure prediction is enabled<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
process_perf_data              
1              
; Process performance data<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
retain_status_information      
1            
  ; Retain status information across program restarts<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
retain_nonstatus_information   
1              
; Retain non-status information across program restarts<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
notification_period            
workhours       ; Send host notifications only
during working hours<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
#notification_period           
24x7            ; Send
host notifications at any time<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
notification_period            
none            ; Send
host notifications never<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
active_checks_enabled          
0              
; Active service checks are enabled<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
check_period                   
24x7            ; By
default, Linux hosts are checked round the clock<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
check_command                  
check_dummy     ; This is a no-op plugin ... we aren't
planning on using it<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
max_check_attempts             
1              
; Check each Linux host 10 times (max)<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
notification_interval          
120             ;
Resend notification every 2 hours<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
notification_options           
d,u,r           ; Send
notifications about warning, unknown, critical, and recovery events<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
contact_groups                 
server_admin    ; Notifications get sent to the admins by
default<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
}<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>define hostgroup{<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
hostgroup_name  terminal<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
alias           West Coast
Production<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
members         production<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
}<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>define service{<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
name                           
virtual-passive-service ; The name of this service template<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
use                            
generic-service         ; Inherit
default values from the generic-service definition<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
check_period                   
none                   
; The service can be checked at any time of the day<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
is_volatile                    
0                      
; The service is not volatile<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
max_check_attempts             
1                      
; Re-check the service up to 4 times in order to determine its final (hard)
state<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
normal_check_interval          
1                      
; Check the service every 5 minutes under normal conditions<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
retry_check_interval           
1                      
; Re-check the service every minute until a hard state can be determined<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>     
  contact_groups                 
server_admin           
; Notifications get sent out to everyone in the 'admins' group<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
notifications_enabled          
1                      
; Service notifications are enabled<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
notification_options      
     w,u,c,r                
; Send notifications about warning, unknown, critical, and recovery events<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
notification_interval          
1                      
; Re-notify about service problems every hour<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
#notification_period           
workhours              
; Send host notifications only during working hours<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
notification_period            
24x7                   
; Notifications can be sent out at any time<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
retain_status_information      
1                      
; Retain status information across program restarts<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
retain_nonstatus_information   
1                      
; Retain non-status information across program restarts<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
check_freshness                
0          
            ;
Default is to NOT check service 'freshness'<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
freshness_threshold            
1                      
;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
event_handler_enabled          
0                      
; Service event handler is enabled<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
flap_detection_enabled  
       1                      
; Flap detection is enabled<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
failure_prediction_enabled     
1                      
; Failure prediction is enabled<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
process_perf_data              
1                      
; Process performance data<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
register                       
0                      
; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
}<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Thanks<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Raymond<o:p></o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> jonathan.wheeler@stfc.ac.uk
[mailto:jonathan.wheeler@stfc.ac.uk] <br>
<b>Sent:</b> 25 March 2010 09:54<br>
<b>To:</b> nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: [Nagios-users] Nagios Appender 1.5.1<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>Well, there is no check_command
defined in the configuration you have posted, but that also depends on the
template virtual-passive-service.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><i><span style='color:#1F497D'>Jonathan Wheeler</span></i><span
style='color:#1F497D'> <br>
<i>e-Science Centre</i> <br>
<i>Rutherford Appleton Laboratory</i><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Raymond Setchfield
[mailto:raymond.setchfield@seewhy.com] <br>
<b>Sent:</b> 25 March 2010 09:26<br>
<b>To:</b> 'Nagios Users List'<br>
<b>Subject:</b> Re: [Nagios-users] Nagios Appender 1.5.1<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>Hi Robert & Martin<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Here is the full config file
from the HelloWorld.cfg<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>define service{<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
use                    
virtual-passive-service<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
host_name              
production<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
service_description     HelloWorldApplication<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
active_checks_enabled   0<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
passive_checks_enabled  1<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
normal_check_interval   5<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'> 
      retry_check_interval    3<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
check_period           
24x7<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
contact_groups         
server_admin<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>       
}<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Thanks for your help<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Raymond<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Robert Wolfe [mailto:rwolfe@i-evolve.com] <br>
<b>Sent:</b> 24 March 2010 18:00<br>
<b>To:</b> nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: [Nagios-users] Nagios Appender 1.5.1<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Perhaps if you could
post the entire service definition.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Raymond Setchfield
[mailto:raymond.setchfield@seewhy.com] <br>
<b>Sent:</b> Wednesday, March 24, 2010 1:02 PM<br>
<b>To:</b> nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> [Nagios-users] Nagios Appender 1.5.1<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal>Hi Folks<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I am trying to follow the documentation on the Nagios
Application Monitoring and I am having a few issues which if someone could help
me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my
objects folder and pointed nagios.cfg to look at them. I have altered the files
to suit my requirements etc. <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Whilst doing the pre-flight checks it is flagging up an
error; <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Error: Service description, host name, or check command is
NULL<o:p></o:p></p>

<p class=MsoNormal>Error: Could not register service (config file
'/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16)<o:p></o:p></p>

<p class=MsoNormal>   Error processing object config files!<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>When checking line 16 of the HelloWorld it is this;<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>define service{<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>This appears to me that there is nothing wrong with it at
all, but for some reason Nagios doesn’t like it. Can someone please help me on
why this isn’t working? Or possibly point me in the direction of some
documentation on how to install this Appender properly? <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Many Thanks<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Raymond <o:p></o:p></p>

</div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>

<p>-- <br>
Scanned by iCritical. <o:p></o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>

<p>-- <br>
Scanned by iCritical. <o:p></o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>

</div>

</body>

</html>