Title: Message
MRTG on Windows is a piece of cake, really. Integrating with WUG is easy too.
 
Since you will be starting from scratch, here is my suggestion -
 
Make sure your MRTG target names and your WUG device names start with the same characters. Then you can edit the device details.asp page to add your links to MRTG automatically. Inside the 4th <TABLE>, add this line:
 
<TR><TD><a href="">MRTG Link</a></TD></TR>
 
for each link you want to add. mrtg_window should be changed to something unique for each link, like mrtg_mem, mrtg_util, whatever.
 
myserver is your web server. I run WUG and MRTG on the same box, so IIS is running on port 8080, so my link looks like
 
 
 
<%DEVICE% DISPLAY_NAME> will prepend the name of your device to whatever is after it, so edit what's after the tag to reflect your page name.
 
MRTG Link is the text that will be displayed.
 
This will put links in your right hand menus on the device page, above the existing menus, that open your graph pages in a new window (so you don't navigate away in wug). Stick with your naming conventions and you won't need to edit the info lines ever, which can be very tedious.
 
Matt
 

 

From: TC Roffey [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 6:16 PM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Write data to a devices Info1 line from an exte rnal source

Goran,
 
My next project is to try and load MRTG for Windows on the same wug server.  Kinda nervous about that but the budget pretty much dictates we do it this way.  This is a pretty good site for info.
 
If I do get it running, I'm definitely going to see if I can implement Cody's and Anthony's nifty hooks into the wug maps.  The metrics folks jes LOVE that sort of stuff and it will be easier for them (and other non-techies) to understand the bottlenecks and impacts of heavy users in that particular part of the network.
 
Setting it up on a SUN or Sparc station,  That was tougher for me since UNIX isn't my strong suit.  In the past, I was lucky to know a UNIX admin who was also fluent in nms disciplines to help me set it up.
 
If you want, I'll let you know offline, how it's going.
 
TC Roffey
WiFi Support and Engineering
 

 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Goran Jovanovic
Sent: Monday, December 15, 2003 3:02 PM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Write data to a devices Info1 line from an external source

Cody,

 

I sort of looked really briefly at MTRG and then stopped (lack of time). Some questions for you:

 

 Is MTRG easy to get setup?

Does it use the same polled data that WUG uses or does it do its own polling?

Do you run MTRG on the same server as WUG?

Is the html code below all you really need?

Is there a good resource site somewhere out there?

 

Thanx

 

 

 

     Goran Jovanovic

     The LAN Shoppe

     2345 Yonge Street, Suite 302

     Toronto, Ontario M4P 2E5

     Phone: (416) 440-1167 x-2113

     Cell: (416) 931-0688

     E-Mail: [EMAIL PROTECTED]

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cody Jones
Sent: Monday, December 15, 2003 5:37 PM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Write data to a devices Info1 line from an external source

 

Brandon,

 

I use MRTG to graph all my interfaces on routers, switches and firewalls and then use basic HTML code to point to the WEB server where all the pages are stored. In the web version of WUG it show’s up as a link. I call it “One Stop Shopping” Here is the basic code I use in the info1

 

<html>

<a href="" Ethernet Traffic Utilization F0/0 </a>

<p>

<a href="" Total Traffic Utilization Hssi 1/0 </a>

<p>

<a href="" New Albany Traffic Utilization Hssi 1/0.30 </a>

<p>

<a href="" Norcross Traffic Utilization Hssi 1/0.33</a>

<p>

<a href="" Sioux Falls Traffic Utilization Hssi 1/0.35</a>

<p>

<a href="" Sanna Anna Traffic Utilization Hssi 1/0.36</a>

<p>

<a href="" San Diego Traffic Utilization Hssi 1/0.36</a>

<p>

<a href="" Ft. Lauderdale Traffic Utilization Hssi 1/0.55</a>

<p>

<a href="" CPU Utilization </a>

<p>

<a href="" Memory Utilization </a>

</html>

 

 

-----Original Message-----
From: brandon.baker [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 5:29 PM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Write data to a devices Info1 line from an external source

 

Is there a way to write information to a devices info1 line from an external script.

 

I would like to create a perl script to dynamically write graph urls to the info line.  When appearing in the web interface, they will actually show as links to the graph.

 

Is there a specific file that holds that info?

 

Brandon

<<attachment: image001.gif>>

Reply via email to