I don't have is_volatile enabled. Below I am pasting my log entries and service definition. Thanks<br><br><br><b>log entries</b><br><br>[1251777600] CURRENT HOST STATE: HOST A;UP;HARD;1;FPING OK - HOST A (loss=0%, rta=0.850000 ms)<br>
[1251777600] CURRENT SERVICE STATE: HOST A;batteryliebert;OK;HARD;1;Status is OK - GXT2-2000RT120 - STATUS NORMAL -<br>[1251777600] CURRENT SERVICE STATE: HOST A;capacity;OK;HARD;1;SNMP OK - 100<br>[1251777600] CURRENT SERVICE STATE: HOST A;output_current;OK;HARD;1;SNMP OK - 32 0.1 RMS Amp<br>
[1251777600] CURRENT SERVICE STATE: HOST A;search_aid;OK;HARD;1;(null)<br>[1251777600] CURRENT SERVICE STATE: HOST A;temp;OK;HARD;1;SNMP OK - 32<br>[1251914190] SERVICE ALERT: HOST A;batteryliebert;WARNING;SOFT;1;Status is a WARNING level - SNMP agent not responding<br>
[1251914200] HOST ALERT: HOST A;DOWN;SOFT;1;FPING CRITICAL - HOST A (loss=100% )<br>[1251914310] SERVICE ALERT: HOST A;batteryliebert;WARNING;HARD;1;Status is a WARNING level - SNMP OID does not exist<br>[1251914390] HOST ALERT: HOST A;DOWN;SOFT;2;FPING CRITICAL - HOST A (loss=100% )<br>
[1251914580] HOST ALERT: HOST A;UP;SOFT;3;FPING WARNING - HOST A<br>[1251914600] SERVICE ALERT: HOST A;batteryliebert;OK;HARD;1;Status is OK - GXT2-2000RT120 - STATUS NORMAL -<br>[1251915210] SERVICE ALERT: HOST A;batteryliebert;WARNING;SOFT;1;Status is a WARNING level - SNMP OID does not exist<br>
[1251915330] SERVICE ALERT: HOST A;batteryliebert;WARNING;SOFT;2;Status is a WARNING level - SNMP agent not responding<br>[1251915440] SERVICE ALERT: HOST A;batteryliebert;OK;SOFT;3;Status is OK - GXT2-2000RT120 - STATUS NORMAL -<br>
<br><br><b>service definition</b><br><br>define service {<br> host_name HOST A<br> service_description batteryliebert<br> check_period noncritical<br> check_command check_liebert_ups<br>
contact_groups netsys<br> notification_period extended<br> initial_state o<br> check_interval 5.000000<br> retry_interval 2.000000<br> max_check_attempts 3<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> flap_detection_options o,c<br> freshness_threshold 0<br> check_freshness 0<br> notification_options c,r,f<br>
notifications_enabled 1<br> notification_interval 30.000000<br> first_notification_delay 0.000000<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><br><br><div class="gmail_quote">On Thu, Sep 3, 2009 at 4:04 PM, Marc Powell <span dir="ltr"><<a href="mailto:marc@ena.com">marc@ena.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
On Sep 3, 2009, at 2:29 PM, shadih rahman wrote:<br>
<br>
> All,<br>
> according to the definition hard state is reached upon completing<br>
> the max_check_attempt . This particular service status information<br>
> is stating otherwise. This particular service check has<br>
> max_check_attempt set to 3. However it looks like soft state<br>
> changed into Hard with checking for 3 times. Is this a bug or am I<br>
> missing something here. Please advise on this. Thanks<br>
><br>
> [09-02-2009 13:58:30] SERVICE ALERT: Host<br>
> B;batteryliebert;WARNING;HARD;1;Status is a WARNING level - SNMP OID<br>
> does not exist<br>
</div><div class="im">> [09-02-2009 13:56:30] SERVICE ALERT:<br>
> HOSTA;batteryliebert;WARNING;SOFT;1;Status is a WARNING level - SNMP<br>
> agent not responding<br>
<br>
</div>Do you have 'is_volatile' enabled? Please post the entire service<br>
definition from objects.cache if you do not as well as a few prior log<br>
entries for this service.<br>
<br>
--<br>
Marc<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what's new with<br>
Crystal Reports now. <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br><br clear="all"><br>-- <br>Cordially,<br>Shadhin Rahman<br>