Status of Router on webpage

Hostílio Thumbo hostilio at teledata.mz
Wed Sep 27 04:16:13 EDT 2006


Hi,

Anyone can help me to create this small system.
I have more than 50 Cisco Routers on my network, and I am trying to 
display the status of them on a webpage.
I want to display the status of the router on the following link 
http://www.xxxxx.com/test.html

1. When the serial is "up", "with line protocol up"does not display 
anything on webpage.

2. When the serial is "up" with "line protocol down", must display on 
webpage:

______________________________________________________________________________
ipofrouter (nameofrouter)
--------------------------------------------------------------------------------------------------------
Serial xxxxx is up, line protocol is down   |    
descriptionoftherouter   |   Failed:  timeoffailed  dateoffailed
______________________________________________________________________________

eg.
_____________________________________________________________________________________
192.168.10.4 (FR-Brazil)
------------------------------------------------------------------------------------------------------------------
Serial 2/4:3 is up, line protocol is down   |   
BRAZIL_ATM_CA158587894_128k  |   Failed: 06:30 2006-09-08
_____________________________________________________________________________________

3. When the serial is "up" with "line protocol down -looped-", must 
display on webpage:

______________________________________________________________________________________
ipofrouter (nameofrouter)
------------------------------------------------------------------------------------------------------------------
Serial xxxxx is up, line protocol is down  -looped-   |    
descriptionoftherouter   |   Failed:  timeoffailed  dateoffailed
______________________________________________________________________________________


4. When the serial is  "down" with "line protocol down",must display on 
webpage:

_________________________________________________________________________________
ipofrouter (nameofrouter)
------------------------------------------------------------------------------------------------------------
Serial xxxxx is down, line protocol is down    |    
descriptionoftherouter   |   Failed:  timeoffailed  dateoffailed
_________________________________________________________________________________



Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060927/7dd68357/attachment.html>


More information about the Python-list mailing list