LINUX.ORG.RU
решено ФорумAdmin

mrtg и Debian 6


0

1

Добрый вечер! На сервере был установлен mrtg, но после было выполнено:

>aptitude purge mrtg

Сейчас при выполнении:

>aptitude install mrtg
Couldn't find any package whose name or description matched "mrtg"
Couldn't find any package whose name or description matched "mrtg"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

При выполнении:

apt-cache search mrtg
Видит только cacti.

Ну и при выполнении:

>aptitude search mrtg
Ничего не выводит.

Пытался исправить так:

aptitude update
Но результатов не дало.

cat /etc/debian_version
6.0.4
>cat /etc/apt/sources.list
#deb http://security.debian.org/ squeeze/updates main
#deb-src http://security.debian.org/ squeeze/updates main
deb http://security.debian.org squeeze/updates main contrib non-free
deb http://packages.dotdeb.org stable all
deb-src http://ftp.debian.org/debian squeeze main contrib non-free

Ответ на: комментарий от ZorG

WorkDir: /home/mrtg
WriteExpires: Yes
Refresh: 300
Interval: 5
RunAsDaemon: No
Language: russian
Background[_]: #FFFFC0


Target[eth_atk]: `/home/mrtg/bin/if_count.sh eth_atk`
Options[eth_atk]: nopercent,growright,bits
Title[eth_atk]: ATK Traffic
PageTop[eth_atk]: <h1>ATK Traffic</h1>
MaxBytes[eth_atk]: 99999999
kilo[eth_atk]: 1024
YLegend[eth_atk]: bits per second
ShortLegend[eth_atk]: bit/s
LegendO[eth_atk]: &nbsp; out:
LegendI[eth_atk]: &nbsp;   in :


Target[kam_tun]: `/home/mrtg/bin/if_count.sh kam_tun`
Options[kam_tun]: nopercent,growright,bits
Title[kam_tun]: MSK Tunnel Traffic
PageTop[kam_tun]: <h1>MSK Tunnel Traffic</h1>
MaxBytes[kam_tun]: 99999999
kilo[kam_tun]: 1024
YLegend[kam_tun]: bits per second
ShortLegend[kam_tun]: bit/s
LegendO[kam_tun]: &nbsp; out:
LegendI[kam_tun]: &nbsp;   in :


Target[eth_local]: `/home/mrtg/bin/if_count.sh eth_local`
Options[eth_local]: nopercent,growright,bits
Title[eth_local]: Local ETH Traffic
PageTop[eth_local]: <h1>Local ETH Traffic</h1>
MaxBytes[eth_local]: 99999999
kilo[eth_local]: 1024
YLegend[eth_local]: bits per second
ShortLegend[eth_local]: bit/s
LegendO[eth_local]: &nbsp; out:
LegendI[eth_local]: &nbsp;   in :


Target[wlan0]: `/home/mrtg/bin/if_count.sh wlan0`
Options[wlan0]: nopercent,growright,bits
Title[wlan0]: wlan0 Traffic(Wifi)
PageTop[wlan0]: <h1>wlan0 Traffic(Wifi)</h1>
MaxBytes[wlan0]: 99999999
kilo[wlan0]: 1024
YLegend[wlan0]: bits per second
ShortLegend[wlan0]: bit/s
LegendO[wlan0]: &nbsp; out:
LegendI[wlan0]: &nbsp;   in :
















Title[8.8.8.8.ping]: Ping To 8.8.8.8
PageTop[8.8.8.8.ping]: <H1>Ping to 8.8.8.8</H1>
MaxBytes[8.8.8.8.ping]: 180
AbsMax[8.8.8.8.ping]: 10000
WithPeak[8.8.8.8.ping]: ymwd
Options[8.8.8.8.ping]: gauge,growright
Target[8.8.8.8.ping]: `/usr/bin/mrtg-ping-probe -k 2 8.8.8.8`
YLegend[8.8.8.8.ping]: round trip time
ShortLegend[8.8.8.8.ping]: ms
Legend1[8.8.8.8.ping]: Maximum Round Trip Time in ms
Legend2[8.8.8.8.ping]: Minimum Round Trip Time in ms
Legend3[8.8.8.8.ping]: Maximal 5 Minute Maximum Round Trip Time in ms
Legend4[8.8.8.8.ping]: Maximal 5 Minute Minimum Round Trip Time in ms
LegendI[8.8.8.8.ping]: &nbsp;Max:
LegendO[8.8.8.8.ping]: &nbsp;Min:



Title[ya.ru.ping]: Ping To ya.ru
PageTop[ya.ru.ping]: <H1>Ping to ya.ru</H1>
MaxBytes[ya.ru.ping]: 180
AbsMax[ya.ru.ping]: 10000
WithPeak[ya.ru.ping]: ymwd
Options[ya.ru.ping]: gauge,growright
Target[ya.ru.ping]: `/usr/bin/mrtg-ping-probe -k 2 ya.ru`
YLegend[ya.ru.ping]: round trip time
ShortLegend[ya.ru.ping]: ms
Legend1[ya.ru.ping]: Maximum Round Trip Time in ms
Legend2[ya.ru.ping]: Minimum Round Trip Time in ms
Legend3[ya.ru.ping]: Maximal 5 Minute Maximum Round Trip Time in ms
Legend4[ya.ru.ping]: Maximal 5 Minute Minimum Round Trip Time in ms
LegendI[ya.ru.ping]: &nbsp;Max:
LegendO[ya.ru.ping]: &nbsp;Min:


Title[vk.com.ping]: Ping To vk.com
PageTop[vk.com.ping]: <H1>Ping to vk.com</H1>
MaxBytes[vk.com.ping]: 180
AbsMax[vk.com.ping]: 10000
WithPeak[vk.com.ping]: ymwd
Options[vk.com.ping]: gauge,growright
Target[vk.com.ping]: `/usr/bin/mrtg-ping-probe -k 2 vk.com`
YLegend[vk.com.ping]: round trip time
ShortLegend[vk.com.ping]: ms
Legend1[vk.com.ping]: Maximum Round Trip Time in ms
Legend2[vk.com.ping]: Minimum Round Trip Time in ms
Legend3[vk.com.ping]: Maximal 5 Minute Maximum Round Trip Time in ms
Legend4[vk.com.ping]: Maximal 5 Minute Minimum Round Trip Time in ms
LegendI[vk.com.ping]: &nbsp;Max:
LegendO[vk.com.ping]: &nbsp;Min:

тут только стата с интерфейсов и пинг до хостов. больше не нужно.

kam ★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.