Below is the description of a mechanism I posted a year ago.


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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patel, Kushal
Sent: Friday, September 17, 2004 3:36 PM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Duplicate Nodes


In my WUG map there are certain nodes that exist in more than one place. For
instance NodeA will exist under the "PeopleSoft Application" group as well
as under "UNIX Servers" and "Oracle Servers". This is done for reporting
purposes. 

Is it possible for WUG to use the polling data from a single node and report
the results in multiple places? This will keep the polling traffic down to a
minimum while allowing me to create a more intuitive map for management.

thx,
/k



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