Portál AbcLinuxu, 7. května 2025 14:54
root@raspberrypi:/home/pi# sudo cfgmaker public@192.168.1.1 >> /etc/mrtg.cfg
--base: Get Device Info on public@192.168.1.1:
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: -2054254002
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 629
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@192.168.1.1::::::v4only
at /usr/bin/cfgmaker line 956
WARNING: Skipping public@192.168.1.1: as no info could be retrieved
Use of uninitialized value $comment_sysdescr in substitution (s///) at /usr/bin/cfgmaker line 384.
Use of uninitialized value $sysname in concatenation (.) or string at /usr/bin/cfgmaker line 417.
Use of uninitialized value $comment_sysdescr in concatenation (.) or string at /usr/bin/cfgmaker line 417.
Use of uninitialized value $syscontact in concatenation (.) or string at /usr/bin/cfgmaker line 417.
Use of uninitialized value $syslocation in concatenation (.) or string at /usr/bin/cfgmaker line 417.
root@raspberrypi:/home/pi#
A pak.
sudo indexmaker /etc/mrtg.cfg > /var/www/mrtg/index.html
ERROR: did not find any matching data in cfg file
doporučuji na raspberrypi rrdtool, jsou hezčí grafy a méně náročný na výkon CPU
No klidně bych do toho šel.
Jsem však v linuxu uplný laik.
Pokud najdu na netu nějaký návod, jak na to na RasPi, tak se do toho klidně pustím.
Na rrdtool raspberry toho google moc nenajde.
Jsem rad že jsi mi pomohl a já rozchodil alespoň toto :)
PS: Kde najdu zadanou cestu, kam se ukládají ty data s toho pingu?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.