Title: Message
I can manually place the hrefs in the device template, I would like to write to that info line automatically to save the manual work.   I can write the code, I was hoping there was a way to edit the text in the info1 from outside of wug.
-----Original Message-----
From: Anthony Franklin [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 5:52 PM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Write data to a devices Info1 line from an external source

Only if you really want to do it dynamically:
 
You can use an external script by making the script call a custom asp page you build.  You would use the
DEVICESET tag from What's Up Gold web templates, with keyword INFO_LINE_1 or 2 depending on which info line you want the link to appear.  You would cause the perlscript to write.  Or you could use the existing web pages and have your perlscript to call the page of the respective device and place the link by automatically populating and submitting the form on the device page.  Again, this is of course if you really want to do it dynamically.
 
If you do not really require these links to be built dynamically, Cody appears to have given you what you need.
-----Original Message-----
From: Cody Jones [mailto:[EMAIL PROTECTED]
Sent: Mon 12/15/2003 4:36 PM
To: [EMAIL PROTECTED]
Cc:
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

Reply via email to