The pertinent code in the file that you sent me was:
<%IF% IS_SOUND_ENABLED>
<%IF% HAS_MAP_STATE_CHANGED>
<%START_DEVICE_LIST%>
<%IF% (%GREATERTHAN% (%DEVICE%
POLLS_MISSED,2))>
<bgsound src="<%SOUND_TYPE%
WEBDOWN>">
<%ENDIF% >
<%END_DEVICE_LIST%>
<%ENDIF%>
<%ENDIF%>
I have changed it to the following:
<%IF% IS_SOUND_ENABLED>
<%IF% HAS_MAP_STATE_CHANGED>
<%START_DEVICE_LIST%>
<%IF% (%GREATERTHAN% (%DEVICE%
CURRENT_DOWN_COUNT,2))>
<bgsound src="<%SOUND_TYPE%
WEBDOWN>">
<%ELSE%>
<%START_DEVICE_SERVICE_DOWN_LIST%>
<%START_SERVICE_STATISTICS_LIST%>
<%IF%
(%GREATERTHAN% (%SERVICE_STATISTICS% CURRENT_DOWN_COUNT,2))>
<bgsound
src="<%SOUND_TYPE% WEBDOWN>">
<%ENDIF% >
<%END_SERVICE_STATISTICS_LIST%>
<%END_DEVICE_SERVICE_DOWN_LIST%>
<%ENDIF% >
<%END_DEVICE_LIST%>
<%ENDIF%>
<%ENDIF%>
This seems to work much better. This uses the "CURRENT_DOWN_COUNT" for
devices and services wich counts the number of polls missed since the
device or service went down. Where as the sample you sent uses the "
POLLS_MISSED" counter which is the total number of polls missed since
the statistics where last reset. The only problem that I have is if
there are more that one device or service down at a time. This will
cause multiple overlapping alert sounds. If anyone has any suggestions
on how to prevent this I would appreciate it.
>>> [EMAIL PROTECTED] 4/2/2004 11:16:46 AM >>>
I asked the question on the here about a week ago. Someone had a
rewritten
mapdetails.asp with coding for missed polls, although it did not work
for me.
It would be very nice to have this feature. Being able to change
sounding
an alert after x missed polls for the web interface.
Maybe in 9.0 or sooner???
At 01:26 PM 4/1/2004, you wrote:
>I have notice that no matter what the alert trigger is set to for a
>device a single alert will trigger an alarm on the Web Interface. I
>just talked to Tech Support about it and they said they thought
someone
>in the Forum had figured this out. If any one knows a work around
>please let me know. Thanks.
>
>Please visit http://www.ipswitch.com/support/mailing-lists.html
>to be removed from this list.
>
>An Archive of this list is available at:
>http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/