In point of fact, you can monitor device or service status on different
maps, only polling the network once. To do it, set up a device on a separate
map to poll the original device via service check only to 127.0.0.1 (the
server's loopback address). Create a custom service based on an HTTP content
scan to scan an ASP page, looking for a particular status. By doing this,
you poll the server itself to find out what it knows about a device or
service on a different map.

You could use this to create a special icon for a unique view of a business
process; the icon could have service checks for a number of different
routers and switches, as well as services on one or more servers. This could
reflect all the key components for a particular business function. Use your
imagination.

For device status, call deviceup.asp using the following custom check.
You'll have to replace "yourmap" with the map name, "yourdevice" with the
device name, and "authenticationstring" with the unique authentication
string (see http://support.ipswitch.com/kb/WG-20010522-DM01.htm for
details). No spaces allowed in name.

        Send=GET /deviceup.asp?map=yourmap.wup&device=yourdevice
HTTP/1.0\r\nAccept: 
        */*\r\nUser-Agent: Ipswitch_Whatsup/4.0\r\nAuthorization: Basic
authenticationstring\r\n\r\n
        Expect=~.*is UP

Deviceup.asp as follows:

        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html> <head> </head> <body>    
        <%CURRENT_MAP% (%URL_VALUE% map)>
        <%START_DEVICE_LIST%>
                <%IF% (%MATCH% (%DEVICE% HOSTNAME, %URL_VALUE% device))>
                        <%IF% IS_DEVICE_UP>
                                <P><%DEVICE% HOSTNAME> <nbsp> is UP</P>
                        <%ELSE%>
                                <P><%DEVICE% HOSTNAME> <nbsp> is DOWN</P>
                        <%ENDIF%>
                <%ENDIF%>
        <%END_DEVICE_LIST%>
        </body>
        </html>

For service status, use serviceup asp with the following custom check
(replace as in device status; also replace "yourservice" with whatever
service you're checking). Again, no spaces allowed, nothing allowed in
comments.

        Send=GET
/serviceup.asp?map=yourmap.wup&device=yourdevice&service=yourservice 
        HTTP/1.0\r\nAccept: */*\r\nUser-Agent:
Ipswitch_Whatsup/4.0\r\nAuthorization: 
        Basic authenticationstring\r\n\r\n
        Expect=~.*is UP

Serviceup.asp as follows:

        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html> <head> </head> <body>
        <%CURRENT_MAP% (%URL_VALUE% map)>
        <%START_DEVICE_LIST%>
                <%IF% (%MATCH% (%DEVICE% HOSTNAME, %URL_VALUE% device))>
                        <%START_DEVICE_SERVICE_LIST%>
                                <%IF% (%MATCH% (%SERVICE% FULLNAME,
%URL_VALUE% service))>
                                        <%IF% IS_SERVICE_UP>
                                                <P><%SERVICE% NAME> <nbsp>
is UP</P>
                                        <%ELSE%>
                                                <P><%SERVICE% NAME> <nbsp>
is DOWN</P>
                                        <%ENDIF%>
                                <%ENDIF%>
                        <%END_DEVICE_SERVICE_LIST%>
                <%ENDIF%>
        <%END_DEVICE_LIST%>
        </body> </html>


-----Original Message-----
From: Mark Symons [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 21, 2004 1:35 PM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] snmp polling


If a device is mapped twice (both on the same map or on differant maps) then
it will be polled twice.

This can be useful when setting up multiple polling windows  (ie, HTTP
server polled 24 hours a day but database on same device supposed to be
available 23.5 hours per day).

WUG 8.0x does not provide for aliasing, etc,  between such copies.

Mark Symons
IPswitch, Inc
Augusta GA

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matthias Gruber
Sent: Friday, May 21, 2004 11:22
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] snmp polling


hello,

if i duplicate a snmp device and have it polled on two different maps, will
WUG do two complete polls or will it poll only once.

if two polls, is it possible to have some kind of device-softlink/-alias?


tia.
    matthias


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/

Reply via email to