On Thu, Oct 23, 2008 at 6:35 PM, Hendrik Bäcker <span dir="ltr"><<a href="mailto:andurin@process-zero.de">andurin@process-zero.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Kaushal Shriyan schrieb:<br>
<div class="Ih2E3d">> Hi<br>
><br>
> I have a issue with a particular service on a host. when i check<br>
> Nagios Logs, I see as<br>
><br>
> [1224755367] SERVICE ALERT: nmhost0001;NetmagicHTTP;<br>
> CRITICAL;HARD;1;HTTP CRITICAL - pattern found<br>
><br>
> instead of  SERVICE NOTIFICATION:........<br>
><br>
</div>give us more information.<br>
Nagios Version<br>
Configs<br>
templates<br>
<div class="Ih2E3d">> I dont get emails or sms for this service "NetmagicHTTP" on host<br>
> nmhost0001.<br>
</div>without the log SERVICE NOTIFICATION nagios wouldn't execute the mail<br>
command...<br>
<div class="Ih2E3d">><br>
> Any clue<br>
><br>
> Please let me know if you need any additional information for<br>
> debugging this issue<br>
</div>I guess we're far away from debugging - we're on state Information<br>
gathering, and try to let the user know it might be a config problem<br>
instead of <a href="http://s.th" target="_blank">s.th</a>. else ;)<br>
<br>
Regards<br>
Hendrik<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.7 (MingW32)<br>
<br>
iD8DBQFJAHaclI0PwfxLQjkRAnN5AJ4zWKakxqtZkLuye243urPgj0+35gCbBlxr<br>
QqQEwB8uUtIYfl22eChGyos=<br>
=q4D9<br>
-----END PGP SIGNATURE-----<br>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK & win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
_______________________________________________<br>
Nagios-devel mailing list<br>
<a href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a><br>
</blockquote></div><br><br>Hi Hendrik<br><br>Nagios version 2.9<br>define service {<br>        host_name       nmhost0001<br>        service_description     NetmagicHTTP<br>        check_period    24x7<br>        check_command   check_nrpe!check_http_netmagic<br>
        contact_groups  admins<br>        notification_period     24x7<br>        normal_check_interval   5<br>        retry_check_interval    1<br>        max_check_attempts      4<br>        is_volatile     0<br>        parallelize_check       1<br>
        active_checks_enabled   1<br>        passive_checks_enabled  1<br>        obsess_over_service     1<br>        event_handler_enabled   1<br>        low_flap_threshold      0.000000<br>        high_flap_threshold     0.000000<br>
        flap_detection_enabled  1<br>        freshness_threshold     0<br>        check_freshness 0<br>        notification_options    u,w,c,r<br>        notifications_enabled   1<br>        notification_interval   300<br>
        stalking_options        n<br>        process_perf_data       1<br>        failure_prediction_enabled      1<br>        retain_status_information       1<br>        retain_nonstatus_information    1<br>        }<br>
<br><br>2008-10-23 00:00:00: CURRENT SERVICE STATE: nmhost0001;NetmagicHTTP;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 0.001 second response time<br>2008-10-23 02:49:27: SERVICE ALERT: nmhost0001;NetmagicHTTP;CRITICAL;HARD;1;HTTP CRITICAL - pattern found<br>
2008-10-23 03:08:07: SERVICE ALERT: nmhost0001;NetmagicHTTP;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 0.005 second response time<br><br>Please let me know if you need any other information<br><br>Thanks and Regards<br><br>Kaushal<br>