mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
updates
git-svn-id: http://www.observium.org/svn/observer/trunk@457 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
./map.php > map.dot && unflatten -l5 -f map.dot | dot -Tpng -o html/network-big.png && convert -resize 400x500 html/network-big.png html/network.png
|
||||
#./map.php > map.dot && unflatten -l5 -f map.dot | circo -Tpng -o html/network-screen-big.png && convert -resize 900x2000 html/network-screen-big.png html/network-screen.png
|
||||
./map.php > map.dot && unflatten -l5 -f map.dot | dot -Tpng -o html/network-screen-big.png && convert -resize 900x2000 html/network-screen-big.png html/network-screen.png
|
||||
|
||||
|
BIN
html/images/devices/CISCO6509.png
Normal file
BIN
html/images/devices/CISCO6509.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
html/images/devices/CISCO7304.gif
Normal file
BIN
html/images/devices/CISCO7304.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
html/images/devices/CISCO7606.jpg
Normal file
BIN
html/images/devices/CISCO7606.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
BIN
html/images/devices/CISCO7613.gif
Normal file
BIN
html/images/devices/CISCO7613.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
BIN
html/images/jt-logo.jpg
Normal file
BIN
html/images/jt-logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
html/images/observer-logo-mobile.jpg
Normal file
BIN
html/images/observer-logo-mobile.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
@@ -4,7 +4,6 @@
|
||||
$config['ifdescr']['IOS'] = true;
|
||||
$config['ifdescr']['IOS XE'] = true;
|
||||
|
||||
|
||||
## AFI / SAFI pairs for BGP (and other stuff, perhaps)
|
||||
$config['afi']['ipv4']['unicast'] = "IPv4";
|
||||
$config['afi']['ipv4']['multiicast'] = "IPv4 Multicast";
|
||||
@@ -12,7 +11,6 @@ $config['afi']['ipv4']['vpn'] = "VPNv4";
|
||||
$config['afi']['ipv6']['unicast'] = "IPv6";
|
||||
$config['afi']['ipv6']['multicast'] = "IPv6 Multicast";
|
||||
|
||||
|
||||
##############################
|
||||
# No changes below this line #
|
||||
##############################
|
||||
|
5
map.php
5
map.php
@@ -59,11 +59,6 @@ echo("\n}\n");
|
||||
|
||||
}
|
||||
|
||||
echo("\"Internet\" -> \"je.cen.pbr02\" [ arrowhead=none arrowtail=none color=navyblue weight=5 style=\"setlinewidth(4)\"];\n");
|
||||
echo("\"Internet\" -> \"je.cen.pbr01\" [ arrowhead=none arrowtail=none color=navyblue weight=5 style=\"setlinewidth(4)\"];\n");
|
||||
echo("\"Internet\" -> \"uk.thn.tbr01\" [ arrowhead=none arrowtail=none color=navyblue weight=5 style=\"setlinewidth(4)\"];\n");
|
||||
#echo("\"ADSL\" -> \"thnlon-pe01\" [ arrowhead=none arrowtail=none color=navyblue weight=5 style=\"setlinewidth(8)\"];\n");
|
||||
|
||||
$links_sql = "SELECT *, X.ifDescr AS sif, I.ifDescr AS dif FROM links AS L, interfaces AS I, interfaces AS X, devices as D, devices as Y WHERE I.device_id = D.device_id AND X.device_id = Y.device_id AND L.src_if = I.interface_id AND X.interface_id = L.dst_if";
|
||||
|
||||
$links_result = mysql_query($links_sql);
|
||||
|
Reference in New Issue
Block a user