smokeping/mrtg on openBSD 4.1 n00b question.
good morning everyone.
i did a clean openBSD install last week, i use openBSD as natbox and firewall. i want to add some local stats for mesuring trafic on the box. so i installed RRDtool,MRTG and smokeping. i have this in my mrtg.cfg for the rig's that have to checked. Target[192.168.0.231]: 2:public@192.168.0.231 MaxBytes[192.168.0.231]: 1250000 Title[192.168.0.231]: : Megazeul PageTop[192.168.0.231]: <H1>Traffic Analysis for Megazeul </H1> <TABLE> <TR><TD>System:</TD><TD>local-gw in </TD></TR> <TR><TD>Maintainer:</TD><TD></TD></TR> <TR><TD>Interface:</TD><TD>Megazeul (3)</TD></TR> <TR><TD>IP:</TD><TD>local-gw (192.168.0.231)</TD></TR> <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR> </TABLE> #---------------------------------------------------------------------- Target[192.168.0.240]: 1:public@192.168.0.240 RouterUptime[192.168.0.240]: public@192.168.0.240 MaxBytes[192.168.0.240]: 1250000 Title[192.168.0.240]: : BSDrouter PageTop[192.168.0.240]: <H1>Traffic Analysis for BSDrouter </H1> <TABLE> <TR><TD>System:</TD><TD>local-gw in </TD></TR> <TR><TD>Maintainer:</TD><TD></TD></TR> <TR><TD>Interface:</TD><TD>BSDrouter</TD></TR> <TR><TD>IP:</TD><TD>local-gw (192.168.0.240)</TD></TR> <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR> </TABLE> #---------------------------------------------------------------------- the cfgmaker found no error. all other settings are correct. but when i start mrtg i got below fautlts on the screen. # mrtg SNMP Error: no response received SNMPv1_Session (remote host: "192.168.0.231" [192.168.0.231].161) community: "public" request ID: 1494958448 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/local/libdata/perl5/site_perl/SNMP_util.pm line 490 SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on public@192.168.0.231::::::v4only at /usr/local/bin/mrtg line 1921 WARNING: skipping because at least the query for ifInOctets.2 on 192.168.0.231 did not succeed WARNING: no data for ifInOctets&ifOutOctets:public@192.168.0.231. Skipping further queries for Host 192.168.0.231 in this round. SNMP Error: no response received SNMPv1_Session (remote host: "192.168.0.240" [192.168.0.240].161) community: "public" request ID: 1249845634 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/local/libdata/perl5/site_perl/SNMP_util.pm line 490 SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on public@192.168.0.240::::::v4only at /usr/local/bin/mrtg line 1921 WARNING: skipping because at least the query for ifInOctets.1 on 192.168.0.240 did not succeed WARNING: no data for ifInOctets&ifOutOctets:public@192.168.0.240. Skipping further queries for Host 192.168.0.240 in this round. ERROR: Target[192.168.0.231][_IN_] ' $target->[0]{$mode} ' did not eval into defined data ERROR: Target[192.168.0.231][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data ERROR: Target[192.168.0.240][_IN_] ' $target->[1]{$mode} ' did not eval into defined data ERROR: Target[192.168.0.240][_OUT_] ' $target->[1]{$mode} ' did not eval into defined data SNMP Error: no response received SNMPv1_Session (remote host: "192.168.0.240" [192.168.0.240].161) community: "public" request ID: 1961152280 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/local/libdata/perl5/site_perl/SNMP_util.pm line 490 SNMPGET Problem for sysUptime sysName on public@192.168.0.240 at /usr/local/bin/mrtg line 542 # log files are created. png is also created. what do i wrong, or what is wrong. i know that mrtg is ported to openBSD, and my knowleg for openbsd is average. even with PF disabled i got those messages. with smokeping, i got the next message. # smokeping Dropping privileges to _smokeping ... ERROR: FPing must be installed setuid root or it will not work at (eval 13) line 1 as user, it wound start at al. can someone please help me out :( if this wont work, i know that installing cacti is no use to.. Regards. Tony. |
All times are GMT -5. The time now is 11:45 PM. |