Freesco, NND, CDN, EOS
http://forum.freesco.pl/

Dziwne wykres na MRTG
http://forum.freesco.pl/viewtopic.php?f=24&t=10522
Strona 1 z 1

Autor:  marcin_1976 [ piątek, 30 grudnia 2005, 21:39 ]
Tytuł:  Dziwne wykres na MRTG

Mam takie pytanie. Zainstalowany Niceshaper i MRTG. Wszyscy uzytkownicy maja przydzielone 64kbit upload w niceshaperze, Do tej pory wszystko MRTG pokazywalo dobrze. Podlaczylem nastepnego usera i u niego MRTG pokazuje na wyjsciu nawet do 220kbit. Nice pokazuje roznie ale do tego sie przyzwyczailem ze nice... nieraz zawyza.
Czy moze byc tak ze cos przepuszcza Niceshaper ?

Autor:  turbo_rabbit [ sobota, 31 grudnia 2005, 03:31 ]
Tytuł: 

może coś jednak skopałeś w pliku user niceshaper-a proponuję tam sprawdzić zwróć uwagę na jednostki muszą być wszędzie takie same

Autor:  hamerdemon [ wtorek, 17 stycznia 2006, 10:42 ]
Tytuł:  Przycinanie

Dodaj do niceshaper do users przy przycinaniu pasma strits np 10%
Wtedy będzie bardziej tego pilnował i nie wychodził poza dozwoloną wartość. Generalnie czym nizszy % to niceshaper bardziej pilnuje wyznaczonego przycinania pasma:)

Autor:  eptesicus [ środa, 18 stycznia 2006, 23:56 ]
Tytuł: 

to co opisuje to normalka

mialem to samo pomogla rozmowa z osoba ktora tak duzo wysyla
do tego ograniczenia na portach + liczba polaczen + niceshaper restrykcje na 0%+ czas polaczen i chyba to wszystko
powod to wirusy trojany p2p to wszytko razem

mialem tak ze jedna osoba potrafila wysylac do serwera az 160KB a na wyjscie szlo tylko 60KB z tym efektem ubocznych ze nic nie dzialalo po za tym co ta osoba robila


to sa moje ograniczenia - chodzilo z tym u mnie OK teraz to pozmnieniali wiec to juz nie ma sensu ale tobie zapewne pomoze

echo 8192 > /proc/sys/net/ipv4/ip_conntrack_max
echo 8192 > /proc/sys/net/ipv4/netfilter/ip_conntrack_max
echo 1800 > /proc/sys/net/ipv4/tcp_keepalive_time
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout
echo 30 > /proc/sys/net/ipv4/netfilter/ip_conntrack_generic_timeout
echo 5 > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_close
echo 20 > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_close_wait
echo 320 >/proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established
echo 20 > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_fin_wait
echo 60 > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_time_wait
echo 10 > /proc/sys/net/ipv4/netfilter/ip_conntrack_udp_timeout
echo 10 > /proc/sys/net/ipv4/netfilter/ip_conntrack_icmp_timeout
echo 30 > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_last_ack

Autor:  Jaca [ czwartek, 19 stycznia 2006, 22:50 ]
Tytuł: 

Nie chcę zakładać nowego tematu. powiedzcie dlaczego od miesiąca mam zatrzymany wykres ilości użytkowników na 3 osobach http://jodlowa28.no-ip.info/mrtg/hosty.html
Nie pomogło ponowne "nndconfig"

Autor:  makog [ czwartek, 19 stycznia 2006, 22:52 ]
Tytuł: 

moze postawili sobie jakiegos firewalla i blokuje

Autor:  hx [ czwartek, 19 stycznia 2006, 23:04 ]
Tytuł: 

albo coś nakręciłeś w configu jego ip

Autor:  Jaca [ czwartek, 19 stycznia 2006, 23:17 ]
Tytuł: 

makog pisze:
moze postawili sobie jakiegos firewalla i blokuje

odpada, sam konfiguruje ich komputery. W firewallach odblokowuje zakres IP naszej sieci, zresztą tylko 3 kompy mają firewalla :)

hx pisze:
albo coś nakręciłeś w configu jego ip

czyjego IP? W sieci jest 8 kompów a pokazuje tylko 3, nic nie mieszałem w IP komputerów.

Autor:  eptesicus [ piątek, 20 stycznia 2006, 00:32 ]
Tytuł: 

a restartowales MRTG
moze sie powiecil - w kazdym razie jak nie ma danych to skrypt automatycznie wpisuje ostania znana wartosc czyli u ciebie to jest 3
wiec napisz co dokladnie robiles z tym mrtg ze przestalo dzialac i co robiles jak juz przestalo dzialac

rada moje
/etc/rc.d/iptables restart
/ert/rc.d/mrtg restart

pisz czy pomoglo jak nie to jeszcze moze byc reboot i wtedy czy cos sie zmieni jak sie nie zmieni to cos jest z mrtg - tak na moje oko :lol:

Autor:  Jaca [ niedziela, 22 stycznia 2006, 02:34 ]
Tytuł: 

Wszystko już było, restarty, rebooty i nic. Chyba dam sobie spokoj :D

Autor:  mih2 [ niedziela, 22 stycznia 2006, 02:48 ]
Tytuł: 

a daj wynik polecenia arp -n

Autor:  Jaca [ niedziela, 22 stycznia 2006, 03:30 ]
Tytuł: 

mih2 pisze:
a daj wynik polecenia arp -n

