<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:Sascha.Runschke@gfkl.com">Sascha.Runschke@gfkl.com</a> wrote:
<blockquote
cite="mid:OFDCD290E6.54873277-ONC125746B.00401D64-C125746B.00407332@gfkl.com"
type="cite"><br>
<tt><font size="2"><a class="moz-txt-link-abbreviated" href="mailto:nagios-devel-bounces@lists.sourceforge.net">nagios-devel-bounces@lists.sourceforge.net</a> schrieb
am 17.06.2008 12:47:48:<br>
<br>
> So my question is, is this a bug, or a configuration problem?<br>
</font></tt>
<br>
<tt><font size="2">That's kinda hard to judge if you do not provide
your
configuration.<br>
</font></tt></blockquote>
Right, I send the main configuration file as attachment.<br>
<br>
To show only the configuration that's important for this case, here are
the configurations for the type of hosts that I monitor this way<br>
<br>
First, the host<br>
define host {<br>
name WAN-Instituicao<br>
check_command check_instituicao<br>
max_check_attempts 10<br>
check_interval 0<br>
check_period 24x7<br>
obsess_over_host 0<br>
active_checks_enabled 1<br>
notification_interval 10<br>
notification_period 24x7<br>
notifications_enabled 1<br>
register 0<br>
notification_options d,r<br>
hostgroups WAN<br>
contact_groups admins,prevencao<br>
}<br>
<br>
define host {<br>
use WAN-Instituicao<br>
host_name <i>test</i><br>
alias<i> test.fccn.pt</i><br>
address <i>x.x.x.x (not shown)</i><br>
parents gw-fw01-Outside<br>
check_command check_instituicao<br>
hostgroups WAN<br>
contact_groups admins,prevencao<br>
}<br>
<br>
Then, the only service I have for this kind of hosts:<br>
define service {<br>
name ping-wan-instituicoes<br>
use _template-base<br>
check_command check_ping_ip4!1000.0,100%!2000.0,100%!5<br>
max_check_attempts 8<br>
normal_check_interval 5<br>
retry_check_interval 1<br>
active_checks_enabled 1<br>
check_period 24x7<br>
notification_interval 10<br>
notification_period 24x7<br>
notifications_enabled 1<br>
register 0<br>
notification_options c,r<br>
servicegroups rcts<br>
contact_groups admins,prevencao<br>
}<br>
<br>
define service {<br>
use ping-wan-instituicoes<br>
service_description ping<br>
host_name test<br>
servicegroups rcts<br>
contact_groups admins,prevencao<br>
}<br>
<br>
And finally, the commands:<br>
define command{<br>
command_name check_instituicao<br>
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 2s,80% -c
9s,100% -n 20 -i 1.5s -t 40s -l 0<br>
}<br>
<br>
define command{<br>
command_name check_ping_ip4<br>
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
-n $ARG3$<br>
}<br>
<br>
If you would like to see other configuration files, I can send them.<br>
<br>
Thanks<br>
Best regards,<br>
Emanuel Massano<br>
<br>
<blockquote
cite="mid:OFDCD290E6.54873277-ONC125746B.00401D64-C125746B.00407332@gfkl.com"
type="cite"><tt><font size="2"></font></tt>
<br>
<tt><font size="2">Regards</font></tt>
<br>
<tt><font size="2"> Sascha</font></tt>
<br>
<br>
<font face="sans-serif" size="2">-- <br>
Sascha Runschke<br>
Netzwerk- und Systemmanagement<br>
Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201)
102-1102105</font>
<br>
<br>
<br>
<br>
<span
style="font-family: sans-serif,helvetica; font-size: 10pt; color: rgb(0, 0, 0);">GFKL
Financial Services AG</span><br>
<span
style="font-family: sans-serif,helvetica; font-size: 10pt; color: rgb(0, 0, 0);">Vorstand:
Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. Tom
Haverkamp</span><br>
<span
style="font-family: sans-serif,helvetica; font-size: 10pt; color: rgb(0, 0, 0);">Vorsitzender
des Aufsichtsrats: Dr. Georg F. Thoma</span><br>
<span
style="font-family: sans-serif,helvetica; font-size: 10pt; color: rgb(0, 0, 0);">Sitz:
Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522</span>
<pre wrap="">
<hr size="4" width="90%">
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
<a class="moz-txt-link-freetext" href="http://sourceforge.net/services/buy/index.php">http://sourceforge.net/services/buy/index.php</a></pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-devel">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a>
</pre>
</blockquote>
</body>
</html>