<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Nachricht</TITLE>
<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=395431611-30112005>Std.
"check_command" definition in "sample-config":</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005>"$USER1$/check_dns -H <A
href="http://www.yahoo.com">www.yahoo.com</A> -s
$HOSTADDRESS$"</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=395431611-30112005>should
be change to s.th. like</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005>"$USER1$/check_dns -H <A
href="http://www.yahoo.com">$ARG1$</A> -s $ARG2$"</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=395431611-30112005>then
use it with:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005>....</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005>check_command
check_dns!<hostname>!<hostaddress></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005>....</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=395431611-30112005>I
assume, you have defined real contact-groups vor "blabla" and an existing
host?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=395431611-30112005>The
possibilities of a plugin can be discovered by calling the plugin from the
command shell, respectively calling it with "<plugin_name>
--help".</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=395431611-30112005>Pls.
refer to the excellent Nagios-documentation: <A
href="http://nagios.sourceforge.net/docs/2_0/xodtemplate.html">http://nagios.sourceforge.net/docs/2_0/xodtemplate.html</A>,
also delivered with your Nagios installation in
"<nagios_install>/share/docs/", or browse the archives of this
list.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=395431611-30112005>Your
problems are novice-probs (and no real probs), and should be
better resolved by reading the docs than by penetrating this
list!</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005>Greetz,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=395431611-30112005></SPAN></FONT><SPAN lang=de><B><FONT face=Arial
size=1>Thomas Zimmer</FONT></B></SPAN> <BR><SPAN lang=de><FONT face=Arial
size=1>Produktservice & Betrieb</FONT></SPAN> <BR><SPAN lang=de><FONT
face=Arial size=1>Betrieb & Support</FONT></SPAN> <BR><SPAN lang=de><FONT
face=Arial size=1>Sal. Oppenheim jr. & Cie., Frankfurt a. Main</FONT></SPAN>
</DIV>
<DIV><SPAN lang=de><FONT face=Arial size=1>Internet: <A
href="http://www.oppenheim.de/">http://www.oppenheim.de</A></FONT></SPAN>
<BR><SPAN lang=de><FONT face=Arial color=#000000 size=1>E-Mail:
thomas.zimmer@oppenheim.de</FONT></SPAN> </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B>Im Auftrag von </B>Mehmet
Fatih AKBULUT<BR><B>Gesendet:</B> Mittwoch, 30. November 2005
12:09<BR><B>An:</B> nagios-users@lists.sourceforge.net<BR><B>Betreff:</B>
[Nagios-users] whats wrong with these definitions ? help
please!<BR><BR></FONT></DIV>hi all.<BR><BR># Service definition<BR>define
service{<BR> use
generic-service ; Name of service
template to use<BR> host_name
blablabla<BR> service_description
DNS<BR>
is_volatile
0<BR> check_period
24x7<BR> max_check_attempts
3<BR> normal_check_interval
3<BR> retry_check_interval
1<BR> contact_groups
blablabla<BR> notification_interval
120<BR>
notification_period
24x7<BR>
notification_options
w,u,c,r<BR> check_command
check_dns /* is it necessary
to add something here ?*/ <BR> }<BR><BR># Service
definition<BR>define service{<BR> use
generic-service ; Name of service
template to use<BR> host_name
blablabla<BR>
service_description
LDAP<BR> is_volatile
0<BR> check_period
24x7<BR>
max_check_attempts
3<BR> normal_check_interval
3<BR>
retry_check_interval
1<BR> contact_groups
blablabla<BR>
notification_interval
120<BR> notification_period
24x7<BR>
notification_options
w,u,c,r<BR> check_command
check_ldaps /* is it necessary to add
something here ?*/ <BR> }<BR><BR>why these services dont
appear on nagios ? do i have to add anything after check_dns & check_ldaps
???<BR><BR>and is this command definition below correct ?<BR><BR>#
'check_ldaps' command definition<BR>define command{<BR>
command_name check_ldaps<BR>
command_line /usr/local/nagios/libexec/check_ldaps /*do i
have to add something here?*/<BR> }<BR><BR>help me please
...<BR><BR></BLOCKQUOTE></BODY></HTML>