: [/] [] ()
192.168.1.90             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.113            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.4              ether   00:0A:E6:A7:C3:70   CM                    eth1
192.168.1.51             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.123            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.195            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.5              ether   00:00:24:C8:FF:79   CM                    eth1
192.168.1.139            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.134            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.132            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.233            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.130            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.230            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.163            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.16             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.120            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.25             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.196            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.154            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.178            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.81             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.254            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.69             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.156            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.173            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.212            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.115            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.241            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.174            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.172            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.74             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.38             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.82             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.175            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.224            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.197            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.30             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.59             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.214            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.29             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.118            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.10             ether   00:02:55:F5:34:FA   CM                    eth1
192.168.1.223            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.99             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.44             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.111            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.142            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.208            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.27             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.58             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.160            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.138            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.157            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.31             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.158            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.179            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.89             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.177            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.67             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.248            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.46             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.117            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.155            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.17             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.202            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.153            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.184            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.37             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.42             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.189            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.169            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.229            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.144            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.121            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.9              ether   00:E0:4D:F7:72:3E   CM                    eth1
192.168.1.162            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.246            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.33             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.225            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.116            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.114            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.76             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.24             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.53             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.87             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.55             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.239            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.80             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.218            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.84             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.187            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.125            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.95             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.150            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.86             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.85             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.251            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.35             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.245            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.185            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.244            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.164            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.101            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.152            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.209            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.222            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.104            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.207            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.97             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.255            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.176            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.180            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.252            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.148            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.78             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.18             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.199            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.109            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.70             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.201            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.168            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.253            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.68             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.93             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.166            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.96             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.45             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.171            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.83             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.133            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.72             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.211            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.75             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.77             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.147            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.127            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.227            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.200            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.146            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.41             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.50             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.22             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.23             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.210            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.94             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.126            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.49             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.100            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.137            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.79             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.14             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.140            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.40             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.237            ether   00:00:00:00:00:01   CM                    eth1
10.0.0.2                 ether   00:02:96:42:74:F4   C                     eth0
192.168.1.11             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.73             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.62             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.63             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.235            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.193            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.143            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.221            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.60             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.112            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.182            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.15             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.167            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.128            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.124            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.151            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.228            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.203            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.240            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.8              ether   00:0F:B0:6A:86:41   CM                    eth1
192.168.1.191            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.26             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.242            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.47             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.145            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.183            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.92             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.103            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.36             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.119            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.234            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.135            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.12             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.165            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.186            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.170            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.19             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.34             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.7              ether   00:B0:D0:3A:E7:F8   CM                    eth1
192.168.1.106            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.21             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.192            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.98             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.20             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.52             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.238            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.13             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.136            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.141            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.131            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.232            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.3              ether   00:00:24:C8:CD:3F   CM                    eth1
192.168.1.188            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.43             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.247            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.88             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.231            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.219            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.2              ether   00:00:00:00:00:01   CM                    eth1
192.168.1.198            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.61             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.190            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.213            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.194            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.206            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.181            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.54             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.149            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.110            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.220            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.48             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.217            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.122            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.71             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.65             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.56             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.161            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.216            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.159            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.64             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.129            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.236            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.39             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.28             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.66             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.108            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.205            ether   00:00:00:00:00:01   CM                    eth1
192.168.1.91             ether   00:00:00:00:00:01   CM                    eth1
192.168.1.107            ether   00:00:00:00:00:01   CM                    eth1

Autor:  marask [ niedziela, 22 stycznia 2006, 10:59 ]
Tytuł: 

niedawno dałem na forum zmieniony skrypt, który liczy ilosć użytkowników zamiast z arp (nieskuteczne bo statyczna tablica wpisana) tylko ze statystyk niceshapera - bardziej poszarpane wykresy, ale działa ;] poszukaj go sobie

Autor:  adamol [ niedziela, 22 stycznia 2006, 17:25 ]
Tytuł: 

: [/] [] ()
#!/bin/sh
hosts=`cat /var/www/nsstats.txt | wc -l`
let hosts-=3
echo $hosts
hosts=`cat /etc/hosts| grep -v "^#"|grep [0123456789]|wc -l `
let hosts-=5
echo $hosts
uptime | sed -e 's/^.*up *//g' -e 's/, *[0-9] *u.*$//g'
hostname

Chyba o coś takiego chodziło.
U mnie działą bardzo piątka :P
Ustaw tylko właściwy katalog dla nsstats.txt

Pozdro

Autor:  marask [ niedziela, 22 stycznia 2006, 21:35 ]
Tytuł: 

moja wersja wygląda tak:
: [/] [] ()
#odczyt liczby użytkowników ze statsów niceshapera
hosts=`niceshaper stats | wc -l`
let hosts-=1
echo $hosts


i działa równie dobrze ;]

Autor:  Jaca [ poniedziałek, 23 stycznia 2006, 16:25 ]
Tytuł: 

marask pisze:
moja wersja wygląda tak:
: [/] [] ()
#odczyt liczby użytkowników ze statsów niceshapera
hosts=`niceshaper stats | wc -l`
let hosts-=1
echo $hosts


i działa równie dobrze ;]

Dzięki marask, Twój skrypt ruszył :D
Pozdrawiam

Autor:  marask [ poniedziałek, 23 stycznia 2006, 19:18 ]
Tytuł: 

http://serwer.dnsalias.com/mrtg/pingi.html
czemu mi zdechły te statsy niech mi ktoś lepiej powie ;] jak odpalam ręcznie przez /etc/rc.d/mrtg/mrtg_pingi to pokazuje dobrze :/ a mrtg sam nie działa.
Ew mrtg /etc/mrtg/mrtg.conf zadziałało :/
normalnie paranoia ;]

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/