LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 09-22-2007, 04:15 AM   #1
spatieman
Member
 
Registered: Jan 2004
Location: netherlands, europe, in a crapy house. xD
Distribution: openBSD
Posts: 65

Rep: Reputation: 21
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]: 2ublic@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]: 1ublic@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&ifOutOctetsublic@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&ifOutOctetsublic@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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenBSD] mrtg woes noir911 *BSD 0 05-24-2006 03:51 AM
openBSD vs MRTG snmp spatieman *BSD 0 01-19-2006 01:04 PM
smokeping / cgi error djn3xt Linux - Networking 0 12-09-2005 07:13 AM
mrtg question nuxil Linux - Software 0 12-24-2004 10:36 PM
Woohoo! Got OpenBSD installed, and am a clueless n00b MasterC *BSD 12 09-24-2003 12:46 PM


All times are GMT -5. The time now is 12:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration